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

前端 未结 8 426
野趣味
野趣味 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:29

    I have been getting this same error when breaking out (ctrl-c) from Dropwizard server, I finally learned why I get it.

    My Dropwizard is build into one fat jar, that I build with Gradle, and when running server on my local computer I run it directly from build/libs/...fat.jar

    So this exception occurs when I have changed source code, built app-server again, and Gradle has overwritten the same jar I am currently running with "java -jar ...", so it's not that weird that classes that haven't been used before that session will not load ok :)

提交回复
热议问题