Getting java.lang.NoClassDefFoundError for my JAR extension

This is called manual installation. If you do this then you need to make sure you also copy any dependency that your JAR may have. The build environment (where Maven downloads the dependencies for your) and the runtime environment are different.