[logback-user] java.lang.classcircularityerror java/util/logging/logrecord

Abhijit Kangale abhi981.kgl at gmail.com
Fri May 20 11:46:24 UTC 2016


Hi Team,



I have configured logback.xml for my spring boot application. My spring
boot version - 1.3.3.RELEASE, java version - 1.8 update 45, tomcat version
- 8.

I have put logback.xml file in my local tomcats /lib folder.

Whenever I am running my tomcat without debug configuration it works fine.

But whenever I am trying run tomcat server with debug configured in
catalina.bat file (with this option - set "JAVA_OPTS=-Xdebug
-Xrunjdwp:transport=dt_socket...... ) it displays
java.lang.ClassCircularityError: java/util/logging/LogRecord and tomcat
window closes.

Detailed error trace :

java.lang.ClassCircularityError: java/util/logging/LogRecord

at
org.slf4j.bridge.SLF4JBridgeHandler.getSLF4JLogger(SLF4JBridgeHandler.java:
200)

at org.slf4j.bridge.SLF4JBridgeHandler.publish(SLF4JBridgeHandler.java:289)

at java.util.logging.Logger.log(Logger.java:458)

at java.util.logging.Logger.doLog(Logger.java:480)

at java.util.logging.Logger.logp(Logger.java:596)



I have tried all the solutions given in thread -
http://stackoverflow.com/questions/2656565/classcircularityerror-when-running-tomcat-6-from-eclipse.
But nothing is working.



Can I get some pointers to resolve this issue?

I have attached my logback.xml file.

Thanks,

Abhijit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20160520/05144df1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logback.xml
Type: text/xml
Size: 6328 bytes
Desc: not available
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20160520/05144df1/attachment.xml>


More information about the logback-user mailing list