Reputation: 6504
I've recently installed STS 2.5.1RELEASE and wanted to import an SVN project in order to continue the development proccess... But I can't manage to get it running on my Tomcat v6 server! This is what I've done:
So, when I choose "Run on Server..." and add the project resource to the server, it starts Tomcat perfectly, but my app is never loaded!!
The rare thing is that, in my previous version of STS, I had "Java 5" as a Project Facet instead of Java 1.x... Maybe this is a problem... Any idea??? How can I add the "Java 5" facet?? Thanks!
Upvotes: 4
Views: 4827
Reputation: 362
I had the same problem and the issue was in the project properties.
Make sure you are not able to see the Server properties. To make them accesible, so you can use "run as", you have to access from the Project properties (right click over the project), the Project Facets and select the Dynamic Web Module.
In my case, after adding it everything worked fine. It added to my build path (project properties/java build path/libraries) the web app libraries
Upvotes: 0
Reputation: 1374
Check project Properties
-> Targeted runtimes
. Maybe an incorrect value is selected.
Upvotes: 4