Hi Daniel, I will give git cli a try and return to you with feedback.
Thank you, Giulio Il giorno ven 25 nov 2022 alle ore 09:15 Daniel Watford <d...@foomoo.co.uk> ha scritto: > Hi Giulio, > > Do you see the same issue if running 'git push' from the command line? > > One theory is the paths used by the Git integration in eclipse reference a > different version of JDK to your regular builds. > > On Thu, 24 Nov 2022 at 23:42, Giulio Speri - MpStyle Srl < > giulio.sp...@mpstyle.it> wrote: > > > 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 > > > > > -- > Daniel Watford > -- Giulio Speri *Mp Styl**e Srl* via Antonio Meucci, 37 41019 Limidi di Soliera (MO) T 059/684916 M 347/0965506 www.mpstyle.it