Oracle Weblogic Server (MOSC)

MOSC Banner

We needed to upgrade xmlbeans to version 4.1.2, which forced us to upgrade xmlbeans dependency to ve


Description:


We needed to upgrade xmlbeans to version 4.1.2, which forced us to upgrade xmlbeans dependency to version 3.1.0. With WEB-INF containing both jars, when this EAR file was deployed to WebLogic server, the application throw following runtime exception when accessed.


java.lang.NoSuchMethodError: org.apache.xmlbeans.XmlOptions.setEntityExpansionLimit(I)Lorg/apache/xmlbeans/XmlOptions;

       at org.apache.poi.ooxml.POIXMLTypeLoader.<clinit>(POIXMLTypeLoader.java:43)

       at org.apache.poi.xssf.usermodel.XSSFWorkbook.commit(XSSFWorkbook.java:1774)

       at org.apache.poi.ooxml.POIXMLDocumentPart.onSave(POIXMLDocumentPart.java:490)

       at org.apache.poi.ooxml.POIXMLDocument.write(POIXMLDocument.java:236)

       at com.nasaprs.nspires.web.internal.common.ExcelReportCreator.sendResponse(ExcelReportCreator.java:264)

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center