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
weblogic8.1向weblogic9.2移植的Bean already exists: "weblogic.j2ee.descriptor.ServletMappingBeanImpl问题!
最新推荐文章于 2016-11-29 22:34:10 发布
在将应用从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通过智能技术生成