1.1 we need the Eclipse for Java EE version (this version integrated a nice HTML editor and the Tomcat plugin)
1.2 Install the [FileSync] plugin (update site: http://andrei.gmxhome.de/eclipse/)
2. Tomcat plugin configuration
2.1 first add the [Servers] view panel in your Eclipse, then add Tomcat in the server list.
2.2 double click tomcat from the server list to open the configuration, setting as following screen shot.
2.3 Click the [Open launch configuration] in the General Information panel. Add following arguments:
-XX:MaxPermSize=256m -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled -Xms1024m -Xmx2048m -Djavax.xml.soap.MessageFactory=com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl
3. Project Configuration
3.1 Add web facet to project, select [Dynamic Web Module] in project facet list and click [Further configuration available] to edit the content directory as following.
note:if fail ,You need temporarily remove the folder [abc-online/src/main/webapp/WEB-INF/classes], then it will be pass.
3.2 Edit Deployment Assembly as following:
3.3 set Files synchronization
4. Finally Add ABC project to tomcat then launch Tomcat in Debug mode. It’s ready to use.
本文详细介绍了如何使用Eclipse进行Java EE开发,并配置Tomcat服务器,包括安装同步插件、服务器配置、项目配置及启动Tomcat调试模式。
934

被折叠的 条评论
为什么被折叠?



