Wrox Home  
Search P2P Archive for: Go

  Return to Index  

j2ee thread: j2ee import error


Message #1 by "shakila" <a_shakila@m...> on Fri, 20 Dec 2002 18:24:29
Open up j2ee.jar and see if you see those class files in it.
-Asad

>From: "shakila" 
>Reply-To: "Java 2 Enterprise Edition" 
>To: "Java 2 Enterprise Edition" 
>Subject: [j2ee] j2ee import error 
>Date: Fri, 20 Dec 2002 18:24:29 
> 
>hai, 
>I' trying to compile example BonusServlet.java.while compiling i got the 
>following error. 
> 
>javac ClientCode\BonusServlet.java 
> 
>ClientCode\BonusServlet.java:4: Package javax.naming not found in import. 
>import javax.naming.*; 
> ^ 
>ClientCode\BonusServlet.java:5: Class javax.rmi.PortableRemoteObject not 
>found in import. 
>import javax.rmi.PortableRemoteObject; 
> ^ 
>2 errors 
> 
>I set the classpath to j2ee.jar also.What elsei have to do to support 
>jndi.please help me to solve this problem 
> 
>thanks 
>shaki 
>--- 
MSN 8 helps eliminate e-mail viruses. Get 3 months FREE*. 3 months FREE*. 

  Return to Index