| Author |
Message |
|
|
|
Post subject: How to re-generate .class file from servlet-Tomcat-Eclipse
Posted: May 08, 2008 - 11:13 PM
|
|
Joined: May 08, 2008
Posts: 1
|
|
Changed servlet program, however, I cannot make auto-reload work. So, I deleted .class and hope restart Tomcat (6.0.16) will regenerate .class file. But I am wrong. Now I cannot even start up Tomcat with following errors.
How can I recompile MyServlet to have .class file under eclipse? What is the best way to have similar auto-reload feature, if auto-reload does not work?
=======
SEVERE: Error loading WebappClassLoader
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@119cca4
eric.MyServlet
java.lang.ClassNotFoundException: eric.MyServlet
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360) |
|
|
| |
|
|
|
 |
|
|
| |