Closed PretzelJohn closed 2 years ago
When loading my plugin, I get the following error: java.lang.NoClassDefFoundError: com/tchristofferson/configupdater/ConfigUpdater
This error is caused by ConfigUpdater not being included in the packaged jar. Here is my pom.xml:
`<?xml version="1.0" encoding="UTF-8"?>
Relocate the shaded package
Look into the Maven Shade plugin. There are many resources online that are available such as https://stackoverflow.com/questions/10568275/noclassdeffounderror-on-maven-dependency.
When loading my plugin, I get the following error: java.lang.NoClassDefFoundError: com/tchristofferson/configupdater/ConfigUpdater
This error is caused by ConfigUpdater not being included in the packaged jar. Here is my pom.xml:
`<?xml version="1.0" encoding="UTF-8"?>