
I create new project with IntelliJ's spring initializer (link : https://start.spring.io/ ) And main function is automatically generate, but runApplication does not configured because below can't import. import org.springframework.boot.runApplication As a result, I upgrade spring boot version from 1.x.x to 2.0.4.RELEASE and problem resolved.
Trouble Shooting history When I run gradle, I got below message. $ Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.So, first I put --warning-mode=all to gradle command like below. $ ./gradlew clean build --warning-mode=allAnd I find DefaultSourceDirectorySet class's constructor has been deprecated (below detail message) Configure project : The Defau..
One of the most common errors in many programming languages, including Java, is that accessing a member without a reference value results in a null reference exception. In Java, this is equivalent to NullPointerException or NPE. Tony Hoare who applied NPE first time said. "I call it my billion-dollar mistake." Kotlin is basically developed to not allow nulls when defining variables, and even if ..