tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francis GALIEGUE <...@one2team.com>
Subject Re: java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet when embedding tomcat 7.0.11
Date Thu, 07 Apr 2011 08:51:56 GMT
On Thu, Apr 7, 2011 at 10:44, "Christian Hödl" <C.Hoedl@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: org.apache.jasper.servlet.JspServlet
[...]
>
> classpath = D:\dev\workspace\gradle_test\test\build\classes\test;D:\dev\workspace\gradle_test\test\build\classes\main;D:
[etc etc]
>
> Does anybody know, what could be the problem here?
>

There isn't either of jsp-api or servlet-api in your classpath.

-- 
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
fge@one2team.com
40 avenue Raymond Poincaré
75116 Paris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message