Eclipse配置Resin
1、配置Resin的conf 拷贝一份resin安装目录conf目录下的resin.conf,命名为test.conf 编辑其中的内容,默认也可,在其后面的上面添加一行: 这是最简配置,详细参数自己可以定制。 2、配置Eclipse的运行 然后配置其中的相关属性,run configure: (1)Main 项目:我们选择刚刚新建的projectName项目。 Main类:填写com.caucho.server.resin.Resin (2)自变量 程序自变量:-conf "d:\resin-3.0.22\conf\test.conf" VM自变量: -Dresin.home="d:\resin-3.0.22" -Djava.util.logging.manager=com.caucho.log.LogManagerImpl (4)类路径:添加Resin home的lib下的jar。 添加jdk下的tools.jar。