• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

classpath errors - need urgent help!

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 321
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic