Spring SRVE0278E:添加servlet映射时出错-->/*

Spring SRVE0278E:添加servlet映射时出错-->/*,spring,websphere,Spring,Websphere,我正在尝试使用Java 8在本地Websphere application Server 8.5.5.9版本上部署我的应用程序 我总是会遇到这样的错误: [1/16/19 14:40:21:530 GMT] 000000c3 webapp I com.ibm.ws.webcontainer.webapp.WebApp log SRVE0292I: Servlet Message - [adminART_war#adminART.war]:.Initializing Spring F

我正在尝试使用Java 8在本地Websphere application Server 8.5.5.9版本上部署我的应用程序

我总是会遇到这样的错误:

[1/16/19 14:40:21:530 GMT] 000000c3 webapp        I com.ibm.ws.webcontainer.webapp.WebApp log SRVE0292I: Servlet Message - [adminART_war#adminART.war]:.Initializing Spring FrameworkServlet 'adr' 
[1/16/19 14:40:21:783 GMT] 000000c3 SystemOut     O INFO  SecurityNamespaceHandler --       --       --Spring Security 'config' module version is 4.0.1.RELEASE 
[1/16/19 14:40:30:424 GMT] 000000c3 SystemOut     O INFO  GlobalMethodSecurityBeanDefinitionParser --       --       --Expressions were enabled for method security but no SecurityExpressionHandler was configured. All hasPermision() expressions will evaluate to false. 
[1/16/19 14:41:42:690 GMT] 000000c3 ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [adminART_war] [/ArtOSAdmin] [adr]: Initialization successful. 
[1/16/19 14:41:42:691 GMT] 000000c3 webapp        W com.ibm.ws.webcontainer.webapp.WebApp initializeStaticFileHandler SRVE0278E: Error while adding servlet mapping --> /*. 
[1/16/19 14:41:42:697 GMT] 000000c3 webapp        I com.ibm.ws.webcontainer.webapp.WebApp log SRVE0292I: Servlet Message - [adminART_war#adminART.war]:.Destroying Spring FrameworkServlet 'adr' 
[1/16/19 14:41:42:721 GMT] 000000c3 ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper doDestroy SRVE0253I: [adminART_war] [/ArtOSAdmin] [adr]: Destroy successful. 
[1/16/19 14:41:42:724 GMT] 000000c3 webapp        I com.ibm.ws.webcontainer.webapp.WebApp log SRVE0292I: Servlet Message - [adminART_war#adminART.war]:.Closing Spring root WebApplicationContext 
[1/16/19 14:42:02:997 GMT] 000000c3 SystemOut     O INFO  EhCacheManagerFactoryBean --       --       --Shutting down EhCache CacheManager 
[1/16/19 14:42:03:060 GMT] 000000c3 SystemOut     O INFO  LocalContainerEntityManagerFactoryBean --       --       --Closing JPA EntityManagerFactory for persistence unit 'default' 
[1/16/19 14:42:03:066 GMT] 000000c3 webapp        E com.ibm.ws.webcontainer.webapp.WebGroupImpl WebGroup SRVE0015E: Failure to initialize Web application adr Banque 
[1/16/19 14:42:03:071 GMT] 000000c3 DeployedAppli W   WSVR0206E: Module, adminART.war, of application, adminART_war.ear/deployments/adminART_war, failed to start 
我已经在web-INF下配置了文件ibm-web-ext.xml,如某些支持中所述:

<!-- language: lang-xml -->
    <web-ext
        xmlns="http://websphere.ibm.com/xml/ns/javaee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://websphere.ibm.com/xml/ns/javaee http://websphere.ibm.com/xml/ns/javaee/ibm-web-ext_1_0.xsd"
        version="1.0">
        <default-error-page uri="error.jsp"/>
        <jsp-attribute name="useThreadTagPool" value="true" />
        <jsp-attribute name="verbose" value="false" />
        <jsp-attribute name="deprecation" value="false" />
        <jsp-attribute name="reloadEnabled" value="true" />
        <jsp-attribute name="reloadInterval" value="5" />
        <jsp-attribute name="keepgenerated"  value="true" />
        <jsp-attribute name="trackDependencies" value="true" />
        <reload-interval value="9"/>
        <auto-encode-requests value="true"/>
        <auto-encode-responses value="false"/>
        <enable-directory-browsing value="false"/>
        <enable-file-serving value="false"/>
        <pre-compile-jsps value="false"/>
        <enable-reloading value="true"/>
        <enable-serving-servlets-by-class-name value="true"/>
    </web-ext>
这是my web.xml上的映射:

<!-- language: lang-xml -->
<!-- Spring MVC -->
<servlet>
    <servlet-name>adr</servlet-name>
    <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
</servlet>

<servlet-mapping>
    <servlet-name>adr</servlet-name>
    <url-pattern>/</url-pattern>
</servlet-mapping>

非常感谢您的帮助。

查看此错误以及WebApp中的相应代码,您是否可以查看是否有与此警告同时生成的FFDC日志?如果我找到了正确的代码,那么应该会有一个FFDC,它也会产生,并且会有关于发生的确切错误的额外细节

[1/16/1914:41:42:691 GMT]000000 C3网络应用程序W com.ibm.ws.webcontainer.webapp.webapp initializeStaticFileHandler SRVE0278E:添加servlet映射时出错->/*


默认情况下,WebSphere将安装使用/context根的DefaultApplication EAR。如果要使用此上下文根,您将在下一步从服务器中删除DefaultApplication,或将此应用程序的上下文根更改为其他内容。

请添加完整的stacktrace