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

build failed #87

Closed
Bruce0203 opened this issue Feb 21, 2023 · 1 comment
Closed

build failed #87

Bruce0203 opened this issue Feb 21, 2023 · 1 comment

Comments

@Bruce0203
Copy link

Bruce0203 commented Feb 21, 2023

Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 63
        at org.objectweb.asm.ClassReader.<init>(ClassReader.java:199)
        at org.objectweb.asm.ClassReader.<init>(ClassReader.java:180)
        at org.objectweb.asm.ClassReader.<init>(ClassReader.java:166)
        at org.objectweb.asm.ClassReader.<init>(ClassReader.java:287)
        at kr.entree.spigradle.module.common.SubclassDetection.inspect(SubclassDetection.kt:103)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:125)
        at org.gradle.api.internal.project.taskfactory.IncrementalTaskAction.doExecute(IncrementalTaskAction.java:45)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:51)
        at org.gradle.api.internal.project.taskfactory.IncrementalTaskAction.execute(IncrementalTaskAction.java:26)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:29)

there is some issue related from embedded JVM platform, that reflections do not detect classes with Java 11.0.16...
more info...

so I wish spigradle support using reflections option ON/OFF
source code link

@Bruce0203 Bruce0203 changed the title build failed (feature request) build failed Feb 21, 2023
@Bruce0203
Copy link
Author

I realized the problem was Java version compatibility problem...
Duh.

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

1 participant