>>>>> "Richard" == Richard S Huntrods <[EMAIL PROTECTED]> writes:

    Richard> I have a silly little error trying to compile a java program that
    Richard> implements EJBs and is to run on Tomcat / JBoss.

    Richard> The compiler will not compile the source code - complaining that:

    Richard> import javax.ejb.EJBObject;

    Richard> does not exist.  I've found it in the J2EE javadocs (on Suns web site),
    Richard> and have (I thought) set up my compile class path correctly (it uses the
    Richard> classes in java1.3.1/lib, java1.3.1/ext and JBoss/lib/ext.

    Richard> Has this happened to anyone, and what was the fix?  OR... what java
    Richard> archive contains these classes from "javax.ejb"?  Note - other classes
    Richard> compile just fine, and they also call "javax.ejb" classes - so most are
    Richard> being found - just not EJBObject.

This class appears to be in "$JBOSS_HOME/lib/ext/jboss-j2ee.jar".  You might as
well put all jars in "$JBOSS_HOME/lib/ext" into your classpath.

-- 
===================================================================
David M. Karr          ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED]


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to