Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OSB 12.2.1.3 maven compile error with xmlbeans:jar

Hugo HendriksMay 14 2019

Hi ,

We are upgrading our 12.1.3 stack to 12.2.1.3. When updating our OSB projects, some threw an error when building with maven:

[WARNING] The POM for com.oracle.weblogic:com.bea.core.xml.xmlbeans:jar:2.6.1-0-0 is missing, no dependency information available

When i check the maven repo, there is no jar there. I did see that there was a 2.6.2-0-0 version so I updated the com\oracle\servicebus\client\12.2.1-3-0\client-12.2.1-3-0.pom to point to 2.6.2-0.0. This got rid of the compile dependency error but during deploy I now get

Diagnostic XML Bean debug log file created: C:\Windows\TEMP\xmlbeandebug7792149646561038432.log

java.lang.reflect.InvocationTargetException

..........

Caused by: java.lang.NoSuchMethodError: com.bea.wli.sb.util.SourceUtils.getXmlOptionsObjectWithEntitySize()Lorg/apache/xmlbeans/XmlOptions;

Does anyone know how to fix this? I am trying to see if i can find the xmlbeans:jar:2.6.1-0-0 but even in the oracle maven repo it seems missing.

The weird thing is also that only some of our OSB projects get this error and some don't.

Best regards,

Hugo

Comments
Post Details
Added on May 14 2019
2 comments
1,355 views