Connecting Tomcat server to Eclipse

后端 未结 12 1781
忘掉有多难
忘掉有多难 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:51

    If you have unzipped downloaded Tomcat archive into Eclipse Servers folder, User Entries in classpath have relative path (e.g. /Servers/....) of bootstrap.jar and tomcat-juli.jar which path I guess is not accessible as a relative path.

    Once I removed Tomcat installation directory (with files) outside Eclipse's Servers folder, delete the old configuration and re-add Tomcat, everything worked as expected.

    I hope this helps narrow down the cause.

提交回复
热议问题