问题
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