部署项目到weblogic中出现"Bean already exists: "weblogic.j2ee.descriptor.FilterMappingBeanImpl@4b873872"

来源:互联网 发布:销售统计分析软件 编辑:程序博客网 时间:2024/06/11 21:15

部署web项目到weblogic中,启动weblogic出现异常:

<2015-8-12 下午04时23分56秒 CST> <Error> <Munger> <BEA-2156200> <Unable to load descriptor D:\wls1213_dev_update\mydomain\servers\myserver\tmp\.appmergegen_1439367835898_xxx/WEB-INF/web.xml of module xxx.war. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed

......

Caused by: com.bea.xml.XmlException: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.FilterMappingBeanImpl@4b873872(/FilterMappings[[CompoundKey: struts2[CompoundKey: ][CompoundKey: /*]]])"


已经解决,在web.xml里面根据错误提示信息查看下是不是mapping、taglib或者其他的定义有重复的,我检查后发现是filter-mapping重复导致的,删除后部署ok。

0 0