我有一个 ear 文件和两个 war 文件 application.xml 文件的配置如下
<module id="myeclipse.1312xxxxxxx">
<web>
<web-uri>first.war</web-uri>
<context-root>/first</context-root>
</web>
</module>
<module id="myeclipse.134xxxxxxxxx">
<web>
<web-uri>second.war</web-uri>
<context-root>/second</context-root>
</web>
</module>
当我在本地 weblogic 服务器中部署它时,它工作正常,但是当我将它部署在服务器中时,first.war 工作正常,但 second.war 不是。当我尝试从 second.war 文件中访问某些页面时,例如
“http://host:port/second/somepage.html”
,我收到错误 404-找不到对象异常。