Hi all,

I am trying to do an import in a jsp:
<%@ page import="com.company.blah.*" %>

And I get a "package not found in import" error on compilation of the jsp.

The jsp is part of a WAR, the class that I am trying to import is in a ejb
jar that is part of the same EAR application.

The j2ee deployer sais "add all ejb jar files to the common classpath". What
am I doing wrong here?

Does the jsp compiler not get the "common classpath"?
Error output below.

Thanks for your help.
Eugene.

[J2EE Deployer Default] Create application contact.ear
[J2EE Deployer Default] install module contact.jar
[J2EE Deployer Default] inflate and install module contact.war
[J2EE Deployer Default] add all ejb jar files to the common classpath
[J2EE Deployer Default] Starting module contact.war
2001-05-07 12:34:15 - ContextManager: Adding context Ctx( /contact )
[Container factory]
Deploying:file:/opt/jboss-tomcat-2.2/jboss-2.2/tmp/deploy/Default/contact.ea
r
[Verifier] Verifying
file:/opt/jboss-tomcat-2.2/jboss-2.2/tmp/deploy/Default/contact.ear/ejb1044.
jar
[Container factory] Deploying ContactEJB
[Container factory] Deployed application:
file:/opt/jboss-tomcat-2.2/jboss-2.2/tmp/deploy/Default/contact.ear
[J2EE Deployer Default] J2EE application:
file:/opt/jboss-tomcat-2.2/jboss-2.2/deploy/contact.ear is deployed.
2001-05-07 12:34:21 - Ctx( /contact ): JasperException: R( /contact +
/Contact.jsp + null) Unable to compile class for
JSP/opt/jboss-tomcat-2.2/jakarta-tomcat-3.2.1/work/localhost_8080%2Fcontact/
_0002fContact_0002ejspContact_jsp_0.java:14: Package com.neomeo.contact not
found in import.
import com.neomeo.contact.*;
       ^
1 error



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to