Hey Guys,

I would heaviliy appreciate your help to find that error that makes me
really ill ;-).
I am trying to get a Servlet work with Jboss3.0.0.RC1 + tomcat4.0.3 . But it
doesen't work for me at all,
and I do not know what I should do with that error I have for the last 6
hours. Google didn't help and even
your documentation I bought online didn't solve my problem. :-((

What am I doing:
I modified just a little the Interest example. I can deploy the ear-file and
the engine tells me that this is fine.
The servlet is only a simple Hello World one, but if I try to enter it at
http://localhost:8080/interest123/foo . I get the following error:

javax.servlet.ServletException: Error allocating a servlet instance
        at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:657)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)

        [ ... ]
root cause:

java.lang.NoClassDefFoundError: HelloWorld (wrong name: WEB/HelloWorld)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
        at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLo
ader.java:1631)
 [ ...]


I guess I made a directory mistake? Where is that damn mistake??
I attached the ear file for better understanding...
Thanks a lot in advance and of I course I did the right cross at the right
place :-))

cheers,
Christian





Attachment: InterestEAR.ear
Description: Binary data

Reply via email to