turbine-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bartek Walter <Bartek.Wal...@man.poznan.pl>
Subject Re: Fw: Turbine - newapp
Date Tue, 16 Oct 2001 08:34:23 GMT
BB> Hi,

BB>  I'm trying to load servlet 'newapp' on TDK
BB>  http://127.0.0.1:8080/newapp/servlet/newapp
 
BB>  and it's response is

BB> ######## www browser : 

BB>  A Servlet Exception Has Occurred
 
BB>  Exception Report:
BB>  javax.servlet.ServletException: Class org.apache.turbine.Turbine is not a  Servlet
BB>   at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
BB>   at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:602)
BB>          ......
 
BB> ######## localhost_log.2001-10-11.txt :
BB> .....
BB> 2001-10-11 19:04:37 StandardWrapper[/newapp:invoker]: Loading container servlet invoker
BB> 2001-10-11 19:04:37 invoker: init
BB> 2001-10-11 19:04:37 StandardWrapper[/newapp:jsp]: Using Jasper classloader for servlet
jsp
BB> 2001-10-11 19:04:37 StandardWrapper[/newapp:jsp]: Marking servlet jsp as unavailable
BB> 2001-10-11 19:04:37 StandardContext[/newapp]: Servlet /newapp threw load() exception
BB> javax.servlet.ServletException: Error instantiating servlet class org.apache.jasper.servlet.JspServlet
BB>  at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:817)
BB>  at org.apache.catalina.core.StandardContext.start(StandardContext.java:3251)
BB> ......
BB> ----- Root Cause -----
BB> java.lang.VerifyError: (class: org/apache/jasper/servlet/JspServlet, method: init signature:
(Ljavax/servlet/ServletConfig;)V) Incompatible argument to function
BB>  at java.lang.Class.newInstance0(Native Method)
BB>  at java.lang.Class.newInstance(Class.java:237)
BB>  at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:810)
BB>  at org.apache.catalina.core.StandardContext.start(StandardContext.java:3251)
BB> .....
BB> ########


BB>  What can I do?
BB>  (Were can I look to solve this problem?)
 
Most probably you have two servlet.jars in your CLASSPATH (eg.
$CATALINA_HOME/common/lib and your app's lib). Just remove the latter one.

Regards,
Bartek



---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Mime
View raw message