-
1. Re: 3.0.0RC1 JSP and Manifest classpath error
achugh Apr 30, 2002 11:53 AM (in response to will.houck)Environment: jboss-3.0.0RC1_tomcat-4.0.3, Win2000 Server, MS SQL-Server 7
I got the same problem...I deployed an ear-file which includes ejb-jar's, a war, and lib/utils.jar. Both ejb-jar's and the war have utils.jar as an entry in their manifest-classpath's.
After restarting the server, I find all ejb-jars get deployed and initialised without errors, the war gets deployed, and all servlets get initialised. As soon as I forward to a jsp, I get an error similar to this:
15:32:36,423 ERROR [Engine] StandardWrapperValve[jsp]: Servlet.service() for ser
vlet jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP
C:\jboss\catalina\work\localhost\_\home$jsp.java:3: Class foo.Bar not found in i
mport.
import foo.Bar;
^
1 error
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessar
y(JspServlet.java:177)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspSer
vlet.java:189)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
82)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
What should I do to make lib/utils.jar available to jsp-compiler?
Regards,
Avinash Chugh -
2. Re: 3.0.0RC1 JSP and Manifest classpath error
achugh Apr 30, 2002 2:12 PM (in response to will.houck)Thanks for listening to me :-), I fixed my problem...
I added lib/utils.jar to my application.xml...
Regards,