cobbzilla/s3s3mirror

no main manifest attribute, in s3s3mirror/target/s3s3mirror-2.1.5-SNAPSHOT.jar

Opened this issue · 2 comments

Hi,

I encounter the above error upon trying to run the shell script. Do I need to adjust something?

Best,
Georg

I have this same issue as well. Trying to build the jar using maven 3 by executing mvn package, but the file size is less than 1MB (version 1.2.8 the JAR file is more than 12MB), and executing the jar with ./s3s3mirror.sh gave me this error

According to this you need to build with profile flag: mvn package -P uberjar

BTW if you have java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor (in unnamed module @0x4e20a985) cannot access class com.sun.tools.javac.processing.JavacProcessingEnvironment (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.processing to unnamed module @0x4e20a985 error bump lombok version in pom.xml to at least 1.18.22 (stackoverflow source)