Using JAXB with GAE

2 views
Skip to first unread message

user1888875 via StackOverflow

unread,
Dec 8, 2012, 11:29:47 PM12/8/12
to google-appengin...@googlegroups.com

Searched many posts out there, still not enough information regarding this.

I am getting the following error:

WARNING: Nested in java.lang.ExceptionInInitializerError:
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.com.sun.xml.internal.bind.marshaller)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:374)
    at java.security.AccessController.checkPermission(AccessController.java:549)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
    at com.google.appengine.tools.development.DevAppServerFactory$CustomSecurityManager.checkPermission(DevAppServerFactory.java:289)
    at java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1512)
    at java.lang.ClassLoader$1.run(ClassLoader.java:330)

Question:

How do I use JAXB in GAE? I am using a third party library that makes use of JAXB. Which JARs should I include?

Thanks



Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/13784547/using-jaxb-with-gae

user1888875 via StackOverflow

unread,
Dec 8, 2012, 11:39:47 PM12/8/12
to google-appengin...@googlegroups.com

Searched many posts out there, still not enough information regarding this.

I am getting the following error:

WARNING: Nested in java.lang.ExceptionInInitializerError:
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.com.sun.xml.internal.bind.marshaller)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:374)
    at java.security.AccessController.checkPermission(AccessController.java:549)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
    at com.google.appengine.tools.development.DevAppServerFactory$CustomSecurityManager.checkPermission(DevAppServerFactory.java:289)
    at java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1512)
    at java.lang.ClassLoader$1.run(ClassLoader.java:330)

Question:

How do I use JAXB in GAE. I am using a third party library that makes use of JAXB

What jars should I include?

Reply all
Reply to author
Forward
0 new messages