myEclipse 中运行resin can't load com.sun.tools.javac.Main 错误的解决方法
can't load com.sun.tools.javac.Main
错误描述:
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.
错误原因及解决方案:
This is a good question. All of the application servers supported by MyEclipse require a JDK to run, not a JRE. We would suggest navigating to Window > Preferences > MyEclipse > Application Servers > Resin > JDK, and clicking the "Add" button to add a new JDK configuration used to run this application server.
Also as one of our users, Ivo, pointed out, you maybe simply need to append the tools.jar file to your classpath under the "Paths" panel for the WebLogic connector you are using
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/tangcx/archive/2008/05/04/2383481.aspx