Reflections - Java 8 - invalid constant type

后端 未结 6 1019
余生分开走
余生分开走 2020-11-28 09:41

I have a problem with Reflections library. I am trying to load dynamically all classes which implement specific interface. Everything works fine (all classes are loaded) as

6条回答
  •  半阙折子戏
    2020-11-28 10:19

    On Websphere I solved the problem by enabling the "parent last" classloader for that application so that the JARs packaged with the application take precedence over the ones provided by the server.

提交回复
热议问题