lucaconte / BeatTheMeddler

May become the "Signal [Modular] Community Edition"
31 stars 16 forks source link

Failed to find Premain-Class manifest attribute in ...\PushServer\target\Push-Server-0.12.0-capsule-fat.jar #10

Closed wildan-m closed 7 years ago

wildan-m commented 7 years ago

When i try to run the PushServer at this step:

java -jar Push-Server-<VERSION>-capsule-fat.jar server YourPushServerConfigFile.yml

Then this error raised:

Failed to find Premain-Class manifest attribute in ...\PushServer\target\Push-Server-0.12.0-capsule-fat.jar
Error occurred during initialization of VM
agent library failed to init: instrument
CAPSULE: Client connection failed.
CAPSULE EXCEPTION: Accept timed out while processing null null: null (for stack trace, run with -Dcapsule.log=verbose)

I've been create manifest with this two scripts

jar -tf Push-Server-0.12.0-capsule-fat.jar

jar -xf Push-Server-0.12.0-capsule-fat.jar META-INF/MANIFEST.MF

Anyone know what the issue is?

wildan-m commented 7 years ago

Solve it with switching capsule plugin version

http://stackoverflow.com/questions/40986742/failed-to-find-premain-class-manifest-attribute-in-pushserver-target-push-se