Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

(Hibernate Tutorial chap 1)ServletException: Wrapper cannot find servlet class  RSS feed

Chris Rudger
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

i am about to get a .war archive running on a tomcat server(Apache Tomcat/5.0.28). The jvm i use is: 1.5.0_03-b07
As described in the docu i placed the archive in the webapps folder and launched tomcat. So far everything went fine. I can open the default Tomcat page on localhost. But when i tried to open my new app (actually the hibernate tutorial example) it fails with this trace (war structure and web.xml follow beneath):
avax.servlet.ServletException: Wrapper cannot find servlet class events.EventManagerServlet or a class it depends on

The Structure of my hibernate-tutorial.war file:

META-INF/MANIFEST.MF (generated by ant)
WEB-INF/classes/events/ ... (some other class & hbm.xml files)
WEB-INF/lib/... (lots of libs)

Here is the content of web.xml:
<?xml version="1.0" encoding="UTF-8" ?>

<web-app version="2.4" xmlns="" xmlns:xsi="" xsi:schemaLocation="">

<servlet-name>Event Manager</servlet-name>

<servlet-name>Event Manager</servlet-name>

I hope anyone can help me. This begins to bug me

O.k. if any info is missing. I am happy to provide

Bye chris
[ November 14, 2006: Message edited by: Chris Rudger ]
Ben Souther
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This does sound like a servlet issue, but I'm going to move it to our ORM forum where Hibernate issues are usually discussed.
I think you'll have a better chance of running into someone who's actually completed that tutorial there than here.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!