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

Version 2.57.0 breaks on Google AppEngine #40

Closed
dincek opened this issue Mar 7, 2016 · 3 comments
Closed

Version 2.57.0 breaks on Google AppEngine #40

dincek opened this issue Mar 7, 2016 · 3 comments

Comments

@dincek
Copy link

dincek commented Mar 7, 2016

Hi,

you have added logging support, but you used restricted class "java.util.logging.ConsoleHandler" on Google AppEngine, so this library does not work, it is not possible to override or do anything to be able to use 2.57.0 on AppEngine. Version 2.56.0 still works on AppEngine.

Please add support for constructor BraintreeGateway for passing Logger instead of static initialisation with new ConsoleHandler() in Configuration.

Dean

@pblesi
Copy link

pblesi commented Mar 8, 2016

@dincek

Thanks for bringing this to our attention. We will remove the dependency on java.util.logging.ConsoleHandler and release a new version of the library. We will update this thread once the new version has been released.

@AIMMOTH
Copy link

AIMMOTH commented Mar 29, 2016

Version 2.58.0 still breaks App Engine

java.lang.NoClassDefFoundError: java.util.logging.ConsoleHandler 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:52)
at com.braintreegateway.Configuration.(Configuration.java:25)
at com.braintreegateway.BraintreeGateway.(BraintreeGateway.java:56)

@kexline4710
Copy link

@dineck @AIMMOTH

The fix to resolve this dependency is now released in version 2.59.0. I will close this issue as resolved, but let us know if you continue to see issues.

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

No branches or pull requests

4 participants