如何在eclipse中用Resin调试Web项目

来源:互联网 发布:mac为什么没有剪切 编辑:程序博客网 时间:2024/06/01 09:03

下面介绍下如何在Eclipse中使用Resin调试程序(以profile项目为例):
1、打开Eclipse的Debug Configurationis窗口,新建Java Application,Name为“profile”,Mainclass输入:com.caucho.server.resin.Resin
如下图所示:
这里写图片描述
2、切换到Arguments页面,Programarguments:-conf ${project_loc}/resin.xml,
红色字体部分修改为项目绝对路径中的resin.xml,如,“-conf -conf E:/JavaWork/profile/resin.xml”
-DJava.util.logging.manager=com.caucho.log.LogManagerImpl
这里写图片描述

3、切换到Classpath页:
User Entries下把resin4.0.35\lib下的所有Jar添加到路径中。
这里写图片描述
4、打开BigDataCMS工程下的resin.xml,将下面的root-derictory修改为对应的目录
这里写图片描述
5、点击Debug即可运行项目。
6、在浏览器输入 http://localhost:8080/interface/………………

阅读全文
0 0
原创粉丝点击