9 Replies Latest reply on Feb 20, 2002 6:37 PM by zerosleep

    Jetty compile problem [JBoss 3.0.0-alpha]

    pazu

      JBoss has been unable to compile some of my JSP files. It seems that javax.ejb.* isn't in JBoss classpath, nor any of my ejb jars.

      My app is deployed in a ear file containing a jar with my beans and a war with jsp pages. Shouldn't JBoss set Jetty classpath to include my beans jar and javax.ejb.* jars?

      Here is the stack trace:

      [Jetty] WARNING: Servlet Exception for /erp-test/cliente.jsp
      org.apache.jasper.JasperException: JASPER: Unable to compile class for JSP/tmp/JettyContext1826.tmp/_0002fcliente_0002ejspcliente_jsp_0.java:19: Class javax.ejb.FinderException not found in import.
      import javax.ejb.FinderException;
      ^
      /tmp/JettyContext1826.tmp/_0002fcliente_0002ejspcliente_jsp_0.java:20: Package com.tld.erp.cliente.interfaces not found in import.
      import com.tld.erp.cliente.interfaces.*;
      ^
      /tmp/JettyContext1826.tmp/_0002fcliente_0002ejspcliente_jsp_0.java:21: Package com.tld.erp.cliente.model not found in import.
      import com.tld.erp.cliente.model.*;
      ^
      3 errors

      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:249)
      at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:448)
      at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)

      (...)

      it goes on for some lines.