i am a newbie in ejb. use blazix server in winxp. i got problem in compiling files. error: javax.ejb doesnot exist my classpath: C:\Blazix\blazix.jar;C:\Sun\Appserver\jdk\bin; path C:\Blazix i installed the blazix in C: and installed j2ee platform in C:
the blazix.jar should have the same functionality with j2ee.jar and also i installed the j2eeplatform i included the classpath C:\Sun\Appserver\lib\j2ee.jar but it doesnt work at all any idea about that enigma thanks first
j2ee.jar (or whatever jar you are using which includes it) must not be in your classpath, otherwise the package javax.ejb would have been found by the compiler. Double check your classpath (watch out for spaces in there - somethimes these cause problems). Check your are using the classpath you expect when you try to compile your ejbs.
Joined: Feb 21, 2005
I swear to the GOD my installation of j2ee platform is from sun j2eesdk1_4 blazix is my application server i have attached my clips of system
In order to check the class path normally i'll use a javap command and check it out. Likewise Try & check the ClassPath check , whether you have classpath set to appropriate directories that you have in your PC. Check whether the seperator ";" or ":" is placed in correct place. [ February 21, 2005: Message edited by: Srinivasa Raghavan ]
thank u everybody. i think i found the solution but it is quite complicated
i installed j2ee1.4 version for winxp now i copy the Sun\Appserver\lib\*.* to the Sun\Appserver\jdk\jre\lib\ext\ and my classpath c:\blazix\blazix.jar; C:\Sun\Appserver\lib\jdk\jre\lib\ext\j2ee.jar now it works these kind of stuffs always occupy us most of the time during the programming document always has some gap with the real practise. i wish my experience can benefit the followers thank u very buddies
"newbie ejb", We're pleased to have you here with us in the EJB forum, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.
In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.