Connecting Tomcat server to Eclipse

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

    None of the above answers provide proper concrete solution. I faced exactly same issue and i figured out a very simple solution.

    • Open Eclipse and remove all entries of Apache server

    • Delete Servers from explorer tab, delete Tomcat from server explorer window, delete server from Window > Preferences > Server > Apache tomcat, delete it, also delete servers folder inside EclipseProjects.

    • Place Apache tomcat folder outside the project folder anywhere you wish to, you can place in Eclipse_Projects folder but not inside EclipseProjects/projectxyz/.

    • Now add server in eclipse the usual way and give path of this new location.

    This should work!

提交回复
热议问题