eclipse 安装resin插件

下载resin http://caucho.com/products/resin/download



选择resin下载就够了,pro版实际是利用了native的一些特性来提升性能,但获得这点性能提升又不是免费的,
需要license(证书);pro和非pro,对于学习开发而言根本没有什么区别。pro版本可以获得一些javaEE的功能,如负载均衡,JMS等,性能能够提高.


resin源码下载地址:http://download.csdn.net/detail/u014520797/9697191

resin下载地址:http://download.csdn.net/detail/u014520797/9697190



放到本地,解压



1、打开eclipse,新建new server界面




同意


ok



完成之后新建resin server


jre选择jdk,不然运行时会报错,eclipse默认不是jdk环境下面将会有讲解


选择自己下载解压resin的位置



2、若eclipsejava环境是jre,运行resin就会报下面的错误

[16-11-26 09:16:57.029] {resin-port-8080-52} javac compiler is not available in Java(TM) SE Runtime Environment 1.7.0_79-b15. Check that you are using the JDK, not the JRE.
[16-11-26 09:17:01.551] {resin-port-8080-52} Compiling _jsp/_index__jsp.java
[16-11-26 09:17:01.551] {resin-port-8080-52} javac compiler is not available in Java(TM) SE Runtime Environment 1.7.0_79-b15. Check that you are using the JDK, not the JRE.
[16-11-26 09:17:21.295] {resin-port-8080-52} Compiling _jsp/_index__jsp.java
[16-11-26 09:17:21.295] {resin-port-8080-52} javac compiler is not available in Java(TM) SE Runtime Environment 1.7.0_79-b15. Check that you are using the JDK, not the JRE.
[16-11-26 09:17:24.115] {resin-port-8080-52} Compiling _jsp/_index__jsp.java
[16-11-26 09:17:24.130] {resin-port-8080-52} javac compiler is not available in Java(TM) SE Runtime Environment 1.7.0_79-b15. Check that you are using the JDK, not the JRE.




3、解决eclipse java环境为jdk






4、补充:点击“publish/Debug”,与Tomcat类似,即可成功发布项目。这里有一点与Tomcat不同的是
,Resin在运行时先把整个工程打包,再发布到Resin容器中。


5、成功界面





评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值