开发者

Run on server option does not display in eclipse helios for spring-maven project

I have imported maven project in eclipse and configured properly. Its a web application, however I can't see 'Run on Server' option on right click in 'Run As'. I have Eclips开发者_如何转开发e Helios and maven, tomcat plugin installed. should it required any plug-in for this or we need to convert project. Other web applications are getting 'Run on Server' option.


check Project properties / Project Facets / Dynamic Web module.


You might find this helpful; http://vijaypm.blogspot.com/2010/12/maven-eclipse-and-tomcat.html


I had similar issue, unable to run on a server due to project facet validation issue.

I'm using Eclipse "Juno Service Release 2". And resolved the issue with the following steps:

  1. Right click on the project (on Project Explorer)
  2. Click on Properties
  3. Click on Project Facets
  4. Uncheck the unwanted Project Facet(s). Eg., I have unchecked Oracle WebLogic Web App Extensions (because, my server is Apache Tomcat 7)
  5. Apply >> OK
  6. Now, I am able to run my web app on Tomcat server.

Hope this will work your you too.

Thanks, Maris

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜