当前位置: 技术问答>java相关
Tomcat4.0下运行不了javaBean,怎么回事????
来源: 互联网 发布时间:2015-03-28
本文导语: 我按照tomcat3.0中的方法在Tomcat下建了一个howjsp的目录,并且在下面建了web-inf/classes目录,将javabean放在该目录下,可是总是运不了,错误信息如下: type Exception report message Internal Server Error description The server...
我按照tomcat3.0中的方法在Tomcat下建了一个howjsp的目录,并且在下面建了web-inf/classes目录,将javabean放在该目录下,可是总是运不了,错误信息如下:
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 JSP
An error occurred at line: 13 in the jsp file: /index.jsp
Generated servlet error:
E:kxhtomcatworklocalhosthowjspindex$jsp.java:65: Class org.apache.jsp.test not found.
test str = null;
^
An error occurred at line: 13 in the jsp file: /index.jsp
Generated servlet error:
E:kxhtomcatworklocalhosthowjspindex$jsp.java:68: Class org.apache.jsp.test not found.
str= (test)
^
An error occurred at line: 13 in the jsp file: /index.jsp
Generated servlet error:
E:kxhtomcatworklocalhosthowjspindex$jsp.java:73: Class org.apache.jsp.test not found.
......
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 JSP
An error occurred at line: 13 in the jsp file: /index.jsp
Generated servlet error:
E:kxhtomcatworklocalhosthowjspindex$jsp.java:65: Class org.apache.jsp.test not found.
test str = null;
^
An error occurred at line: 13 in the jsp file: /index.jsp
Generated servlet error:
E:kxhtomcatworklocalhosthowjspindex$jsp.java:68: Class org.apache.jsp.test not found.
str= (test)
^
An error occurred at line: 13 in the jsp file: /index.jsp
Generated servlet error:
E:kxhtomcatworklocalhosthowjspindex$jsp.java:73: Class org.apache.jsp.test not found.
......
|
你的BEAN目录放在webpage/root/web-inf/classes目录下!不是在你自己新建的目录下!
|
你的目录是在什么地方?
tomcat下吗?
应该在tomcatwebappshowjsp....
tomcat下吗?
应该在tomcatwebappshowjsp....
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。