今天部署时出现了下面的错误:
Resin can't load com.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.
在参考了:
http://www.wozaishuo.com.cn/article.asp?id=258
http://www.chedong.com/tech/resin.html
之后发现
本文记录了一次在使用Resin部署应用过程中遇到的错误:无法加载com.sun.tools.javac.Main,通常这表明JDK的tools.jar未包含在类路径中。文章提供了两种解决方案:一是将tools.jar添加到类路径中;二是更改编译器为外部编译器。
1485

被折叠的 条评论
为什么被折叠?



