Troubleshoot errors

org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘ABC’ defined in class path resource [spring/test-spring-abc.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError:
Caused by: java.lang.NoClassDefFoundError:

This error occurred while executing JUnit on RAD 8. To fix the issue, go to Run As > Run Configuration and add the jar to classpath as shown below.


[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

Solution: click here 

Maven M2_REPO is non modifiable and how to change repo path

Solution: click here-1 and  click here-2

Exception in thread “main” java.lang.IllegalStateException: Failed to read Class-Path attribute from manifest of jar file:/C:/lab/repo/.m2/commons-io/commons-io/2.6/commons-io-2.6.jar

Solution: It could be due to a corrupted jar. Can you try cleaning out your Maven cache  (local repository) and trying again?





Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this:
search previous next tag category expand menu location phone mail time cart zoom edit close