Connecting Tomcat server to Eclipse

后端 未结 12 1914
忘掉有多难
忘掉有多难 2021-01-04 10:04

I am trying to use Tomcat 6.0 as a web development server within SpringSource Tool Suite 2.7.1. I create a runtime, download tomcat, create a server, etc as per these instru

12条回答
  •  余生分开走
    2021-01-04 10:54

    I had similar issue. This is what worked for me:

    1. When the path begins with slash like: "/Servers/Tomcat/bin/bootstrap.jar" it means that the local project is refered. In the picture - I had 'pivotal-tc-server-developer-3.2.8.RELEASE' as the name of the project.

    1. Open the project ('Servers' in your case or 'pivotal-tc-server-developer-3.2.8.RELEASE') so it is accessible to Eclipse.

    2. The jar should be now visible.

    Alternatively go into Run Configurations; delete jars, and add it as an external jar.

提交回复
热议问题