Czar
06/12/2017, 6:22 PMCzar
06/12/2017, 6:23 PM@Autowired A a;
get's autowirded with A, sometimes with Kotlin KA, that varies between executions... But with Java KA it works correctly every single time.agomez
06/12/2017, 6:25 PMCzar
06/12/2017, 6:33 PMCzar
06/12/2017, 6:33 PMsrayhunter
06/12/2017, 6:43 PM@SpringBootApplication
class WebApplication
fun main(args: Array<String>) {
SpringApplication.run(WebApplication::class.java, *args)
}
and run into the following error: Error: Main method not found in class com.example.web.WebApplication, please define the main method as:
public static void main(String[] args)
any insight. I have tried the older method and it works.agomez
06/12/2017, 6:45 PMsrayhunter
06/12/2017, 6:47 PMsrayhunter
06/12/2017, 6:49 PMagomez
06/12/2017, 6:50 PMsrayhunter
06/12/2017, 6:50 PMagomez
06/12/2017, 6:51 PMsrayhunter
06/12/2017, 6:52 PMagomez
06/12/2017, 6:53 PMsrayhunter
06/12/2017, 6:53 PMsrayhunter
06/12/2017, 6:53 PMsrayhunter
06/12/2017, 6:56 PMdh44t
06/12/2017, 6:58 PMdh44t
06/12/2017, 6:58 PMagomez
06/12/2017, 6:58 PMdh44t
06/12/2017, 6:58 PMagomez
06/12/2017, 6:59 PMagomez
06/12/2017, 6:59 PMagomez
06/12/2017, 6:59 PMagomez
06/12/2017, 6:59 PMagomez
06/12/2017, 7:00 PMdh44t
06/12/2017, 7:00 PMError: Main method not found in class com.example.web.WebApplication, please define the main method as:
public static void main(String[] args)
agomez
06/12/2017, 7:00 PMdh44t
06/12/2017, 7:00 PM