Architecture/Back-End

[TroubleShooting] runApplication not found

HarryNam 2019. 8. 27. 08:00

I create new project with IntelliJ's spring initializer (link : https://start.spring.io/ )

 

runApplication

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.