elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Guía rápida para descarga de herramientas gratuitas de seguridad y desinfección


+  Foro de elhacker.net
|-+  Programación
| |-+  Programación General
| | |-+  No arranca mi aplicacion de Spring boot
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: No arranca mi aplicacion de Spring boot  (Leído 3,601 veces)
EdiazMan

Desconectado Desconectado

Mensajes: 2


Ver Perfil
No arranca mi aplicacion de Spring boot
« en: 6 Octubre 2021, 17:53 pm »

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 Desconectado

Mensajes: 628



Ver Perfil
Re: No arranca mi aplicacion de Spring boot
« Respuesta #1 en: 6 Octubre 2021, 20:56 pm »

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 Desconectado

Mensajes: 2


Ver Perfil
Re: No arranca mi aplicacion de Spring boot
« Respuesta #2 en: 6 Octubre 2021, 22:52 pm »

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

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

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,337 Último mensaje 2 Marzo 2021, 03:02 am
por Beginner Web
algun curso de spring boot?
Desarrollo Web
Beginner Web 1 2,345 Último mensaje 13 Marzo 2021, 10:13 am
por [u]nsigned
spring boot crud modales
Desarrollo Web
Beginner Web 0 2,001 Último mensaje 22 Abril 2021, 20:10 pm
por Beginner Web
favicon spring boot
Desarrollo Web
Beginner Web 2 2,920 Último mensaje 25 Abril 2021, 03:11 am
por Beginner Web
Spring Boot Crud
Java
thejax 2 3,133 Último mensaje 14 Mayo 2021, 05:32 am
por thejax
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines