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

Target jar file is not runnable. #2

Open
pleubner opened this issue Nov 17, 2023 · 1 comment
Open

Target jar file is not runnable. #2

pleubner opened this issue Nov 17, 2023 · 1 comment

Comments

@pleubner
Copy link

pleubner commented Nov 17, 2023

I perform the maven instructions as described to build the target jar file, but the resulting jar file cannot be run with "java -jar ..."

I get "no main manifest attribute, in send-bpmn-message-1.0.0-with-dependencies.jar"

running using the maven command gives me:
mvn spring-boot:run

image

I am using maven installed to "C:\Users\leubner_p\apache-maven-3.9.5-bin\apache-maven-3.9.5\bin"

@pleubner
Copy link
Author

I see that the SendBPMNMessageFunction class has no main method , so that's a logical reason why the mainClass is missing in the pom.xml. But I don't see any sprint-boot stuff in the pom.xml .

Running via mvn with the springboot plugin for maven doesn't seem to work.

Is my mvn setup including spring-boot incorrect ?

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

1 participant