[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Package javax.ejb does not exist !



On Sun, 2003-06-01 at 19:19, Michael S Daines wrote:
> When I try to compile an EJB, I get this message:
> 
> xxx.java:3: package javax.egb does not exist
> import javax.ejb.*;
> ^
> 1 error
> 
> How do I solve this problem?  I tried copying all the j2ee files into the jdk
> directory, but this didn't change anything.

First, check typo "javax.egb" != "javax.ejb".
Then append "$J2EE_HOME/lib/j2ee.jar" to your classpath,
or copy to "$JAVA_HOME/jre/lib/ext"

-- 
Ivo Danihelka



Reply to: