Company logo
  • Empleos
  • Bootcamp
  • Acerca de nosotros
  • Para profesionales
    • Inicio
    • Empleos
    • Cursos y retos
    • Preguntas
    • Profesores
    • Bootcamp
  • Para empresas
    • Inicio
    • Nuestro proceso
    • Planes
    • Pruebas
    • Nómina
    • Blog
    • Calculadora

0

97
Vistas
the type org.springframework.core.nestedruntimeexception cannot be resolved.It is indirectly referenced from required .class files

I am new to Spring. While using ApplicationContext in my main class.I am getting the below error the type org.springframework.core.NestedRuntimeException cannot be resolved.It is indirectly referenced from required .class files I am using Spring 4.3.7 with maven.Please help

enter image description here

8 months ago · Santiago Trujillo
3 Respuestas
Responde la pregunta

0

I had the same problem and it happened because my local repository was corrupted. I manually deleted the local repository and forced maven to download again

8 months ago · Santiago Trujillo Denunciar

0

Just go to your .m2 folder where your dependency(springframework) is downloaded and manually delete it. Then again paste the dependency in your pom.xml file and save it.But do it with a stable internet connection.

8 months ago · Santiago Trujillo Denunciar

0

I would just using spring boot ...it makes starting with spring easier. That error is occurring because you don't have all the correct jars in yoour class path e.g. add to your maven/gradle/buildpath file:

<dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-core</artifactId>
    <version>4.3.7.RELEASE</version>
</dependency>
8 months ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar empleo Planes Nuestro proceso Comercial
Legal
Términos y condiciones Política de privacidad
© 2023 PeakU Inc. All Rights Reserved.