Reputation: 15
I have an application that was running fine when using Java1.7. We have recently upgraded to JAVA 1.8 after which the application isn't working. Below is the exception I am getting while launching it
Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class
: file [/gui/XXXXX$1.class];
nested exception is java.lang.ArrayIndexOutOfBoundsException: 13864
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:237)
We are using Spring 3.x with Java 8. Are they both compatible? If not to which version I have to upgrade? We cannot use JAVA 8 since other applications are built on that or is there a way to compile this source alone in JAVA 7? we are using maven to build the application. It is SEV1 priority so any help is highly appreciated. Thank you in advance
Upvotes: 0
Views: 1729