zoukankan      html  css  js  c++  java
  • myeclipse内置tomcat与外置tomcat,在启动项目时,产生了不同反应。未解决

    在eclipse里面。

    启动内置tomcat运行项目,通过myeclipse内置的浏览器可以进行浏览操作。但是用外部浏览器,会出现如下错误。

    type Exception report

    message

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

    exception

    org.apache.jasper.JasperException: java.lang.IllegalStateException: No output folder
    	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:538)
    	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:364)
    	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
    	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
    	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    	org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:88)
    

     

    root cause

    java.lang.IllegalStateException: No output folder
    	org.apache.jasper.JspCompilationContext.createOutputDir(JspCompilationContext.java:678)
    	org.apache.jasper.JspCompilationContext.getOutputDir(JspCompilationContext.java:197)
    	org.apache.jasper.JspCompilationContext.getClassFileName(JspCompilationContext.java:514)
    	org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:453)
    	org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:399)
    	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
    	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
    	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
    	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
    	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    	org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:88)
     
     
     
    这是怎么回事事儿呢?
  • 相关阅读:
    记一次for update“同一事务”中update无法获取数据锁的解决
    MD(markdown)文件的编写说明
    git简单使用总结
    各种集合、对象初始创建默认大小
    Java 5-11新特性的整理(转)
    Junit4学习使用和总结
    Java 8 Lambda表达式学习和理解
    java 防止sql注入的方法(非原创)
    介绍几个移动web app开发框架
    jQuery UI 之 EasyUI 快速入门
  • 原文地址:https://www.cnblogs.com/bukudekong/p/2419413.html
Copyright © 2011-2022 走看看