Autor
|
Tema: No arranca mi aplicacion de Spring boot (Leído 3,621 veces)
|
EdiazMan
Desconectado
Mensajes: 2
|
Les comento tengo un proyecto en Spring boot esta todo bien instalado pero al momento de arrancar marca el siguiente log.
2021-10-06T10:52:52.473-0500 ERROR Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'catPlantasDaoJpa': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Not a managed type: class com.fcagroup.sugiere.vo.AreaImpactoVo at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1794) ~[spring-beans-5.2.10.RELEASE.jar:5.2.10.RELEASE]
|
|
|
En línea
|
|
|
|
sapito169
Desconectado
Mensajes: 628
|
tines que leer el mensaje de error con calma si tienes que aprender ingles aprendes
falla --generqado por-> catPlantasDaoJpa --generado por--> AreaImpactoVo
AreaImpactoVo es muy probable que tenga mal anotacion jpa
tambien puede ser que en la clase catPlantasDaoJpa (que por nomenclatura de clases deberia comenzar con Mayuscula) no pusiste el autowired a un objeto del tipo AreaImpactoVo
|
|
|
En línea
|
|
|
|
EdiazMan
Desconectado
Mensajes: 2
|
ya ajuste mis clases y mis repositorios pero me manda de nuevo el error.
2021-10-06T15:50:27.902-0500 ERROR Error starting Tomcat context. Exception: org.springframework.beans.factory.UnsatisfiedDependencyException. Message: Error creating bean with name 'siteMinderSecurityConfig': 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 org.hibernate.AnnotationException: No identifier specified for entity: com.fcagroup.sugiere.vo.AreaImpactoVo 2021-10-06T15:50:28.374-0500 ERROR Application run failed org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:156) ~[spring-boot-2.2.11.RELEASE.jar:2.2.11.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:545) ~[spring-context-5.2.10.RELEASE.jar:5.2.10.RELEASE] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141) ~[spring-boot-2.2.11.RELEASE.jar:2.2.11.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747) [spring-boot-2.2.11.RELEASE.jar:2.2.11.RELEASE]
|
|
|
En línea
|
|
|
|
|
Mensajes similares |
|
Asunto |
Iniciado por |
Respuestas |
Vistas |
Último mensaje |
|
|
Crud en Spring Boot con Modales, Java, Spring Boot thymeleaf.
Desarrollo Web
|
Beginner Web
|
0
|
3,357
|
2 Marzo 2021, 03:02 am
por Beginner Web
|
|
|
algun curso de spring boot?
Desarrollo Web
|
Beginner Web
|
1
|
2,368
|
13 Marzo 2021, 10:13 am
por [u]nsigned
|
|
|
spring boot crud modales
Desarrollo Web
|
Beginner Web
|
0
|
2,020
|
22 Abril 2021, 20:10 pm
por Beginner Web
|
|
|
favicon spring boot
Desarrollo Web
|
Beginner Web
|
2
|
2,944
|
25 Abril 2021, 03:11 am
por Beginner Web
|
|
|
Spring Boot Crud
Java
|
thejax
|
2
|
3,153
|
14 Mayo 2021, 05:32 am
por thejax
|
|