No Tomcat with NetBeans 8.1?

泄露秘密 提交于 2019-12-01 10:31:16

问题


I just installed NetBeans 8.1 RC. I cannot find any Apache Tomcat Servlet container. In previous versions, this was included with the Java EE download bundle of NetBeans IDE.


回答1:


Now Optional

As of NetBeans 8.1 RC, the NetBeans installer teams seems to have made the unwise choice to no longer install Apache Tomcat by default. Yet they included version 8.0.26 inside the installer.

For projects using only Servlet/JSP features of Java without all the other bulk of Java Enterprise Edition, you should use Tomcat rather than GlassFish (the other container bundled with NetBeans). For example, building Vaadin apps requires only Tomcat.

To access the option to install Tomcat with NetBeans, hit the Customize button in the installer’s panel. As seen in these screen shots.

You can, of course, install later versions of Tomcat yourself manually. Search StackOverflow.com or ServerFault.com for instructions.

For more details, see similar Question, How to connect NetBeans 8 with Tomcat 8 in Mac OS X?.



来源:https://stackoverflow.com/questions/33048437/no-tomcat-with-netbeans-8-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!