runApplication not found

less than 1 minute read

Trouble Shooting history

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 had to upgrade spring boot version from 1.x.x to 2.0.4.RELEASE and problem solved.