• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

package javax.ejb does not exist with sun app server 8.0

 
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
my class path is
CLASSPATH C:\Sun\AppServer\lib\servlet-api.jar;C:\Sun\AppServer\lib\jsp-api.jar;
still i am getting error javax.ejb.* does not exist

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Probably, you are missing j2ee.jar on classpath. I had the same trouble with eclipse.
 
Shashank Sharma
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i checked it mu class path is:
.;C:\Java\jre1.6.0\lib\ext\QTJava.zip;C:\Sun\AppServer\lib\j2ee.jar;C:\Sun\AppServer\lib\appserv-rt.jar;.
what else should i add.
my bean class is compiling successfully without any errors.. but remote and remote home interface are not compiling..


C:\>cd java pro 08

C:\Java pro 08>javac mybeancomp.java
mybeancomp.java:3: package javax.rmi.RemoteException does not exist
import javax.rmi.RemoteException.*;
^
mybeancomp.java:8: cannot find symbol
symbol : class RemoteException
location: interface headfirst.mybeancomp
public String[] ShowData() throws RemoteException;
^
2 errors

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic