struts开发时 Unable to compile class for JSP

kingofworl 2005-06-23 07:06:49
用struts开发时出现下面错误
但是能进工程目录,说明配置没问题,随便打开一个肯定队的jsp就会出现这个错误,别的工程没问题,请问大家可能是什么原因


type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
[javac] javac: invalid flag: 5.0\common\endorsed
[javac] Usage: javac <options> <source files>
[javac] where possible options include:
[javac] -g Generate all debugging info
[javac] -g:none Generate no debugging info
[javac] -g:{lines,vars,source} Generate only some debugging info
[javac] -nowarn Generate no warnings
[javac] -verbose Output messages about what the compiler is doing
[javac] -deprecation Output source locations where deprecated APIs are used
[javac] -classpath <path> Specify where to find user class files
[javac] -sourcepath <path> Specify where to find input source files
[javac] -bootclasspath <path> Override location of bootstrap class files
[javac] -extdirs <dirs> Override location of installed extensions
[javac] -d <directory> Specify where to place generated class files
[javac] -encoding <encoding> Specify character encoding used by source files
[javac] -source <release> Provide source compatibility with specified release
[javac] -target <release> Generate class files for specific VM version
[javac] -help Print a synopsis of standard options





...全文
96 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
humanity 2005-06-24
  • 打赏
  • 举报
回复
路径中空格嘛. 给整个路径加上引号
xwmhmily 2005-06-24
  • 打赏
  • 举报
回复
把JDK 下面的tool.jar烤到Tomcat/command/lib下就好拉
kingofworl 2005-06-24
  • 打赏
  • 举报
回复
jb10,我已经避开这个问题了,谢谢
xuelei81 2005-06-23
  • 打赏
  • 举报
回复
你用的什么IDE?这是在什么情况下出的错误,请说清楚

50,528

社区成员

发帖
与我相关
我的任务
社区描述
Java相关技术讨论
javaspring bootspring cloud 技术论坛(原bbs)
社区管理员
  • Java相关社区
  • 小虚竹
  • 谙忆
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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