在eclipse中集成resin,不想tomcat那样还要下载插件,直接通过配置运行方式来整合resin。主要配置的参数是run configurations 右边的Main,
1.指定Main class 。
com.caucho.server.resin.Resin
2.Arguments
Program arguments:
-conf "E:/software/resin-3.1.10/conf/resin.conf"
VM arguments:
-Djava.util.logging.manager=com.caucho.log.LogManagerImpl
Working directory
指定你的resin 服务器的位置,笔者的resin放在 E:softwareresin-3.1.10,所以这个参数配置如下
点击Other选项 输入 resin位置(E:softwareresin-3.1.10)
3 JRE
将你工作区间的jdk环境加进来
4 Classpath
将resin的jar包,也就是lib目录下面所有的文件加到classpath中。
5 运行测试
点击eclipse的debug 按钮,选择你刚才配置的名字,笔者的是resin。
最后
以上就是生动手机最近收集整理的关于在eclipse中集成resin服务器的全部内容,更多相关在eclipse中集成resin服务器内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复