eclipse / jnosql

Eclipse JNoSQL is a framework which has the goal to help Java developers to create Jakarta EE applications with NoSQL.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Google App Engine - Cannot find the system Java compiler

donatellosantoro opened this issue · comments

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.

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.

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

I'm glad to you.