File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Error deploying a project on Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Error deploying a project on Tomcat" Watch "Error deploying a project on Tomcat" New topic
Author

Error deploying a project on Tomcat

Sven Leo
Greenhorn

Joined: Feb 25, 2013
Posts: 1
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

Joined: Jun 25, 2001
Posts: 15641
    
  15

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error deploying a project on Tomcat
 
Similar Threads
Tomcat server - Unable to create directory [C:\Program Files (x86)\tomcat\conf\Catalina\localhost]
Spring Tomcat Instrument loader
While depolying a WAR file using tomcat 404 error apperas
SEVERE errors when starting tomcat on a mac
Tomcat Lifecycle exception