You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I clone this project, cd into the spring-boot-app directory, I can run it with mvn clean install spring-boot:run
However, the tutorial tells me to run: java -Dspring.profiles.active=default -jar target/spring-boot-ops.war
The war file that is generated with a maven build will be spring-boot-app-0.0.1-SNAPSHOT.war, but ok I changed that. When running the command: java -Dspring.profiles.active=default -jar target/spring-boot-app-0.0.1-SNAPSHOT.war
I get: no main manifest attribute, in target/spring-boot-app-0.0.1-SNAPSHOT.war
The text was updated successfully, but these errors were encountered:
This project is being used in the following guide:
https://stackify.com/guide-docker-java/#wpautbox_about
When I clone this project, cd into the spring-boot-app directory, I can run it with
mvn clean install spring-boot:run
However, the tutorial tells me to run:
java -Dspring.profiles.active=default -jar target/spring-boot-ops.war
The war file that is generated with a maven build will be spring-boot-app-0.0.1-SNAPSHOT.war, but ok I changed that. When running the command:
java -Dspring.profiles.active=default -jar target/spring-boot-app-0.0.1-SNAPSHOT.war
I get:
no main manifest attribute, in target/spring-boot-app-0.0.1-SNAPSHOT.war
The text was updated successfully, but these errors were encountered: