ClassCircularityError when running Tomcat 6 from Eclipse

后端 未结 4 1977
误落风尘
误落风尘 2020-12-11 17:28

I\'m using Eclipse 3.5, with my Tomcat runtime set as Tomcat 6.0.26. My Java VM is JDK 1.6.17 (Mac OS X).

When I try to run a web application from an Eclipse Java E

相关标签:
4条回答
  • 2020-12-11 17:48

    I'm not sure why this resolved the problem, but setting the default level to INFO made this go away for me

    .level = INFO

    0 讨论(0)
  • 2020-12-11 17:49

    In had the same error when using Logback.

    In my case, the problem was I used JUL LevelChangePropagator in my Logback configuration file.

    So I just had to remove the following listener

    <contextListener class="ch.qos.logback.classic.jul.LevelChangePropagator">
        <resetJUL>true</resetJUL>
    </contextListener>
    
    0 讨论(0)
  • 2020-12-11 17:52

    I was able to circumvent this problem by moving the <contextListener ...> to the very end of the configuration file (previously, I had it at the beginning of the file). The error remains really weird, though.

    0 讨论(0)
  • 2020-12-11 17:52

    The problem is solved if you insert this snippet into your logback configuration:

    <!-- LEVEL CAN NOT BE DEBUG -->
    <logger name="org.apache" level="INFO"></logger>
    
    0 讨论(0)
提交回复
热议问题