weblogic8.1向weblogic9.2移植的Bean already exists: "weblogic.j2ee.descriptor.ServletMappingBeanImpl问题!

在将应用从weblogic8.1迁移到weblogic9.2的过程中,遇到BeanAlreadyExistsException,具体为weblogic.j2ee.descriptor.ServletMappingBeanImpl存在重复。错误源于web.xml中servlet-mapping配置重复。在旧环境(jdk1.4+weblogic8.1)下可正常启动,但在新环境(jdk1.5+weblogic9.2)中会导致服务启动失败。解决方案是检查并删除web.xml中重复的servlet-mapping配置。
摘要由CSDN通过智能技术生成

Caused by: com.bea.xml.XmlException: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.ServletMappingBeanImpl@8c7ef1f5(/ServletMappings[weblogic.descriptor.internal.CompoundKey@8c4f6960])"
 at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:54)
 at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindingType.java:483)
 at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.fillCollection(AttributeRuntimeBindingType.java:385)
 at com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)
 at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalObjectFromIntermediary(AttributeRuntime

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值