Hola, Al instalar en el pom.xml la dependencia del spring start web me da un error de "unable to start web server". Controlé que el puerto 8080 estuviese sin uso, reinicié el IntelliJ y continua tirando error.
Tanto el pom.xml como el ScreenmatchApplication.java están bien.
Cuando realizo el Run me tira estos errores:
2024-11-02T13:26:46.900-03:00 ERROR 3145 --- [ main] o.s.b.web.embedded.tomcat.TomcatStarter : Error starting Tomcat context. Exception: org.springframework.beans.factory.BeanCreationException. Message: Error creating bean with name 'formContentFilter' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration.class]: Failed to instantiate [org.springframework.boot.web.servlet.filter.OrderedFormContentFilter]: Factory method 'formContentFilter' threw exception with message: com/fasterxml/jackson/databind/cfg/DatatypeFeature 2024-11-02T13:26:46.912-03:00 INFO 3145 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2024-11-02T13:26:46.916-03:00 WARN 3145 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server 2024-11-02T13:26:46.920-03:00 INFO 3145 --- [ main] .s.b.a.l.ConditionEvaluationReportLogger :
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 2024-11-02T13:26:46.926-03:00 ERROR 3145 --- [ main] o.s.boot.SpringApplication : Application run failed
org.springframework.context.ApplicationContextException: Unable to start web server ... Caused by: org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat ... Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'formContentFilter' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration.class]: Failed to instantiate [org.springframework.boot.web.servlet.filter.OrderedFormContentFilter]: Factory method 'formContentFilter' threw exception with message: com/fasterxml/jackson/databind/cfg/DatatypeFeature ... Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.web.servlet.filter.OrderedFormContentFilter]: Factory method 'formContentFilter' threw exception with message: com/fasterxml/jackson/databind/cfg/DatatypeFeature ... Caused by: java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/cfg/DatatypeFeature ...
Que puede ser? Estoy trabajando en una Mac, con Java 17. Muchas gracias!!