users@glassfish.java.net

Help with error (URGENT, need to fix it today :( )

From: <glassfish_at_javadesktop.org>
Date: Thu, 23 Apr 2009 10:46:50 PDT

Hi everyone,

I understand the error is due to the different package names "com/sitepoint" "com/encuestas", but where do I look for this difference.. In the web.xml it is as com.encuestas.ToDoServlet and so it is in the but I'm not sure where to correct this where do I need to look .... ?

Any clues or ideas or questions on this, please help.

Thanks.
Ed.


[#|2009-04-23T13:29:31.041-0400|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=17;_ThreadName=httpWorkerThread-4848-1;_RequestID=272e0848-5eb2-4271-8e94-5b4b595bc2c9;|WebModule[/SimpleMVC]PWC1257: Error al configurar la escucha de aplicaciĆ³n de la clase com.encuestas.ToDoServlet
java.lang.NoClassDefFoundError: com/encuestas/ToDoServlet (wrong name: com/sitepoint/ToDoServlet)
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
        at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:961)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1423)
[Message sent by forum member 'afflictedd2' (afflictedd2)]

http://forums.java.net/jive/thread.jspa?messageID=343405