Skip to content
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

Can't rebuild Project in intellij #55

Open
ServitaGitStu opened this issue Jun 12, 2023 · 1 comment
Open

Can't rebuild Project in intellij #55

ServitaGitStu opened this issue Jun 12, 2023 · 1 comment

Comments

@ServitaGitStu
Copy link

Hi,

I downloaded MirthSync and after some fiddling (first time seeing anything in Clojure) I got it built and can do pulls, yet to try a push anywhere. But, I ran into a problem in intellij, in that it will not build: I get what the error is saying, but I am using the same JVM as the first build, so I don't know how it got built in the first instance!!

I used the uberjar task to build it - was that correct? I assume it was since it built and the pull works!

This is the error, I understand what it means, just not how it can exist 30 minutes after I built the first jar. Luckily I move the jar file out to a "lib" folder just so the batch file would work unedited.

`"C:\Program Files\Amazon Corretto\jdk1.8.0_252\bin\java.exe" -Dfile.encoding=UTF-8 -Dmaven.wagon.http.ssl.easy=false -Dmaven.wagon.rto=10000 -javaagent:C:\Users\Stewart\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\231.9011.34\lib\idea_rt.jar=49929:C:\Users\Stewart\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\231.9011.34\bin -classpath C:\Users\Stewart.lein\self-installs\leiningen-2.10.0-standalone.jar clojure.main -m leiningen.core.main uberjar
Compiling mirthsync.core
Syntax error macroexpanding at (logging.clj:338:3).
Execution error (UnsupportedClassVersionError) at java.lang.ClassLoader/defineClass1 (ClassLoader.java:-2).
ch/qos/logback/classic/spi/LogbackServiceProvider has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

Full report at:
C:\Users\Stewart\AppData\Local\Temp\clojure-7711196913088364982.edn
Compilation failed: Subprocess failed (exit code: 1)

Process finished with exit code 1
`

@stewart-anderson
Copy link

Resolved with a newer JDK, still confused as to how it built initially. The wonders of Java!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants