I am using spring tools with the kotlin plugin but...
# spring
I am using spring tools with the kotlin plugin but unable to run my spring project. I get the following error: Error: Could not find or load main class za.co.vsp.nbrmanagement.NbrmanagementApplication Caused by: java.lang.ClassNotFoundException: za.co.vsp.nbrmanagement.NbrmanagementApplication
When you set the main class in the settings file, you might need to add the suffix
to the class name
And make sure that the package name is correct https://kotlinlang.org/docs/java-to-kotlin-interop.html#package-level-functions
I see this on a number of stack oflow responses but does not work
I am getting this now : Error occurred during initialization of boot layer java.lang.LayerInstantiationException: Package jdk.internal.jimage in both module jrt.fs and module java.base