首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网络技术 > 网络基础 >

myEclipse 中运行resin can't load com.sun.tools.javac.Main 异常的解决办法

2012-11-17 
myEclipse 中运行resin cant load com.sun.tools.javac.Main 错误的解决方法cant load com.sun.tools.ja

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

热点排行