Announcement Announcement Module
No announcement yet.
Can't run my project on a Tomcat web server (local) Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can't run my project on a Tomcat web server (local)

    I have used Spring Template Project to create a Spring MVC Project. It works fine running it on the "VMware vFabric tc Server Developer Edition v2.8"-server. But when I try to run it on a Tomcat server it doesn't work. When I try to access the site I get following:

    HTTP Status 404 - /analyse

    type Status report

    message /analyse

    description The requested resource is not available.

    Do I have to convert the project some how? It doesn't look like the other projects in the webapps-folder.
    Any idea?

    Aprreciate any help I can get!

  • #2
    My problem was my .war file. At first I just exported the project to a .war file by right clicking the project, which didn't work. But then I tried to (this is by right clicking the pom.xml) Run As --> Maven clean, then (still pom.xml) Run As --> Maven install. The .war file that was created this way worked.