Rescribet
01/05/2022, 8:47 AMlib/<projectname>-<version>.jar
file has disappeared and running fails with an error:
Exception in thread "main" java.lang.IllegalArgumentException: Neither port nor sslPort specified. Use command line options -port/-sslPort or configure connectors in application.conf
I’ve tried reproducing by using the (CIO) ‘full stack web application’ project generator which basically fails with the same error, since it doesn’t use HOCON:
Caused by: java.lang.ClassNotFoundException: com.test.fullstack.application.ServerKt
Big Chungus
01/05/2022, 8:53 AMRescribet
01/05/2022, 8:54 AMwithJava()
call is present in both projects under kotin { jvm {
Big Chungus
01/05/2022, 8:55 AMRescribet
01/05/2022, 8:56 AMembeddedServer
Big Chungus
01/05/2022, 8:57 AMRescribet
01/05/2022, 8:58 AM2.0.0-beta1
and 1.6.3
, with gradles 7+ and kotlin 1.6.10
Big Chungus
01/05/2022, 8:59 AMRescribet
01/05/2022, 9:03 AMBig Chungus
01/05/2022, 9:07 AMRescribet
01/05/2022, 9:21 AMBig Chungus
01/05/2022, 9:24 AMRescribet
01/06/2022, 9:56 AMBig Chungus
01/06/2022, 9:59 AM