Skip to content

Help with building the jar #24

@TankObliterator

Description

@TankObliterator

I created a codespace and ran "./build.sh" but it gave me this error:

[INFO] Changes detected - recompiling the module! :source [INFO] Compiling 714 source files with javac [debug optimize release 21] to target/classes [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] PaperSpigot-Parent dev-SNAPSHOT .................... SUCCESS [ 3.421 s] [INFO] PaperSpigot-API 1.8.8-R0.1-SNAPSHOT ................ FAILURE [ 17.893 s] [INFO] PaperSpigot 1.8.8-R0.1-SNAPSHOT .................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 21.539 s [INFO] Finished at: 2025-09-04T19:00:56Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project paperspigot-api: Fatal error compiling: error: release version 21 not supported -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :paperspigot-api @TankObliterator ➜ /workspaces/KigPaper (ver/1.8.8) $

If someone could point me in the right direction would greatly appreciate it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions