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?
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
Ram Dhan Yadav (SCJP, SCWCD, SCJA-I, IBM EC(483))
"We are what we repeatedly do. Excellence, then, is not an act, but a habit."