This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

classpath errors - need urgent help!

 
Hemal Shah
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am tring to compile EJB's and *seem* to have a classpath problem.
Here is my classpath:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C;\Java\jdk1.3.1_01\bin;C:\Individualproject\JBoss_Tomcat\JBoss-2.2.2_Tomcat-3.2.2\jboss\lib\ext\ejb.jar;C:\Individual project\JBoss_Tomcat\JBoss-2.2.2_Tomcat-3.2.2\jboss\lib\ext\ejb2.0.jar;C:\Individualproject\Jakarta\jakarta-ant-1.3\bin;C:\Individualproject\JBoss_Tomcat\JBoss-2.2.2_Tomcat-3.2.2\t omcat\bin;C:\Individualproject\Jakarta\jakarta-ant-1.3\lib\ant.jar;C;\Java\jdk1.3.1_01\lib\tools.jar
When I attemt to compile I get an error saying that javax.ejb cannot be found.
I have located this package to be in "...\jboss\lib\ext\ejb2.0.jar" as stated in the classpath above but still get errors!
Any ideas?
 
Ram Dhan Yadav K
Ranch Hand
Posts: 321
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try to copy the jar file in to another directory and try to put it classpath. Yoy amy even try to change the name of the jar file if you feel. This is just a round about solution. Your class seems to be fine and should not be any problem.
Ramdhan YK
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic