在使用Reflections反射框架的时候,发现在windows上没问题,但是在centos7上报了个java.lang.IllegalStateException 查资料发现该版本有bug,降级为0.9.11问题得到解决 github问题源 https://github.com/ronmamo/reflections/issues/279