
Originally Posted by
Stefan Schmidt
Hi,
STS does include a new project wizard for Roo projects: File > New > Roo project. It seems you have not done this but instead added the Roo project nature to an existing project. While this will give you access to the Roo shell in your project it does not imply that your project magically becomes a web project

.
So my first question is, does your own project follow the directory and configuration file naming conventions that Roo expects? Second, if you open the project pom.xml file and see if the project packaging is set to war:
Code:
<packaging>war</packaging>
If so, you can run mvn eclipse:eclipse from your project directory to generate/update the necessary Eclipse workspace config files that mark this project as a Web project. Once that is done, refresh your project in STS and you will find that you can now drag it to any Web container (tcServer, tomcat, dmServer, etc).
HTH,
Stefan
Stefan,
I am having the same issue described here, but my project does contain the packaging tags in the pom.xml file (below).
Code:
<packaging>war</packaging>
However, I am still unable to deploy it using the server which is part of STS.
I think I am missing a step when creating the project as a "web" project rather than simply a roo spring project. Can you point me in the right direction on how to properly setup a web project using roo?