EXCEPTION

Spring Application Start Throw BeanDefinitionStoreException

When your Spring application startup, you may sometimes encounter such exceptions. org.springframework.beans.factory.BeanDefinitionStoreException. And the error message maybe like below.  Failed to read candidate component class: file nested exception is org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file – probably due to a new Java class file version that isn’t supported yet: nested exception is java.lang.IllegalArgumentException …

Spring Application Start Throw BeanDefinitionStoreException Read More »

Java Exception Indepth Research

The exception mechanism is how the program is handled when the program meet an error. It provides a safe exit method for java program. When an error occurs, the program executing process changes, and the control of the program is transferred to the exception handler.

How To Fix Java Unsupported major.minor Version 51.0 Exception

When you run a program in Eclipse or command line. You may encounter the following exception java.lang.UnsupportedClassVersionError: Unsupported major.minor version 51.0. This is because your java class compiler version is bigger than the java class runtime version. In my environment, my java runtime version is 1.6, but my eclipse java compiler version is 1.8. So …

How To Fix Java Unsupported major.minor Version 51.0 Exception Read More »