The servlets named [HSApexWebCore] and [HSApexWebCore] are both mapped to the url-pattern [/HSApexWebCore] which is not permittedweb.xml中的url-pattern 配置中出现了多处 HSApexWebCore ,楼主检查一下

解决方案 »

  1.   

    我的web.xml 中不存在这个名字 我这个是一个portal 依赖的都是jar 包 只有jsp页面 
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns:xsi="http://www.w3.org/2001/xmlSchema-instance" xmlns="http://JAVA.sun.com/xml/ns/j2ee" xmlns:jsp="http://java.sun.com/xml/ns/javaee/jsp" xmlns:web="http://xmlns.jcp.org/xml/ns/javaee" xsi:schemaLocation="http://JAVA.sun.com/xml/ns/j2ee http://JAVA.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">
      <display-name>Archetype Created Web Application</display-name>
      <listener>
        <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
      </listener>
      <listener>
        <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
      </listener>
      <servlet>
        <servlet-name>apex</servlet-name>
        <servlet-class>org.springframework.web.servlet.DispatcherServlet
    </servlet-class>
      </servlet>
      <context-param>
        <param-name>contextConfigLocation</param-name>
        <param-value>
    classpath*:/applicationContext.xml
    </param-value>
      </context-param>
      <filter>
        <filter-name>encodingFilter</filter-name>
        <filter-class>org.springframework.web.filter.CharacterEncodingFilter
    </filter-class>
        <init-param>
          <param-name>encoding</param-name>
          <param-value>UTF-8</param-value>
        </init-param>
        <init-param>
          <param-name>forceEncoding</param-name>
          <param-value>true</param-value>
        </init-param>
      </filter>
      <filter-mapping>
        <filter-name>encodingFilter</filter-name>
        <url-pattern>/*</url-pattern>
      </filter-mapping>
      <servlet-mapping>
        <servlet-name>apex</servlet-name>
        <url-pattern>*.do</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>apex</servlet-name>
        <url-pattern>*.ax</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>apex</servlet-name>
        <url-pattern>/</url-pattern>
      </servlet-mapping>
      <servlet>
        <servlet-name>CXFServlet</servlet-name>
        <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
      </servlet>
      <servlet-mapping>
        <servlet-name>CXFServlet</servlet-name>
        <url-pattern>/services/*</url-pattern>
      </servlet-mapping>
      <filter>
        <filter-name>shiroFilter</filter-name>
        <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
        <async-supported>true</async-supported>
        <init-param>
          <param-name>targetFilterLifecycle</param-name>
          <param-value>true</param-value>
        </init-param>
      </filter>
      <filter-mapping>
        <filter-name>shiroFilter</filter-name>
        <url-pattern>/*</url-pattern>
        <dispatcher>REQUEST</dispatcher>
      </filter-mapping>
      <jsp-config>
        <taglib>
          <taglib-uri>/apexestaglib</taglib-uri>
          <taglib-location>/WEB-INF/tag/apex/form/apexeslib.tld
    </taglib-location>
        </taglib>
      </jsp-config>
    </web-app>
      

  2.   

    这么说还真看不出来错误在哪里。
    你的tomcatwebapps下面放了几个工程呢?
    将tomcat停掉,删除logs ,temp 和 work 这三个目录下面的文件
    重启 tomcat,看看是否还报这个错误