The servlets named [HSApexWebCore] and [HSApexWebCore] are both mapped to the url-pattern [/HSApexWebCore] which is not permittedweb.xml中的url-pattern 配置中出现了多处 HSApexWebCore ,楼主检查一下
解决方案 »
- 权限设计 ——用户对应关系 在线讨论
- 分页
- JPA-style positional param was not an integral ordinal
- SSH的一个错误
- action中得到一个String,String内容是一个html页面的源码,把这个String要显示到jsp页面中去?
- 求助啊~做的一个struts程序在jbuilder中运行时没有错误,但部署到tomcat再运行报错?
- .net写服务端webservice供java调用,有什么安全认证方式比较好
- 如何在Spring配置文件中设置MySQL 的max_allowed_packet属性???
- 日期控制问题,高分求解
- java中连接redis集群 redis 主从切换
- 用jsp输出lrc的内容,内容输出来了,但是怎么让jsp根据lrc文件原本的样式来进行输出呢,就是换行,字体颜色。
- StringBuffer append 报错
<?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>
你的tomcatwebapps下面放了几个工程呢?
将tomcat停掉,删除logs ,temp 和 work 这三个目录下面的文件
重启 tomcat,看看是否还报这个错误