 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Sailaja Guest
|
Posted: Fri Oct 10, 2003 6:02 pm Post subject: Plz help having compilation problems |
|
|
Hi
I just started to learn abt EJB.I installed the JBuilder9 Enterprise Trial Version and created my first EJB Module..Cart as int he tutorials.I got the following files
Cart.java, CartBean.java and CartHome.java and a seperate class called Item.java.(All of the above classes use Items).
When i Compile the classes it gices me the following error
"CartHome.java": Error #: 704 : cannot access directory javaxejb at line 1, column 1
"CartHome.java": Error #: 302 : cannot access class javax.ejb.EJBHome; java.io.IOException: class not found: class javax.ejb.EJBHome at line 5, column 45
"Cart.java": Error #: 302 : cannot access class javax.ejb.EJBObject; java.io.IOException: class not found: class javax.ejb.EJBObject at line 5, column 41
"CartBean.java": Error #: 300 : class SessionBean not found in class CartBean at line 8, column 34
Please help me..
|
|
| Back to top |
|
 |
Lori M Olson (TeamB) Guest
|
Posted: Fri Oct 10, 2003 9:07 pm Post subject: Re: Plz help having compilation problems |
|
|
Sailaja wrote:
| Quote: | Hi
I just started to learn abt EJB.I installed the JBuilder9 Enterprise Trial Version and created my first EJB Module..Cart as int he tutorials.I got the following files
Cart.java, CartBean.java and CartHome.java and a seperate class called Item.java.(All of the above classes use Items).
When i Compile the classes it gices me the following error
"CartHome.java": Error #: 704 : cannot access directory javaxejb at line 1, column 1
"CartHome.java": Error #: 302 : cannot access class javax.ejb.EJBHome; java.io.IOException: class not found: class javax.ejb.EJBHome at line 5, column 45
"Cart.java": Error #: 302 : cannot access class javax.ejb.EJBObject; java.io.IOException: class not found: class javax.ejb.EJBObject at line 5, column 41
"CartBean.java": Error #: 300 : class SessionBean not found in class CartBean at line 8, column 34
Please help me..
|
You need to :
1. Configure an application server that will be hosting your EJB's once
they are built. Tools | Configure Servers
2. Tell your project which application server you will be using.
Project | Project Properties, Server tab.
--
Regards,
Lori Olson (TeamB)
------------
Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.
Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html
|
|
| Back to top |
|
 |
Powered by phpBB © 2001, 2006 phpBB Group .
|