java.lang.ClassNotFoundException: ch.qos.logback.classic.spi.ThrowableProxy?

前端 未结 8 425
野趣味
野趣味 2021-01-01 14:00

while starting my weblogic(having my app war file containing logback-classic-1.0.1.jar),i am getting below exception.Any suggestion ?



        
相关标签:
8条回答
  • 2021-01-01 14:41

    I solved this problem by doing "mvn install" instead of "mvn clean install".

    0 讨论(0)
  • 2021-01-01 14:47

    If you exactly ensure that logback-class and logback-core already are in your classpath. See below. In your Logback.xml, you need add debug="true"

    <configuration debug="true">
    

    I encountered the problem 'java.lang.NoClassDefFoundError: ch/qos/logback/classic/spi/ThrowableProxy' in my tomcat. However, after adding debug = 'true', anything is ok.

    0 讨论(0)
提交回复
热议问题