readthefuckingmanual.net

[SOLVED] java.lang.NoSuchMethodError: org.springframework.boot.SpringApplication.run(Ljava/lang/Object;[Ljava/lang/String;)Lorg/springframework/context/ConfigurableApplicationContext;

Error added: 2020-11-22T14:26:41Z

0 people waiting for the answer...

1 answers found.

Answer 2624 (50.0% helpful)

I'd updated Spring Boot 1.4 to 2.1 when I got this.
Nothing was actually wrong here. Just there were some old classes left around from the old version of Spring Boot.

mvn clean solved it.
Permalink

Add an answer/solution

If you know the answer, please add your own solution below.
If you don't know, but find out later, please come back and share your answer - there will be other people struggling with this too.


Please enter 61948 here

If you want to be notified via email when this is solved, enter your email address here: