关于网页显示 500 servlet exception ,想要请教各位打算关于设置classpath的问题!

xiayiguo 2013-07-20 04:22:19
“Resin can't load 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.”

在网吧想上我们学校的学生信息系统,可是 出现以上文字, 该怎么办?
网吧里面应该没有安装jdk啊?怎样设置classpath啊?想请教一下各位大神!
...全文
245 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
bangeyuan 2014-05-07
  • 打赏
  • 举报
回复
我也出现这个问题了,然后修改resin.conf-----将<javac compiler="internal" args=""/>修改为<javac compiler="javac" args=""/>,运行成功了
xiayiguo 2013-07-26
  • 打赏
  • 举报
回复
@yangwei19680827

就是这个网站 :
http://211.65.116.9:8080/xsxt/

显示就是这些内容 :

500 Servlet Exception
Resin can't load 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: sun.tools.javac.Main


--------------------------------------------------------------------------------
Resin 2.1.14 (built Thu Jul 1 18:39:55 PDT 2004)

请前辈帮一下忙!
猫大叔 2013-07-22
  • 打赏
  • 举报
回复
引用 5 楼 xiayiguo 的回复:
[quote=引用 4 楼 yangwei19680827 的回复:] 莫非你们学校有的applet?
大哥,能帮忙解决不? 我们学校具体用的什么我也不太清楚啊?[/quote] 把你网址发过来。或者把错误截图详细点
xiayiguo 2013-07-22
  • 打赏
  • 举报
回复
引用 4 楼 yangwei19680827 的回复:
莫非你们学校有的applet?
大哥,能帮忙解决不? 我们学校具体用的什么我也不太清楚啊?
摆烂办不到 2013-07-21
  • 打赏
  • 举报
回复
网吧。。。楼主这毅力 话说楼主在网吧想上我们学校的学生信息系统 登个学校的学生信息系统都需要配置环境变量?
猫大叔 2013-07-21
  • 打赏
  • 举报
回复
莫非你们学校有的applet?
xiayiguo 2013-07-21
  • 打赏
  • 举报
回复
@wuyanxue 怎么了? 没理解你的意思?能解决吗?
davidworld 2013-07-20
  • 打赏
  • 举报
回复
classpath(.;%java_home%\lib) path(%java_home%\bin) java_home(D:\JDK1.6)

62,614

社区成员

发帖
与我相关
我的任务
社区描述
Java 2 Standard Edition
社区管理员
  • Java SE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧