jsp放在root下,javabean放在root/classes中
解决方案 »
- servlet中的if判断无法完成
- 网页伪静态 urlrewriter
- 关于Ibator的使用问题,出现java.lang.RuntimeException:错误
- java分离jsp文件中的静态和动态部分
- jsp页面连接问题
- 寻找用jsp结合commons-fileupload上传图片的例子程序,搞定马上结贴.
- 扩展名为.do的是jsp写的吗?
- resin配置ssl认证 求达人解决
- 为什么我用jbuilder6.0写的程序,在运行时中文汉字显示不出来?
- 请高手指点,在JSP中怎么应用XML?
- 如何在JSP里调用BEAN的方法
- 为什么在resin中是NoClassDefFoundError,而在tomcat中正常
javabean路径webapp\WEB-INFO\classes\
---------web-inf+
||classes\ //your bean
lib //your jar
---------*.jsp
This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK
to the common/lib directory of the Tomcat server, followed by a Tomcat restart.
If using an alternate Java compiler, please check its installation and access path. org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:127)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:415)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:552)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
note The full stack trace of the root cause is available in the Tomcat logs.
--------------------------------------------------------------------------------Apache Tomcat/5.0.16
就这个错,我在resin下运行还可以的
怎么在tomcat就不行?郁闷
还望各位帮我看一下