org.springframework.boot
spring-boot-starter-parent
I had the same problem, it seems that:
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.0</version>
</dependency>
had dependency to jackson-annotations in version 2.8.0 which crashed somehow with my other jackson dependencies.
after modifying the dependency as follows:
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<exclusions>
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
</exclusion>
</exclusions>
</dependency>
and adding explicit dependency on:
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.9.0</version>
</dependency>
problem was solved for me :)
In my case, a rebuilding from IntelliJ worked. I changed the active profile, which should require a full rebuilding.
2020-09-27T20:14:09.765263+00:00 app[web.1]: Caused by: java.lang.IllegalStateException: StandardEngine[Tomcat].StandardHost[localhost].TomcatEmbeddedContext[] failed to start
2020-09-27T20:14:09.765264+00:00 app[web.1]: at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.rethrowDeferredStartupExceptions(TomcatWebServer.java:187) ~[spring-boot-2.3.4.RELEASE.jar!/:2.3.4.RELEASE]
2020-09-27T20:14:09.765270+00:00 app[web.1]: at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:126) ~[spring-boot-2.3.4.RELEASE.jar!/:2.3.4.RELEASE]
2020-09-27T20:14:09.765270+00:00 app[web.1]: ... 22 common frames omitted
2020-09-27T20:14:09.765270+00:00 app[web.1]:
2020-09-27T20:14:09.845682+00:00 heroku[web.1]: Process exited with status 1
Add this dependency to your pom.xml.
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
Tomcat dependency (spring-boot-starter-tomcat) is not required as it is already inbuilt with "spring-boot-starter-web"