Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tacerus opened this issue Jul 23, 2021 · 2 comments

Comments

@tacerus
Copy link

tacerus commented Jul 23, 2021

Hi,

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

Best,
Georg

@tanmng
Copy link

tanmng commented Oct 17, 2021

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

@superpupervlad
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants