首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Eclipse开发 >

在eclipse里边启动tomcate

2012-09-29 
在eclipse里面启动tomcate#1 打开run configuration 窗口,A. main tab, 选择 project 为目标工程, mai

在eclipse里面启动tomcate
#1 打开"run configuration" 窗口,
   A. "main" tab, 选择 project 为目标工程, main class输入 org.apache.catalina.startup.Bootstrap
   B. "Arguments" tab, 在Program arrguments里面输入:-config "C:\java\tomcat6\conf\server_BO.xml" start. 在VM arguments: 里面输入:
-Dcatalina.home="C:\Java\tomcat6"
-Djava.endorsed.dirs="C:\Java\tomcat6\endorsed"
-Dcatalina.base="C:\Java\tomcat6"
-Djava.io.tmpdir="C:\Java\tomcat6\temp"
-Dchi.resources.root=D:/depot/xxxx/resources
-Dchi.content.root=D:/depot/content_xxxxxxx/app
-Duser.language=en 

   C. Classpath tab, 在"User Entries", 加入
tomcate6\lib\el-api.jar;
tomcate6\lib\tools.jar;
jdk6\lib\tools.jar 

   D. Source tab, 在 Source Lookup Path上面加入当前project (有待再次确认)

热点排行