tomcat关于路径问题

baomi 2004-08-11 05:55:57
Apache Tomcat/4.0.6 - HTTP Status 500 - Internal Server Error

--------------------------------------------------------------------------------

type Exception report

message Internal Server Error

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

exception

org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.


An error occurred between lines: 13 and 15 in the jsp file: /g.jsp

Generated servlet error:
D:\Tomcat 4.0\work\Standalone\localhost\_\g$jsp.java:68: Class org.apache.jsp.string not found.
string s=getServletInfo();
^
1 error, 1 warning

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
我在默认的root下面 放了个简单的JSP页面 浏览器中输入localhost:8080/g.jsp
出现上面的提示 请高手帮我看看
...全文
136 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
COCO_AS 2004-08-24
  • 打赏
  • 举报
回复
向大侠学习
jimsons 2004-08-21
  • 打赏
  • 举报
回复
java是区分大小写的,应该为String
Gerry_Deng 2004-08-21
  • 打赏
  • 举报
回复
大小写错误呀.
scienceren 2004-08-21
  • 打赏
  • 举报
回复
希望下次不要再有人提出了,提出一次是好事情,第二此就不行了
yeshou 2004-08-21
  • 打赏
  • 举报
回复
做程序要细心拉
努力
lbhwwj 2004-08-21
  • 打赏
  • 举报
回复
你还是把java语法好好看看,最基本的String
oliveyu 2004-08-21
  • 打赏
  • 举报
回复
兄弟加油哦
sdsdsdsder 2004-08-21
  • 打赏
  • 举报
回复
java是区分大小写的,在写代码String会用特别的着色标识的
sagittarius1979 2004-08-11
  • 打赏
  • 举报
回复
难道不会看错误消息吗?
sagittarius1979 2004-08-11
  • 打赏
  • 举报
回复
晕阿
string ->String

....

67,512

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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