Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Servlet error: Error instantiating servlet

488475Apr 4 2007 — edited Apr 4 2007
I have a relatively simple project that uploads a zip file to a servlet, however, when POST to the servlet I suddenly started getting the following error:

500 Internal Server Error

Servlet error: Error instantiating servlet 'ConfirmSiteReport'. Servlet class uploader.ConfirmSiteReport not found in web-application SiteReport-Uploader-webapp

I've checked the web.xml and have not found anything wrong, and I dont recall changing anything in the project config when this error started, and the class file is in the classes directory.:
<servlet>
<servlet-name>ConfirmSiteReport</servlet-name>
<servlet-class>uploader.ConfirmSiteReport</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ConfirmSiteReport</servlet-name>
<url-pattern>/confirmsitereport</url-pattern>
</servlet-mapping>
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 2 2007
Added on Apr 4 2007
3 comments
1,111 views