Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google App Engine Compatibility Issue #42

Closed
lviggiano opened this issue Jul 17, 2013 · 2 comments
Closed

Google App Engine Compatibility Issue #42

lviggiano opened this issue Jul 17, 2013 · 2 comments

Comments

@lviggiano
Copy link
Collaborator

It looks like there is some issue with the Google App Engine:

java.lang.NoClassDefFoundError: java.net.URLStreamHandler is a restricted class. Please see the Google  App Engine developer's guide for more details.
        at com.google.appengine.tools.development.agent.runtime.Runtime.reject(Runtime.java:51)
        at org.aeonbits.owner.ConfigURLStreamHandler.<init>(ConfigURLStreamHandler.java:40)
        at org.aeonbits.owner.PropertiesManager.<init>(PropertiesManager.java:66)
        at org.aeonbits.owner.ConfigFactory.create(ConfigFactory.java:43)

(the above stacktrace and line numbers may relate to version 1.0.2 or 1.0.3)

sounds like a security policy: http://stackoverflow.com/questions/15673942/urlstreamhandler-is-a-restricted-class

The bug is reported to the GAE:
https://code.google.com/p/googleappengine/issues/detail?id=1384

From my point of view, this bug should be fixed in the GAE, but it would be nice to implement a workaround in the OWNER library.

lviggiano added a commit that referenced this issue Jul 20, 2013
to fix GAE incompatibility

See bug #42
@lviggiano
Copy link
Collaborator Author

It should be fixed. Just waiting for feedback.

@lviggiano
Copy link
Collaborator Author

Confirmed. Now it works on Google App Engine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant