Plugins (1067)


Training and Consulting (40)



EPIC Poll

What is your favourite developer portal?

[ Results | Polls ]

Votes: 539
Comments: 0

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
eshiau
9 Post subject: How to re-generate .class file from servlet-Tomcat-Eclipse  PostPosted: 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)
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits