How to add apache-tomcat 7 in Eclipse 4.4 (Luna)

后端 未结 6 2067
小鲜肉
小鲜肉 2020-12-23 21:03

I have just installed Eclipse 4.4 (Luna) on Ubuntu, but I couldn\'t set the Apache Tomcat 7 server in Target Runtime environment. This option is not shown there.

I a

6条回答
  •  不知归路
    2020-12-23 21:16

    Have you installed the **Eclipse IDE for Java EE Developer Luna?** Have you installed or unzip the Tomcat 7 to your local folder? If all answer is yes, you need to add it in Server Environment to your Eclipse:

    Step1:
        Click Window menu - Preferences - Server - Runtime Environments 
    Step 2:
        Click Add - expand Apache - Select Apache Tomcat 7
    Step 3:
        Browse the Tomcat Installation folder or you can just click   
        the Download and Install
    Step 4:
        Click Finished
    

    Next is add the Server to Server View

    Step 1:
        Click Window menu - View - Servers
    Step 2:
        If you see "No servers available" Click the link to create a new instance
    Step 3:
        Select "Tomcat v7.0 Server" from Server Type
    Step 4:
        Select "Apache Tomcat v7.0" from the drop down "Server runtime environment"
    

提交回复
热议问题