I am trying to build a simple maven based app for automated testing using SikuliX. The app is currently created as a most recent spring-boot application (v. 1.4.1). The app itself is rather simple (POC at the moment), one class as an Application (SpringBootApplication annotated, implementing CommandLineRunner) and one service (autowired, impl and interface). Nothing more, no other dependencies (just SikuliX, commons-lang3 and spring-boot-starter).
However, when I do run the app, Sikuli subsystem complaints about being run in headless mode.
I have tried using
SpringApplicationBuilder.headless(false).web(false).run(args);
setting System.setProperty("java.awt.headless", "false");
passing arguments to the JVM to disable headless mode. None of the options alone works as well as their combination. Spring-boot always assumes headless mode.
Is there anybody who come across issue like this?
PS: os is mac and windows, java 1.8
Have a nice day folks.
J.