1. 程式人生 > >lambda表示式 java.lang.ArrayIndexOutOfBoundsException: 54295

lambda表示式 java.lang.ArrayIndexOutOfBoundsException: 54295

Caused by: java.lang.ArrayIndexOutOfBoundsException: 54295
	at org.springframework.asm.ClassReader.<init>(Unknown Source)
	at org.springframework.asm.ClassReader.<init>(Unknown Source)
	at org.springframework.asm.ClassReader.<init>(Unknown Source)
	at org.springframework.core.type.classreading.SimpleMetadataReader.<init>(SimpleMetadataReader.java:52)
	at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:80)
	at org.springframework.core.type.classreading.CachingMetadataReaderFactory.getMetadataReader(CachingMetadataReaderFactory.java:101)
	at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:238)
	... 34 more

將spring版本升級到4.x版本,spring3.x會報這個錯誤,
boot的可以選擇1.5.7.RELEASE版本或者以上