当前位置:编程学习 > JAVA >>

急问关于jsp配置问题

之前用的windows2003标准版,最近重装系统windows2003企业版
jdk1.6+resin4.0.4移植过来,resin报错:
500 Servlet Exception

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.

java.lang.ClassNotFoundException: com.sun.tools.javac.Main

使用命令行测试过javac -version, java  -version,都能正常显示
那是不是说明环境配置好了呢? --------------------编程问答-------------------- 报错不是缺少类吗  你就去补充上呗 --------------------编程问答-------------------- 你的环境变量配的有问题吧,看看系统变量里classpath的配置是什么了。 --------------------编程问答-------------------- 分号 分号 分号 是这个不? --------------------编程问答-------------------- 说不清楚,可以远程帮你看一下。
56616197 --------------------编程问答-------------------- 它报说你用了一个不是JDK的JRE,那就是不支持开发的罗。。。
下载一个新的JDK试试吧~~~~ --------------------编程问答-------------------- 配置一个classpath
补充:Java ,  Web 开发
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,