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 restriction #238
Comments
Seems that it has problems to create the logger: https://github.com/graphhopper/jsprit/blob/master/jsprit-core/src/main/java/com/graphhopper/jsprit/core/problem/vehicle/VehicleImpl.java#L110. It might be related to this: #185? Dont know for sure ... |
Thank you so much! I've managed to migrate to slf4j and bind to java.util.logger.
Could you please tell me which mvn commands should be executed in order to respect the right build life cycle? Thank you. |
do |
Great, thank you so much @oblonski ! 👍 If anyone is interested, I've forked jsprit 1.6.4-SNAPSHOT and customized it. |
Are you sure that this is not possible with log4j? E.g. this questions indicates it works. Maybe just reflections are not allowed on the app engine? Will calling something like |
Hello!
I'm trying to run jsprit as a google cloud endpoint API, part of a Maven Java project.
This is the method I invoke:
When I run the application I get this error:
java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessClassInPackage.sun.reflect"
This is the full stack error:
This is my pom.xml file:
I think jsprit uses some library that's not in the Google App Engine white list ("accessClassInPackage.sun.reflect"). Is it possible a workaround for this issue?
Thanks a lot
The text was updated successfully, but these errors were encountered: