您的位置:首页 > 编程语言 > Java开发

Unable to find a javac compiler;Perhaps JAVA_HOME does not point to the JDK解决

2008-08-01 14:02 651 查看
tomcat_home, java_home都已经添加到了环境变量里,但启动jsp的时候却出现了以下的异常
Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
解决方案:
只要把JAVA_HOME/lib/tools.jar拷到TOMCAT_HOME/common/lib下,重启动Tomcat,OK
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐