Two Laptop Bag*
The moose likes EJB and other Java EE Technologies and the fly likes javax.ejb.* 		question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "javax.ejb.* 		question" Watch "javax.ejb.* 		question" New topic
Author

javax.ejb.* question

Sergiy Kamenyev
Greenhorn

Joined: Oct 03, 2003
Posts: 8
Hi everybody,
I try to compile Enterprise JavaBean and have the error message:
"Enterprise1.java": Error #: 704 : cannot access directory javax\ejb at line 4, column 1
. What do I need to do to correct the error?
Thank you.


!
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Do you have the javax.ejb stuff in your classpath?
By the way, which compiler gives you that kind of an error? I don't remember seeing that one.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Sergiy Kamenyev
Greenhorn

Joined: Oct 03, 2003
Posts: 8
I am not sure about javax.ejb. How to check? I use Borland JBuilder 6 and I am not sure is it good enough because I did not try other compilers.
Thank you.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
You probably haven't downloaded the J2EE SDK, have you? You should. After unpacking, add the file called j2ee.jar to your CLASSPATH (I don't know how exactly you can do this with JBuilder 6, though).
[ October 17, 2003: Message edited by: Lasse Koskela ]
Sergiy Kamenyev
Greenhorn

Joined: Oct 03, 2003
Posts: 8
Thank you for the advice. I have now only one error:
"EE.jpx": Don't have a path for java2iiop. Check your VisiBroker configuration using the Tools | Enterprise Setup | CORBA page, and make sure VisiBroker is selected on the Project | Project Properties | Build | IDL page.
, and have no idea how to fix it . I have VisiBroker selected on the Project | Project Properties | Build | IDL page but I do not know how to configure VisiBroker on the CORBA page .
Anjili Akash
Greenhorn

Joined: Oct 18, 2003
Posts: 8
me too having sameproblem.
from where i can get j2ee.jar file?
and howto add it in jbuilder5.
s basetti
Greenhorn

Joined: Jun 16, 2002
Posts: 14
But what is the use ...guys...though you are able to compile..you got to deploy the EJBean on a server to run & seee how it acts & response...
If you download a trial version of J2ee editor attached with j2ee server...eg: visual cafe' or visual age etc.,,that comes with j2ee sdk..I guess you may be able to compile & deploy at the same time...
 
 
subject: javax.ejb.* question
 
Similar Threads
Cannot retrieve mapping for action
@SchemaValidation on XSD JAX-WS 2.1.4 for WEBSERVICE :faultstring Intepretation
logging error in a log file in jsp
Struts2: client side repeated validation error messages
validate and add 5 textfields...