We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Search found 1 match

Go to advanced search

by nufar
Wed Dec 27, 2017 2:29 pm
Forum: Building Installers
Topic: Running jar as a service - Could not find or load main class error
Replies: 1
Views: 5470
 
Jump to post

Running jar as a service - Could not find or load main class error

We have a jar that contains the following:
1. META-INF with manifest
2.BOOT-INF with the following folders:
2.1 classes (all our code is under this folder)
2.2 lib
3. org

The manifest file looks like:
Manifest-Version: 1.0
Start-Class: com.x.y.Main
Spring-Boot-Classes: BOOT-INF/classes/
Spring ...

Go to advanced search