You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Olli Suihkonen <os...@yahoo.com> on 2001/08/03 08:29:45 UTC

Webmacro and Tomcat 4.0

Hi,

I tried Webmacro's HelloWorld example servlet with
Tomcat 4.0b6, and got this:

A Servlet Exception Has Occurred
java.lang.ClassCastException: HelloWorld
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:825)
.......

I compiled Webmacro and the servlet against
servletapi-4 and it had no effect. Has anyone been
able to get this work? Any ideas?

Olli

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

Re: Webmacro and Tomcat 4.0

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On Thu, 2 Aug 2001, Olli Suihkonen wrote:

> Hi,
> 
> I tried Webmacro's HelloWorld example servlet with
> Tomcat 4.0b6, and got this:
> 
> A Servlet Exception Has Occurred
> java.lang.ClassCastException: HelloWorld
> at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:825)
> .......
> 
> I compiled Webmacro and the servlet against
> servletapi-4 and it had no effect. Has anyone been
> able to get this work? Any ideas?
> 

Did you move any of the JAR files in the Tomcat distribution?  Do you have
a servlet.jar file in your JDK extensions directory
($JAVA_HOME/jre/lib/ext)?  Either of these woulc cause problems like this.

> Olli
> 

Craig