was部署程序启动报 找不到 Servlet 映射 xxxx 的 Servlet 名称错,tomcat启动没问题

日志在下边,说 找不到 Servlet 映射 /fckeditor/editor/filemanager/connectors/* 的 Servlet 名称,但是我看了这个路径下有这个类

        web.xml
        <servlet>
    <servlet-name>ConnectorServlet</servlet-name>
    <servlet-class>fckeditor.editor.filemanager.connectors.ConnectorServlet</servlet-class>
    <load-on-startup>5</load-on-startup>
</servlet>
<servlet-mapping>
    <servlet-name>ConnectorServlet</servlet-name>
    <url-pattern>/fckeditor/editor/filemanager/connectors/*</url-pattern>
</servlet-mapping>

还有一堆
[18-11-15 15:25:03:682 CST] 000000a3 wtp           W org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.WARFileAnnotationsDetector locateAnnotations Failed to create class reader for [ WEB-INF/classes/jbpm/pdmanage/SpringUtil.class ] in [ myagent.war ]: [ null ]
[18-11-15 15:25:03:682 CST] 000000a3 wtp           W org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.WARFileAnnotationsDetector locateAnnotations Failed to create class reader for [ WEB-INF/classes/jbpm/pdmanage/Variables.class ] in [ myagent.war ]: [ null ]
[18-11-15 15:25:03:683 CST] 000000a3 wtp           W org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.WARFileAnnotationsDetector locateAnnotations Failed to create class reader for [ WEB-INF/classes/jbpm/pdmanage/PDManage.class ] in [ myagent.war ]: [ null ]
[18-11-15 15:25:03:683 CST] 000000a3 wtp           W org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.WARFileAnnotationsDetector locateAnnotations Failed to create class reader for [ WEB-INF/classes/jbpm/pdmanage/TaskTest.class ] in [ myagent.war ]: [ null ]
[18-11-15 15:25:03:683 CST] 000000a3 wtp           W org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.WARFileAnnotationsDetector locateAnnotations Failed to create class reader for [ WEB-INF/classes/jbpm/pdmanage/Person.class ] in [ myagent.war ]: [ null ]
等等很多

[18-11-15 16:38:20:804 CST] 00000063 AdminHelper   A   ADMN1009I: 尝试启动 myagent_war 应用程序。
[18-11-15 16:38:20:822 CST] 00000063 CompositionUn A   WSVR0190I: 正在启动 BLA WebSphere:blaname=myagent_war 中的组合单元 WebSphere:cuname=myagent_war。
[18-11-15 16:38:21:070 CST] 00000063 ApplicationMg A   WSVR0200I: 正在启动应用程序:myagent_war
[18-11-15 16:38:21:070 CST] 00000063 ApplicationMg A   WSVR0204I: 应用程序:myagent_war,应用程序构建级别:未知
[18-11-15 16:38:21:471 CST] 00000063 webapp        E com.ibm.ws.wswebcontainer.webapp.WebAppConfigurationHelper constructServletMappings SRVE0303E: 找不到 Servlet 映射 /fckeditor/editor/filemanager/connectors/* 的 Servlet 名称。
[18-11-15 16:38:21:472 CST] 00000063 DeployedAppli W   WSVR0206E: 应用程序 myagent_war.ear/deployments/myagent_war 的模块 myagent.war 未能启动
[18-11-15 16:38:21:473 CST] 00000063 ApplicationMg W   WSVR0101W: 启动 myagent_war 时发生错误
[18-11-15 16:38:21:473 CST] 00000063 ApplicationMg A   WSVR0217I: 正在停止应用程序:myagent_war
[18-11-15 16:38:21:517 CST] 00000063 ApplicationMg A   WSVR0220I: 应用程序已停止:myagent_war
[18-11-15 16:38:21:594 CST] 00000063 CompositionUn E   WSVR0194E: BLA WebSphere:blaname=myagent_war 中的组合单元 WebSphere:cuname=myagent_war 未能启动。
[18-11-15 16:38:21:628 CST] 00000063 FfdcProvider  W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC 事件发生于 /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/ffdc/server1_15fe3728_18.11.15_16.38.21.5966888678733202598958.txt com.ibm.ws.runtime.component.CompositionUnitMgrImpl 679
[18-11-15 16:38:21:701 CST] 00000063 FfdcProvider  W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC 事件发生于 /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/ffdc/server1_15fe3728_18.11.15_16.38.21.6305289518091167357800.txt com.ibm.ws.management.AdminServiceImpl.invoke 679
[18-11-15 16:38:21:705 CST] 00000063 MBeanHelper   E   Could not invoke an operation on object: WebSphere:name=ApplicationManager,process=server1,platform=proxy,node=GCSNode01,version=8.5.5.0,type=ApplicationManager,mbeanIdentifier=ApplicationManager,cell=GCSNode01Cell,spec=1.0 because of an mbean exception: com.ibm.ws.exception.RuntimeWarning: SRVE0303E: 找不到 Servlet 映射 /fckeditor/editor/filemanager/connectors/* 的 Servlet 名称。
[18-11-15 16:40:36:163 CST] 00000066 WebContainer  E com.ibm.ws.webcontainer.internal.WebContainer handleRequest SRVE0255E: 尚未定义要处理 /myagent/login.jsp 的 Web 组/虚拟主机。
[18-11-15 16:40:37:640 CST] 00000063 WebContainer  E com.ibm.ws.webcontainer.internal.WebContainer handleRequest SRVE0255E: 尚未定义要处理 /favicon.ico 的 Web 组/虚拟主机。

1个回答

<servlet>
    <servlet-name>ConnectorServlet</servlet-name>
    <servlet-class>fckeditor.editor.filemanager.connectors.ConnectorServlet</servlet-class>
    <load-on-startup>5</load-on-startup>
</servlet>
<servlet-mapping>
    <servlet-name>ConnectorServlet</servlet-name>
    <url-pattern>/fckeditor/editor/filemanager/connectors/*</url-pattern>
</servlet-mapping>
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问