| Author |
Package javax.ejb does not exist
|
Srinivas Kadiyala
Greenhorn
Joined: Jun 07, 2004
Posts: 13
|
posted

0
|
I am getting the above error when I am compiling EJB files ( *.java). Can any one explain me ? I am using Blazix EJB server Thanks in advance
|
 |
Mag Hoehme
Ranch Hand
Joined: Apr 07, 2002
Posts: 194
|
|
Looks like a classpath problem. Did you check your classpath? Hope this helps.
|
Mag
|
 |
Kyle Brown
author
Ranch Hand
Joined: Aug 10, 2001
Posts: 3879
|
|
In particular, make sure the file j2ee.jar is on your classpath. Kyle
|
Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
|
 |
Srinivas Kadiyala
Greenhorn
Joined: Jun 07, 2004
Posts: 13
|
posted

0
|
I have place the j2ee.jar in the lib drectory and gave the class pathe. Also gave pathe to Blazix.jar a jar file by the Blazix server which is supposed to have the same jar file. Still I am facing problem. Give me any further suggestions Tq
|
 |
Mag Hoehme
Ranch Hand
Joined: Apr 07, 2002
Posts: 194
|
|
Do you have the full name of the jar file in your classpath? For example: does not work! You can't include a directory. You have to enter: Also check your separators (; on Windows, : on Unixes). Secondly: Do you use an IDE? An Ant script? Or do you call javac from the command line? Hope this helps. [ June 09, 2004: Message edited by: Mag Hoehme ]
|
 |
Srinivas Kadiyala
Greenhorn
Joined: Jun 07, 2004
Posts: 13
|
posted

0
|
Thanks to all. Just a classpath setting problem. Typo error(Spelling mistake) It wasted my time like anything Anyway thanks to all of u
|
 |
 |
|
|
subject: Package javax.ejb does not exist
|
|
|