我刚刚完成了使用Spring Framework构建的新Web模块.直到现在我正在使用Tomcat测试我本地计算机上的所有页面.今天我将应用程序移动到Websphere后,我收到以下错误:
Error 404: No target servlet configured for uri
Run Code Online (Sandbox Code Playgroud)
我需要在web.xml或其他地方做些什么吗?我在我的WAS上部署了一个EAR文件,该文件有另一个war文件.
下面是我在控制台上看到的输出,如果有任何帮助的话.
The resource WEB-INF/ibm-web-bnd.xmi that is defined in URI WEB-INF/ibm-web-bnd.xmi for module analytics.war is not valid. The resource has a cross reference org.eclipse.jst.j2ee.webapplication.internal.impl.WebAppImpl@4be44be4 (eProxyURI: WEB-INF/web.xml#WebApp_ID) that cannot be resolved.
[6/17/09 15:24:49:465 CDT] 00000011 ArchiveDeploy W ADMA0091E: The resource WEB-INF/ibm-web-ext.xmi that is defined in URI WEB-INF/ibm-web-ext.xmi for module analytics.war is not valid. The resource has a cross reference org.eclipse.jst.j2ee.webapplication.internal.impl.WebAppImpl@7b7a7b7a (eProxyURI: WEB-INF/web.xml#WebApp_ID) that cannot be resolved.
Run Code Online (Sandbox Code Playgroud)
您的 servlet 似乎没有正确配置。我想说你的 web.xml 有一个 servlet-name 条目,它与 WEB-INF 目录中的 -servlet.xml 文件不对应。
| 归档时间: |
|
| 查看次数: |
33435 次 |
| 最近记录: |