<div dir="ltr"><p class="MsoNormal">Hi Team,</p>
<p class="MsoNormal"> </p>
<p style="margin:0in 0in 12pt;line-height:14.65pt;background-image:initial;background-repeat:initial"><span style="font-size:11.5pt;font-family:Arial,sans-serif;color:rgb(36,39,41)">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.</span></p>
<p style="margin:0in 0in 12pt;line-height:14.65pt;background-image:initial;background-repeat:initial"><span style="font-size:11.5pt;font-family:Arial,sans-serif;color:rgb(36,39,41)">I have put logback.xml file in my local tomcats /lib folder.</span></p>
<p style="margin:0in 0in 12pt;line-height:14.65pt;background-image:initial;background-repeat:initial"><span style="font-size:11.5pt;font-family:Arial,sans-serif;color:rgb(36,39,41)">Whenever I am running my tomcat without debug configuration it
works fine.</span></p>
<p style="margin:0in 0in 12pt;line-height:14.65pt;background-image:initial;background-repeat:initial"><span style="font-size:11.5pt;font-family:Arial,sans-serif;color:rgb(36,39,41)">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.</span></p>
<p style="margin:0in 0in 12pt;line-height:14.65pt;background-image:initial;background-repeat:initial"><span style="font-size:11.5pt;font-family:Arial,sans-serif;color:rgb(36,39,41)">Detailed error trace :</span></p>
<p class="MsoNormal" style="background:rgb(239,240,241)"><span style="font-size:10pt;font-family:Consolas;color:rgb(48,51,54);border:1pt none windowtext;padding:0in;background-image:initial;background-repeat:initial">java.lang.</span><span style="font-size:10pt;font-family:Consolas;color:rgb(43,145,175);border:1pt none windowtext;padding:0in;background-image:initial;background-repeat:initial">ClassCircularityError</span><span style="font-size:10pt;font-family:Consolas;color:rgb(48,51,54);border:1pt none windowtext;padding:0in;background-image:initial;background-repeat:initial">:
java/util/logging/</span><span style="font-size:10pt;font-family:Consolas;color:rgb(43,145,175);border:1pt none windowtext;padding:0in;background-image:initial;background-repeat:initial">LogRecord</span><span style="font-size:10pt;font-family:Consolas;color:rgb(48,51,54);border:1pt none windowtext;padding:0in;background-image:initial;background-repeat:initial"></span></p>
<p class="MsoNormal" style="background:rgb(239,240,241)"><span style="font-size:10pt;font-family:Consolas;color:rgb(48,51,54);border:1pt none windowtext;padding:0in;background-image:initial;background-repeat:initial">at
org.slf4j.bridge.SLF4JBridgeHandler.getSLF4JLogger(SLF4JBridgeHandler.java:</span><span style="font-size:10pt;font-family:Consolas;color:rgb(125,39,39);border:1pt none windowtext;padding:0in;background-image:initial;background-repeat:initial">200</span><span style="font-size:10pt;font-family:Consolas;color:rgb(48,51,54);border:1pt none windowtext;padding:0in;background-image:initial;background-repeat:initial">)</span></p>
<p class="MsoNormal" style="background:rgb(239,240,241)"><span style="font-size:10pt;font-family:Consolas;color:rgb(48,51,54);border:1pt none windowtext;padding:0in;background-image:initial;background-repeat:initial">at org.slf4j.bridge.SLF4JBridgeHandler.publish(SLF4JBridgeHandler.java:</span><span style="font-size:10pt;font-family:Consolas;color:rgb(125,39,39);border:1pt none windowtext;padding:0in;background-image:initial;background-repeat:initial">289</span><span style="font-size:10pt;font-family:Consolas;color:rgb(48,51,54);border:1pt none windowtext;padding:0in;background-image:initial;background-repeat:initial">)</span></p>
<p class="MsoNormal" style="background:rgb(239,240,241)"><span style="font-size:10pt;font-family:Consolas;color:rgb(48,51,54);border:1pt none windowtext;padding:0in;background-image:initial;background-repeat:initial">at java.util.logging.</span><span style="font-size:10pt;font-family:Consolas;color:rgb(43,145,175);border:1pt none windowtext;padding:0in;background-image:initial;background-repeat:initial">Logger</span><span style="font-size:10pt;font-family:Consolas;color:rgb(48,51,54);border:1pt none windowtext;padding:0in;background-image:initial;background-repeat:initial">.log(</span><span style="font-size:10pt;font-family:Consolas;color:rgb(43,145,175);border:1pt none windowtext;padding:0in;background-image:initial;background-repeat:initial">Logger</span><span style="font-size:10pt;font-family:Consolas;color:rgb(48,51,54);border:1pt none windowtext;padding:0in;background-image:initial;background-repeat:initial">.java:</span><span style="font-size:10pt;font-family:Consolas;color:rgb(125,39,39);border:1pt none windowtext;padding:0in;background-image:initial;background-repeat:initial">458</span><span style="font-size:10pt;font-family:Consolas;color:rgb(48,51,54);border:1pt none windowtext;padding:0in;background-image:initial;background-repeat:initial">)</span></p>
<p class="MsoNormal" style="background:rgb(239,240,241)"><span style="font-size:10pt;font-family:Consolas;color:rgb(48,51,54);border:1pt none windowtext;padding:0in;background-image:initial;background-repeat:initial">at java.util.logging.</span><span style="font-size:10pt;font-family:Consolas;color:rgb(43,145,175);border:1pt none windowtext;padding:0in;background-image:initial;background-repeat:initial">Logger</span><span style="font-size:10pt;font-family:Consolas;color:rgb(48,51,54);border:1pt none windowtext;padding:0in;background-image:initial;background-repeat:initial">.doLog(</span><span style="font-size:10pt;font-family:Consolas;color:rgb(43,145,175);border:1pt none windowtext;padding:0in;background-image:initial;background-repeat:initial">Logger</span><span style="font-size:10pt;font-family:Consolas;color:rgb(48,51,54);border:1pt none windowtext;padding:0in;background-image:initial;background-repeat:initial">.java:</span><span style="font-size:10pt;font-family:Consolas;color:rgb(125,39,39);border:1pt none windowtext;padding:0in;background-image:initial;background-repeat:initial">480</span><span style="font-size:10pt;font-family:Consolas;color:rgb(48,51,54);border:1pt none windowtext;padding:0in;background-image:initial;background-repeat:initial">)</span></p>
<p class="MsoNormal" style="background:rgb(239,240,241)"><span style="font-size:10pt;font-family:Consolas;color:rgb(48,51,54);border:1pt none windowtext;padding:0in;background-image:initial;background-repeat:initial">at java.util.logging.</span><span style="font-size:10pt;font-family:Consolas;color:rgb(43,145,175);border:1pt none windowtext;padding:0in;background-image:initial;background-repeat:initial">Logger</span><span style="font-size:10pt;font-family:Consolas;color:rgb(48,51,54);border:1pt none windowtext;padding:0in;background-image:initial;background-repeat:initial">.logp(</span><span style="font-size:10pt;font-family:Consolas;color:rgb(43,145,175);border:1pt none windowtext;padding:0in;background-image:initial;background-repeat:initial">Logger</span><span style="font-size:10pt;font-family:Consolas;color:rgb(48,51,54);border:1pt none windowtext;padding:0in;background-image:initial;background-repeat:initial">.java:</span><span style="font-size:10pt;font-family:Consolas;color:rgb(125,39,39);border:1pt none windowtext;padding:0in;background-image:initial;background-repeat:initial">596</span><span style="font-size:10pt;font-family:Consolas;color:rgb(48,51,54);border:1pt none windowtext;padding:0in;background-image:initial;background-repeat:initial">)</span><span style="font-size:10pt;font-family:Consolas;color:rgb(57,51,24)"></span></p>
<p class="MsoNormal"> </p>
<p style="margin:0in 0in 0.0001pt;line-height:14.65pt;background-image:initial;background-repeat:initial"><span style="font-size:11.5pt;font-family:Arial,sans-serif;color:rgb(36,39,41)">I have
tried all the solutions given in thread -</span><span style="color:rgb(0,0,0);font-family:'Droid Sans',sans-serif;font-size:14px;line-height:21px;background-color:rgb(235,220,197)"> </span><a class="" href="http://stackoverflow.com/questions/2656565/classcircularityerror-when-running-tomcat-6-from-eclipse" target="_blank" style="border:0px;margin:0px;padding:0.001em;font-stretch:inherit;font-size:14px;line-height:21px;font-family:'Droid Sans',sans-serif;vertical-align:baseline;color:rgb(0,0,128);background-color:rgb(235,220,197)">http://stackoverflow.com/questions/2656565/classcircularityerror-when-running-tomcat-6-from-eclipse</a><span style="font-size:11.5pt;font-family:Arial,sans-serif;color:rgb(36,39,41)">.
But nothing is working.</span></p>
<p style="margin:0in 0in 0.0001pt;line-height:14.65pt;background-image:initial;background-repeat:initial"><span style="font-size:11.5pt;font-family:Arial,sans-serif;color:rgb(36,39,41)"> </span></p>
<p style="margin:0in 0in 12pt;line-height:14.65pt;background-image:initial;background-repeat:initial"><span style="font-size:11.5pt;font-family:Arial,sans-serif;color:rgb(36,39,41)">Can I get some pointers to
resolve this issue?</span></p>
<p style="margin:0in 0in 12pt;line-height:14.65pt;background-image:initial;background-repeat:initial"><span style="font-size:11.5pt;font-family:Arial,sans-serif;color:rgb(36,39,41)">I have attached my logback.xml
file.</span></p>
<p style="margin:0in 0in 12pt;line-height:14.65pt;background-image:initial;background-repeat:initial"><span style="font-size:11.5pt;font-family:Arial,sans-serif;color:rgb(36,39,41)">Thanks,</span></p>
<p style="margin:0in 0in 12pt;line-height:14.65pt;background-image:initial;background-repeat:initial"><span style="font-size:11.5pt;font-family:Arial,sans-serif;color:rgb(36,39,41)">Abhijit</span></p></div>