Running tomcat with eclipse kepler

前端 未结 6 1713
北荒
北荒 2020-12-24 05:59

I am having trouble running tomcat 7 in eclipse kepler (newest version). I create a new project and when I select a new runtime I do not get the options for tomcat like I u

6条回答
  •  独厮守ぢ
    2020-12-24 06:51

    Elaborating on Marvin Emil Brach's answer, for those who try to set up Eclipse for TomEE 1.6 (which is based on Tomcat 7):

    There's the guide at http://openejb.apache.org/tomee-and-eclipse.html. But if you want to use an existing Eclipse Standard IDE (Kepler SR2) installation - i.e. not the "Eclipse IDE for Java EE Developers" - you'll run into this exception:

    java.lang.NullPointerException: No IModelProvider exists for project P/[...] of version: Dynamic Web Module 3.0

    Just installing the JST Server Adapters as recommended before didn't do it for me, but I found this hint: http://juhap.iki.fi/misc/nullpointerexception-while-creating-new-portlet-project-in-liferay-ide/. Another plugin I needed to get the server editor is WST Server Adapters. So the complete set of plugins I had to install for fixing this is:

    • Eclipse Java EE Developer Tools
    • JST Server Adapters
    • JST Server Adapters Extensions
    • JST Server UI
    • Eclipse Java Web Developer Tools
    • Eclipse Web Developer Tools
    • WST Server Adapters

提交回复
热议问题