当前位置: 代码迷 >> Java Web开发 >> Error filterStart
  详细解决方案

Error filterStart

热度:424   发布时间:2010-09-10 10:54:28.0
Error filterStart
程序代码:
严重: Error filterStart
2010-9-10 10:42:38 org.apache.catalina.core.StandardContext start
严重: Context startup failed due to previous errors
2010-9-10 10:42:41 org.apache.catalina.core.StandardHostDeployer install<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4"
    xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
    http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <!-- 定义struts2的核心控制器 -->
    <filter>
        <filter-name>struts2</filter-name>
        <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
    </filter>
    <!-- FilterDispatcher用来初始化Struts2并且处理所有的Http请求 -->
    <filter-mapping>
        <filter-name>struts2</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>
  <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
  </welcome-file-list>
</web-app>
struts2.xml
程序代码:
<!DOCTYPE struts PUBLIC
          "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
          "http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>

    <package name="default" extends="struts-default">
        <action name="login" class="action.LoginAction">
            <result name="index" type="chain">bookshow</result>
            <result name="input">login.jsp</result>
        </action>
        <action name="bookshow" class="action.BookshowAction">
            <result name="bookshow">bookshow.jsp</result>
        </action>
        <action name="deletebook" class="action.DeletebookAction">
            <result name="bookshow" type="chain">bookshow</result>
        </action>
        <action name="addbook" class="action.AddbookAction">
            <result name="success">success.jsp</result>
        </action>
        <action name="bookdetail" class="action.BookdetailAction">
            <result name="bookdetail">bookdetail.jsp</result>
        </action>
    </package>  
</struts>
包:commons-fileupload-1.2.jar   commons-io-1.3.1.jar    commons-logging-1.1.jar  freemarker-2.3.8.jar  ognl-2.6.11.jar
ojdbc14.jar  struts2-core-2.0.6.jar   xwork-2.0.1.jar


各位大侠帮个忙吧!谢谢了!
搜索更多相关主题的帖子: filterStart  

----------------解决方案--------------------------------------------------------
.....
----------------解决方案--------------------------------------------------------
提示: 作者被禁止或删除 内容自动屏蔽
2010-09-11 17:39:07
SoftWarezx

等 级:新手上路
威 望:1
帖 子:47
专家分:9
注 册:2010-7-14
4
  得分:0 
问题解决了,是MyEclipse版本与jdk的1.5和1.6版本冲突的问题
----------------解决方案--------------------------------------------------------
  相关解决方案