eclipse教程 eclipse集成Resin服务器方法

时间:2015-05-061285举报小编:admin

    eclipse集成Resin服务器怎么操作?下面未来小编就带大家一起来看看eclipse集成Resin服务器的方法 图文教程。

    eclipse集成Resin服务器图文教程
    1、在Eclipse中New - Server,选择“Download additional server adapters”, 之后选择“Resin (Java EE Web Profile) Server”.



    2、如同运行Tomcat服务器一样,在New - Server时,选择 Resin,一路Next下去即可。


    3、需要注意一点的是,Resin运行的环境是JDK,而不是JRE,所以需要在运行环境时,选择JDK。不然的话,可能会出现如下所示的错误:

    com.caucho.jsp.JspParseException: javac compiler is not available in Java(TM) SE Runtime Environment 1.7.0_45-b18. Check that you are using the JDK, not the JRE.

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