Home > Back-end >  Under Caused by: Java. Lang. NoClassDefFoundError: org/springframework/core/NestedRuntim
Under Caused by: Java. Lang. NoClassDefFoundError: org/springframework/core/NestedRuntim

Time:10-04

Under Caused by: Java. Lang. NoClassDefFoundError: org/springframework/core/NestedRuntimeException
The at Java. Lang. This defineClass1 (Native Method)
The at Java. Lang. This. DefineClass (800). This Java:
The at Java. Security. SecureClassLoader. DefineClass (SecureClassLoader. Java: 142)
The at java.net.URLClassLoader.defineClass URLClassLoader. Java: (449)
The at java.net.URLClassLoader.access$100 URLClassLoader. Java: (71)
The at java.net.URLClassLoader$1.run URLClassLoader. Java: (361)
The at java.net.URLClassLoader$1.run URLClassLoader. Java: (355)
The at Java. Security. The AccessController. DoPrivileged (Native Method)
The at java.net.URLClassLoader.findClass URLClassLoader. Java: (354)
The at Java. Lang. This. LoadClass (425). This Java:
The at Java. Lang. This. LoadClass (358). This Java:
The at Java. Lang. This defineClass1 (Native Method)
The at Java. Lang. This. DefineClass (800). This Java:
The at Java. Security. SecureClassLoader. DefineClass (SecureClassLoader. Java: 142)
The at java.net.URLClassLoader.defineClass URLClassLoader. Java: (449)
The at java.net.URLClassLoader.access$100 URLClassLoader. Java: (71)
The at java.net.URLClassLoader$1.run URLClassLoader. Java: (361)
The at java.net.URLClassLoader$1.run URLClassLoader. Java: (355)
The at Java. Security. The AccessController. DoPrivileged (Native Method)
The at java.net.URLClassLoader.findClass URLClassLoader. Java: (354)
The at Java. Lang. This. LoadClass (425). This Java:
The at Java. Lang. This. LoadClass (358). This Java:
At com. Contx. Proxy. Server. Beans. FeedListArea. & lt; init> (FeedListArea. Java: 30)
At sun. Reflect. NativeConstructorAccessorImpl. NewInstance0 (Native Method)
At sun. Reflect. NativeConstructorAccessorImpl. NewInstance (NativeConstructorAccessorImpl. Java: 57)
At sun. Reflect. DelegatingConstructorAccessorImpl. NewInstance (DelegatingConstructorAccessorImpl. Java: 45)
The at Java. Lang. Reflect. Constructor. NewInstance (526) Constructor. Java:
The at org. Springframework. Beans. BeanUtils. InstantiateClass (BeanUtils. Java: 147)
. 31 more

I have a spring - core - 4.2.7. Local the jar this package

CodePudding user response:

Under Caused by: Java. Lang. NoClassDefFoundError: org/springframework/core/NestedRuntimeException

Is a maven project? Check whether Maven Dependencies are engineering reference correctly

CodePudding user response:

Is a maven project, project I can see maven Dependencies, but it is an error

CodePudding user response:

At com. Contx. Proxy. Server. Beans. FeedListArea. & lt; init> (FeedListArea. Java: 29)

Private RestTemplate RestTemplate=new RestTemplate ();
The initialization is have a problem with which package can't find

CodePudding user response:

reference 1st floor wlwlwlwl015 response:
under Caused by: Java. Lang. NoClassDefFoundError: org/springframework/core/NestedRuntimeException

Is a maven project? Check whether Maven Dependencies are engineering reference right

In the project to others can run on the computer, my computer is not, the eclipse and he gave me, why

CodePudding user response:

Milimalihong
reference 4 floor response:
Quote: refer to 1st floor wlwlwlwl015 response:

Under Caused by: Java. Lang. NoClassDefFoundError: org/springframework/core/NestedRuntimeException

Is a maven project? Check whether Maven Dependencies are engineering reference right

In the project to others can run on the computer, my computer is not, the eclipse and he gave me, why?

Look at your maven repository of spring package is complete ~ this kind of circumstance should be environmental issues to the project clean the ~

CodePudding user response:

NoClassDefFoundE may be lack of relevant jar package
Rror:
  • Related