Error attempting to deploy

When trying to deploy my backend project fails due to an error. This is the description of the error:

Feb 12 09:22:12 PM 2023-02-13 00:22:12.005 ERROR 1 — [ main] o.s.b.web.embedded.tomcat.TomcatStarter : Error starting Tomcat context.
Exception: org.springframework.beans.factory.UnsatisfiedDependencyException. Message: Error creating bean with name ‘mainSecurity’: Unsatisfied dependency expressed through method
‘setContentNegotationStrategy’ parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name ‘org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration’: Unsatisfied dependency expressed through method
‘setConfigurers’ parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name
‘openEntityManagerInViewInterceptorConfigurer’ defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/JpaBaseConfiguration$JpaWebConfiguration.class]:
Unsatisfied dependency expressed through method ‘openEntityManagerInViewInterceptorConfigurer’ parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name ‘openEntityManagerInViewInterceptor’
defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/JpaBaseConfiguration$JpaWebConfiguration.class]: Initialization of bean failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘entityManagerFactory’
defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is
javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory; nested exception is org.hibernate.exception.SQLGrammarException:
Unable to open JDBC Connection for DDL execution
Feb 12 09:22:13 PM 2023-02-13 00:22:13.010 WARN 1 — [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization -
cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException:
Unable to start embedded Tomcat.

Please help! thanks.

Hey Luis,

Thanks for reaching out!

It looks like there are all kinds of issues here. Were you able to deploy your project via Docker locally?

Regards.
Jérémy, Render Support

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.