Cannot install Apache Tomcat in Eclipse

2019-08-07 08:59发布

I've downloaded apache-tomcat-8.0.8 archive, then I've unzipped it and tried to add it in Preferences -> Server -> Runtime Environments by clicking Search and selecting path to the uzipped archive. What I'm getting is Server Error

No new server runtime environments were found.

Any ideas why it might be happening? I have no Apache Tomcat options in New Server Runtime Environment window, which I get by clicking Add in the previous one. There are such options in every tutorial I read.

2条回答
别忘想泡老子
2楼-- · 2019-08-07 09:41

I think there currently is no adapter for Tomcat 8 in Eclipse.

Updated

Don't use the search button. Click add and choose an adapter first. Open Apache and choose Tomcat 7. Click next and point the installation directory at your Tomcat folder.

查看更多
手持菜刀,她持情操
3楼-- · 2019-08-07 09:41

It seem that you have Eclipse without Java EE components.

so you see something like

enter image description here

instead of

enter image description here

Check Apache Tomcat Not Showing in Eclipse Server Runtime Environments (need to install JST Server Adapters )

Once you have plugins installed follow dialog flow e.g. like

http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.jst.server.ui.doc.user%2Ftopics%2Ftomcat.html

查看更多
登录 后发表回答