Skip to content

Forge: Missing required library #344

@xadox-1st

Description

@xadox-1st

MSCS running in an Ubuntu 22.04.4 LTS LXC on Proxmox.

After setting up forge (tried several forge releases >=1.17.1) with the manual:
https://minecraftservercontrol.github.io/docs/mscs/adjusting-world-server-properties/forge

I am not able to start the forge server.
Most of the forge libraries can not be found. here is an snippet from the console.out:

...
Missing required library: org/ow2/asm/asm/9.7/asm-9.7.jar
Missing required library: org/ow2/asm/asm-analysis/9.7/asm-analysis-9.7.jar
Missing required library: org/ow2/asm/asm-commons/9.7/asm-commons-9.7.jar
Missing required library: org/ow2/asm/asm-tree/9.7/asm-tree-9.7.jar
Missing required library: org/ow2/asm/asm-util/9.7/asm-util-9.7.jar
Missing required library: org/slf4j/slf4j-api/2.0.9/slf4j-api-2.0.9.jar
...

All of the are under "/opt/mscs/server/forge-VERSION/libraries"

cat mscs.properties:

mscs-enabled=true
mscs-client-version=1.21.1
mscs-server-version=1.21.1
mscs-server-command=/opt/mscs/server/forge-1.21.1-52.0.2/run.sh
mscs-server-url=

cat ../forge-1.21.1-52.0.2/libraries/net/minecraftforge/forge/1.21.1-52.0.3/unix_args.txt

-Djava.net.preferIPv6Addresses=system -jar /opt/mscs/server/forge-1.21.1-52.0.2/forge-1.21.1-52.0.3-shim.jar

cat run.sh

#!/usr/bin/env sh
# Add custom JVM arguments (such as RAM allocation) to the user_jvm_args.txt

java -jar /opt/mscs/server/forge-1.21.1-52.0.2/forge-1.21.1-52.0.3-shim.jar --onlyCheckJava || exit 1

# Add custom program arguments (such as nogui) to the next line before the --nogui "$@" or pass them to this script directly
java @/opt/mscs/server/forge-1.21.1-52.0.2/user_jvm_args.txt @/opt/mscs/server/forge-1.21.1-52.0.2/libraries/net/minecraftforge/forge/1.21.1-52.0.3/unix_args.txt --nogui "$@"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions