Hello devs,
I hope you're doing great.
I am currently having some problems in pushing ("Preview") a commit to the
GitHub trunk repository.
I am using Eclipse with the integrated git plugin and I am getting this
error:
Can't connect to any URI: https://github.com/apache/ofbiz-framework.git
> (Rejected by "pre-push" hook.
> FAILURE: Build failed with an exception
> * What went wrong:
> Execution failed for task ':compileJava'.
> >java.lang.IllegalAccessError:class
> org.gradle.internal.compiler.java.ClassNameCollector(in unnamed
> module @0x5cfb4510) cannot access class
> com.sun.tools.javac.code.Symbol$TypeSymbol (in module jdk.compiler) because
> module jdk.compiler does not export com.sun.tools.javac.code to unnamed
> module @0x5cfb4510
...
> BUILD FAILED in 3s
I am using openjdk-11 as java and the project itself correctly builds and
run using standard commands *./gradlew build* - *./gradlew ofbiz*
The error above shows up with the standard gradlew build command only when
trying to compile the code using openjdk-17 (but I am not using it), and as
I mentioned when trying to "Preview" the push of the HEAD.
Anyone have had a similar issue or have some suggestions regarding it?
Thank you in advance,
Giulio
--
Giulio Speri
*Mp Styl**e Srl*
via Antonio Meucci, 37
41019 Limidi di Soliera (MO)
T 059/684916
M 347/0965506
www.mpstyle.it