eclipse / jnosql

Eclipse JNoSQL is a framework which has the goal to help Java developers to create Jakarta EE applications with NoSQL.
Other
231 stars 72 forks source link

Google App Engine - Cannot find the system Java compiler #238

Closed donatellosantoro closed 4 years ago

donatellosantoro commented 4 years ago

Hi, we are trying to deploy our application on Google App Engine. The app is using the latest version of jnosql (1.0.0-b1), but we also tried previous version. Essentially, the app works fine locally, but when we use Google App Engine we got this exception:

Caused by: java.lang.IllegalStateException: Cannot find the system Java compiler at org.eclipse.jnosql.artemis.reflection.JavaCompilerFacade.lambda$new$0(JavaCompilerFacade.java:48) at java.util.Optional.orElseThrow(Optional.java:290) at org.eclipse.jnosql.artemis.reflection.JavaCompilerFacade.<init>(JavaCompilerFacade.java:48) at org.eclipse.jnosql.artemis.reflection.ClassOperationFactory.<init>(ClassOperationFactory.java:42) at org.eclipse.jnosql.artemis.reflection.ClassOperationFactory.<clinit>(ClassOperationFactory.java:28) ... 49 more

I can see that in the current version of artemis (master branch) this JavaCompilerFacade class is no longer available.

otaviojava commented 4 years ago

Hello, how are you? Yes, we removed this class to get the Java 11 compatibility, we'll release this version at the end of this week.

donatellosantoro commented 4 years ago

Thank you @otaviojava. I can confirm that using the current version (1.0.0-SNAPSHOT) the app is running correctly on Google App Engine.

Thanks

otaviojava commented 4 years ago

I'm glad to you.