Hi,
If you ever see this exception on your JDeveloper while trying to deploy an application:
weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.wl.LibraryRefBeanImpl@c76e5f19(/LibraryRefs[[CompoundKey: adf.oracle.domain]])
Most probably it is not your fault... what I found out was that my weblogic-application.xml file was somehow, "bigger"... a lot of duplicated values:
Well, if you remove all duplicated values, your application will work fine. At least it did for me.
Why this would happen? Honestly, I am not sure.. sometimes things get messy... Maybe the back and forth between JDeveloper versions... I cannot really say.. But anyway, the solution is simple and fairly easy.
To locate the weblogic-application.xml file, just find the Application Resources section of the Application Navigator.
Double click on the weblogic-application.xml file and correct the mistakes.
Here is a healthy default weblogic-application.xml file:
Regards.
If you ever see this exception on your JDeveloper while trying to deploy an application:
weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.wl.LibraryRefBeanImpl@c76e5f19(/LibraryRefs[[CompoundKey: adf.oracle.domain]])
Most probably it is not your fault... what I found out was that my weblogic-application.xml file was somehow, "bigger"... a lot of duplicated values:
Well, if you remove all duplicated values, your application will work fine. At least it did for me.
Why this would happen? Honestly, I am not sure.. sometimes things get messy... Maybe the back and forth between JDeveloper versions... I cannot really say.. But anyway, the solution is simple and fairly easy.
To locate the weblogic-application.xml file, just find the Application Resources section of the Application Navigator.
Double click on the weblogic-application.xml file and correct the mistakes.
Here is a healthy default weblogic-application.xml file:
Regards.




Thanks! This helped alot! (And no this is not spam, I actually came across this error haha)
ReplyDeleteI opened a 11.1.2 workspace in 11.1.1.2 to see whether a bug was reproducable and it messed up my weblogic-application.xml
regards
Wendy Tromp
I am glad that it helped you Wendy!
DeleteCheers!
Thank you. it's helped me.
ReplyDeleteThank you. I got this error when I downloaded a sample and it upgraded it to new jdev version.
ReplyDelete