java.lang.NoClassDefFoundError: com.sun.org.apache.xerces.internal.util.SecurityManager is a restricted class. Please see the Google App Engine developer's guide for more details.

poi-user | Jean-Rémi Malzieu | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    POI - User - Calling WorkbookFactory.create on App engine failed because of SecurityManager is a restricted class

    nabble.com | 1 year ago
    java.lang.NoClassDefFoundError: com.sun.org.apache.xerces.internal.util.SecurityManager is a restricted class. Please see the Google App Engine developer's guide for more details.
  2. 0

    Calling WorkbookFactory.create on App engine failed because of SecurityManager is a restricted class

    poi-user | 2 years ago | Jean-Rémi Malzieu
    java.lang.NoClassDefFoundError: com.sun.org.apache.xerces.internal.util.SecurityManager is a restricted class. Please see the Google App Engine developer's guide for more details.
  3. 0

    Calling WorkbookFactory.create on App engine failed because of SecurityManager is a restricted class

    poi-user | 2 years ago | Jean-Rémi Malzieu
    java.lang.NoClassDefFoundError: com.sun.org.apache.xerces.internal.util.SecurityManager is a restricted class. Please see the Google App Engine developer's guide for more details.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Trying to read data from a excel file gives Exception in thread "main" java.lang.NoClassDefFoundError:

    Stack Overflow | 3 years ago | user1483747
    java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlOptions at org.apache.poi.POIXMLDocumentPart.<clinit>(POIXMLDocumentPart.java:53)
  6. 0

    Apache POI error when running on SIT

    Stack Overflow | 3 years ago | Evil Washing Machine
    java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlOptions at org.apache.poi.POIXMLDocumentPart.<clinit>(POIXMLDocumentPart.java:43)

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      com.sun.org.apache.xerces.internal.util.SecurityManager is a restricted class. Please see the Google App Engine developer's guide for more details.

      at com.google.apphosting.runtime.security.shared.stub.com.sun.org.apache.xerces.internal.util.SecurityManager.<clinit>()
    2. com.google.apphosting
      SecurityManager.<clinit>
      1. com.google.apphosting.runtime.security.shared.stub.com.sun.org.apache.xerces.internal.util.SecurityManager.<clinit>(SecurityManager.java)
      1 frame
    3. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      5. java.lang.Class.newInstance(Class.java:370)
      5 frames
    4. POI
      DocumentHelper.<clinit>
      1. org.apache.poi.util.DocumentHelper.trySetXercesSecurityManager(DocumentHelper.java:77)
      2. org.apache.poi.util.DocumentHelper.<clinit>(DocumentHelper.java:57)
      2 frames
    5. Apache POI
      OPCPackage.open
      1. org.apache.poi.openxml4j.opc.internal.ContentTypeManager.parseContentTypesFile(ContentTypeManager.java:376)
      2. org.apache.poi.openxml4j.opc.internal.ContentTypeManager.<init>(ContentTypeManager.java:102)
      3. org.apache.poi.openxml4j.opc.internal.ZipContentTypeManager.<init>(ZipContentTypeManager.java:54)
      4. org.apache.poi.openxml4j.opc.ZipPackage.getPartsImpl(ZipPackage.java:192)
      5. org.apache.poi.openxml4j.opc.OPCPackage.getParts(OPCPackage.java:673)
      6. org.apache.poi.openxml4j.opc.OPCPackage.open(OPCPackage.java:274)
      6 frames
    6. POI
      WorkbookFactory.create
      1. org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:87)
      1 frame