gyts62 发表于 2017-2-20 08:47:45

在eclipse中集成resin服务器

  在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:\software\resin-3.1.10,所以这个参数配置如下
  点击Other选项 输入 resin位置(E:\software\resin-3.1.10)
  3 JRE
  将你工作区间的jdk环境加进来
  4 Classpath
  将resin的jar包,也就是lib目录下面所有的文件加到classpath中。
  5 运行测试
  点击eclipse的debug 按钮,选择你刚才配置的名字,笔者的是resin。
页: [1]
查看完整版本: 在eclipse中集成resin服务器