Closed philskillz-coder closed 2 months ago
What is your output of mvn --version
? Please verify that you are running maven with at least java 21.
What is your output of
mvn --version
? Please verify that you are running maven with at least java 21.
When running mvn --version
this is the output
Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
Maven home: C:\Program Files\JetBrains\IntelliJ IDEA 2023.2\plugins\maven\lib\maven3
Java version: 21.0.3, vendor: Amazon.com Inc., runtime: C:\Users\Philskillz\.jdks\corretto-21.0.3
Default locale: de_DE, platform encoding: UTF-8
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
Additionally this is the output when running mvn package
:
[INFO]
[INFO] -----------------------< de.skillz:betteritems >------------------------
[INFO] Building betteritems 1.0.0-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ betteritems ---
[INFO] Copying 1 resource from src\main\resources to target\classes
[INFO] Copying 0 resource from src\main\resources to target\classes
[INFO]
[INFO] --- compiler:3.11.0:compile (default-compile) @ betteritems ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- resources:3.3.1:testResources (default-testResources) @ betteritems ---
[INFO] Copying 0 resource from src\test\resources to target\test-classes
[INFO]
[INFO] --- compiler:3.11.0:testCompile (default-testCompile) @ betteritems ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- surefire:3.2.2:test (default-test) @ betteritems ---
[INFO]
[INFO] --- jar:3.3.0:jar (default-jar) @ betteritems ---
[INFO]
[INFO] --- shade:3.3.0:shade (default) @ betteritems ---
[INFO] Including net.wesjd:anvilgui:jar:1.5.3-SNAPSHOT in the shaded jar.
Unsupported class file major version 65
plugin.yml
name: BetterItems
version: '${project.version}'
main: de.skillz.betteritems.Main
api-version: 1.18
authors: [ Philskillz ]
description: Better Items - Custom recipes and Item signatures
I suspect the bug not being related to anvilgui. I started a new project and changed a few lines and version numbers and it works now. Thanks for engaging so fast
you welcome :) you can close the issue
Im running maven with Java21
This is the pom.xml