JavaSpring在使用全注解注入的时候
org.springframework.cglib.core.CodeGenerationException: java.lang.IllegalAccessException-->module test does not open Garson.config to module spring.core
Caused by: java.lang.IllegalAccessException: module test does not open Garson.config to module spring.core
问题原因:module文件中没有添加相关配置
解决办法:添加即可
opens Garson.config;