救命啊!运行错误 错误消息如下

s1good 2007-05-27
web.xml屏蔽内容:
<!--
<context-param>
<param-name>ecsidePreferencesLocation</param-name>
<param-value>/ecside.properties</param-value>
</context-param>

<context-param>
<param-name>ecsideMessagesLocation</param-name>
<param-value>/WEB-INF/ecsideResourceBundle_zh_CN.properties,/WEB-INF/ecsideResourceBundle2_zh_CN.properties</param-value>
</context-param>
-->




<!-- H2DB Listener   -->
<!--
   <listener>
        <listener-class>demo.common.H2DBListener</listener-class>
    </listener>

<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
    <context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/applicationContext.xml</param-value>
</context-param>



<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>

<load-on-startup>3</load-on-startup>
</servlet>

<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>



<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
-->
运行http://localhost:8080/test/demo.jsp报错如下:
javax.servlet.ServletException: Unresolved compilation problem:

org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
org.apache.jsp.demo_jsp._jspService(demo_jsp.java:194)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.ecside.filter.ECSideFilter.doFilter(ECSideFilter.java:174)

fins 2007-05-27
你运行的就是我给的例子??
jsp文件编译有问题,如果你确定没有语法错误,我那么我怀疑是编码被破坏了

你这样的问题问的太笼统. 就好像你问"windows蓝屏了 什么原因"一样.
太多的原因了.呵呵 不好回答啊
s1good 2007-05-27
对,我运行的就是你给的例子!但是出错没找到原因,其他目录运行没问题!
s1good 2007-05-27
fins 写道
你运行的就是我给的例子??
jsp文件编译有问题,如果你确定没有语法错误,我那么我怀疑是了

你这样的问题问的太笼统. 就好像你问"windows蓝屏了 什么原因"一样.
太多的原因了.呵呵 不好回答啊


TestData.class这个文件编译可能出了问题,我重新编译一次能运行了
谢谢fins
Global site tag (gtag.js) - Google Analytics