java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet when embedding tomcat 7.0.11

2011-04-07 Thread Christian Hödl
Hi, I'm trying to start Tomcat 7.0.11 from within an automated test. Unfortunately, when I call tomcat.start(), the following exception happens: Servlet /abc/ threw load() exception java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet at

Re: java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet when embedding tomcat 7.0.11

2011-04-07 Thread Francis GALIEGUE
On Thu, Apr 7, 2011 at 10:44, Christian Hödl c.ho...@gmx.net wrote: Hi,  I'm trying to start Tomcat 7.0.11 from within an automated test.  Unfortunately, when I call tomcat.start(), the following  exception happens: Servlet /abc/ threw load() exception java.lang.ClassNotFoundException:

Re: java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet when embedding tomcat 7.0.11

2011-04-07 Thread chrish123
Hi, thanks for your answer. I added tomcat-jsp-api and tomcat-servlet-api to the classpath, it now looks like the following: classpath = D:\dev\workspace\gradle_test\test\build\classes\test;D:\dev\workspace\gradle_test\test\build\classes\main;D:

Re: java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet when embedding tomcat 7.0.11

2011-04-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christian, On 4/7/2011 5:24 AM, chrish123 wrote: I added tomcat-jsp-api and tomcat-servlet-api to the classpath, it now looks like the following: Please make this mess easier to read in future posts. This is your CLASSPATH if