First, I'm using Windows. 😞 I'm also using the setup in the Spring Boot Kotlin tutorial (
https://spring.io/guides/tutorials/spring-boot-kotlin/). I ran into a bunch of issues when the classpath/filename became too large.
My Application looks exactly like this (but different names of course)
package <http://com.example.blog|com.example.blog>
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
@SpringBootApplication
class BlogApplication
fun main(args: Array<String>) {
runApplication<BlogApplication>(*args)
}
This used to work fine. However, because of the Windows issue, I needed to use the
id("com.github.ManifestClasspath") version "0.1.0-RELEASE"
plugin. In doing that, I got this
Main class name has not been configured and it could not be resolved
.