java-game-server
java-game-server copied to clipboard
Could you change spring 3.x to spring 4.x
Could you change spring 3.x to spring 4.x ?
I alway use jdk 8.x, so get error:
Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: Failed to load bean class: io.nadron.example.SpringConfig; 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: class path resource [io/nadron/example/SpringConfig.class]; nested exception is java.lang.IllegalArgumentException
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:289)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:223)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:630)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:461)
at org.springframework.context.annotation.AnnotationConfigApplicationContext.
if change jdk to 1.7 or 1.6 all right. thank!
you can change it by yourself!just replace the jar