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: com.ibm.ffdc.Manager
Caused by: java.lang.NoClassDefFoundError: com.ibm.ffdc.Manager

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.

rad_jar

[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?

d

 

 

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

w

Connecting to %s