Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error deploying a project on Tomcat

 
Sven Leo
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I developed a web application on my computer using Eclipse and Tomcat. The app runs fine and I wanna now deploy it on a different machine.
So I installed tomcat and it's running fine with the basic configuration.

In eclipse I said export the dynamic web project as WAR file and I put it into tomcat webapps directory.
But as soon as I start the server now it gives me the following error:



Any ideas on that?
I use tomcat 7.0.37 and Java 7

edit: it looks like it directs to an error in the web.xml.. but I can't seem to find any:

 
Tim Holloway
Saloon Keeper
Pie
Posts: 17622
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the JavaRanch, Leo! You have in fact made 2 separate definitions for the addTreeServlet. They're both wrong, also. The servlet definition needs to be supplied with the fully-qualified classname of the servlet, not its simple name. So, in other words:


For example.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic