Error when using LogManager (l4j2) with Java 8 (java.lang.reflect.AnnotatedElement cannot be resolved)

后端 未结 5 701
南旧
南旧 2020-11-22 12:14

I just encountered a strange error when switching the JDK version of a new Project of mine from 7u45 to 8u20. A harmless LogManager declaration at the beginning of my class

5条回答
  •  逝去的感伤
    2020-11-22 13:15

    I was using Eclipse Helios with JRE 8 and updating the software solve the problem.

    Now I'm using Eclipse Mars and works just fine -> https://eclipse.org/downloads/

提交回复
热议问题