Skip to Main Content

Application Development Software

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!

Jar conflict in weblogic and application jar

Qaisar JamalNov 7 2025 — edited Nov 7 2025

Hello Community,
We are upgrading POI jar files in our application server Weblogic 12.2.1.4.0,
After upgrade (replace POI jar file to 5.4 version) we are facing issue with weblogic server xmlbeans file (NoSuchMethorError).

This issue is coming in a job which invoke standalone jar , All these are happening inside weblogic server.

weblogic server xmlbeans library location :
OracleHome\wlserver\modules\com.bea.core.xml.xmlbeans

Application level upgraded jar

poi-ooxml-5.4.0.jar
poi-ooxml-lite-5.4.0.jar
xmlbeans-5.3.0.jar
commons-compress-1.27.1.jar
commons-collections4-4.4.jar

Error :
Exception java.lang.NoSuchMethodError: org.apache.xmlbeans.XmlOptions.setUseDefaultNamespace(Z)Lorg/apache/xmlbeans/XmlOptions;

Please suggest possible solution

Comments
Post Details
Added on Nov 7 2025
0 comments
64 views