Skip to content

Commit c9dfb75

Browse files
committed
ApplicationBootstrap: enable headless mode.
No functional changes.
1 parent 83ba091 commit c9dfb75

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/ru/mystamps/web/support/spring/boot/ApplicationBootstrap.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
public class ApplicationBootstrap {
4444

4545
public static void main(String... args) {
46+
System.setProperty("java.awt.headless", "true");
47+
4648
// @see http://www.slf4j.org/codes.html#loggerNameMismatch
4749
System.setProperty("slf4j.detectLoggerNameMismatch", "true");
4850

0 commit comments

Comments
 (0)