Skip to content

Commit

Permalink
avoid startup errors on windows by specifying the mainClass explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
cbellone committed Nov 11, 2020
1 parent ec0753e commit 5f25d7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ bootRun {
opts += externalConfig.readLines()
}
jvmArgs = opts
mainClass = 'alfio.config.SpringBootLauncher'
}

bootWar {
Expand Down

0 comments on commit 5f25d7a

Please sign in to comment.