MyEclipse下配置resin
作者:admin 日期:2008-04-15
MyEclipse版本6.0,Tomcat5.5,Resin2.1.8
1.Tomcat5.5配置
Window->Preferences->Myeclipse->Application Servers->Tomcat->Tomcat 5.x
Tomcat server选择enbale
Tomcat home directory选择Tomcat5.5安装目录
其他都保留默认值即可
2.Resin2.1.8配置
Window->Preferences->Myeclipse->Application Servers->Resin->Resin 2.x
Resin server选择enbale
Resin home directory选择Resin2.1.8安装目录
Paths中Prepend to classpath-->Add JAR/ZIP,选择Resin2.1.8安装目录下的lib目录中所有jar包
JDK中Resin JDK name-->Add,选择系统中安装的JDK1.5所在目录,如果保持默认值,可能会产生错误:
Resin can't load sun.tools.javac.Main. Usually this means that the JDK
tools.jar is missing from the classpath, possibly because of using a JRE
instead of the JDK. You can either add tools.jar to the classpath or change
the compiler to an external one with <java compiler='javac'/> or jikes.
其他都保留默认值即可
如果没有选择lib中的jar包,有可能发生:java.lang.NoClassDefFoundError: javax/transaction/UserTransaction的错误
在启动Resin时,会报告找不到libeay32.dll的错误,libeay32.dll是openssl用到的一个dll,没有此dll不影响Resin的使用
1.Tomcat5.5配置
Window->Preferences->Myeclipse->Application Servers->Tomcat->Tomcat 5.x
Tomcat server选择enbale
Tomcat home directory选择Tomcat5.5安装目录
其他都保留默认值即可
2.Resin2.1.8配置
Window->Preferences->Myeclipse->Application Servers->Resin->Resin 2.x
Resin server选择enbale
Resin home directory选择Resin2.1.8安装目录
Paths中Prepend to classpath-->Add JAR/ZIP,选择Resin2.1.8安装目录下的lib目录中所有jar包
JDK中Resin JDK name-->Add,选择系统中安装的JDK1.5所在目录,如果保持默认值,可能会产生错误:
Resin can't load sun.tools.javac.Main. Usually this means that the JDK
tools.jar is missing from the classpath, possibly because of using a JRE
instead of the JDK. You can either add tools.jar to the classpath or change
the compiler to an external one with <java compiler='javac'/> or jikes.
其他都保留默认值即可
如果没有选择lib中的jar包,有可能发生:java.lang.NoClassDefFoundError: javax/transaction/UserTransaction的错误
在启动Resin时,会报告找不到libeay32.dll的错误,libeay32.dll是openssl用到的一个dll,没有此dll不影响Resin的使用
评论: 0 | 引用: 0 | 查看次数: 2523
发表评论
你没有权限发表留言!
订阅
上一篇
下一篇
文章来自:
Tags: 




