[slf4j-dev] svn commit: r1272 - slf4j/trunk/slf4j-site/src/site/pages

ceki at slf4j.org ceki at slf4j.org
Thu Feb 5 15:54:50 CET 2009


Author: ceki
Date: Thu Feb  5 15:54:50 2009
New Revision: 1272

Modified:
   slf4j/trunk/slf4j-site/src/site/pages/codes.html
   slf4j/trunk/slf4j-site/src/site/pages/docs.html
   slf4j/trunk/slf4j-site/src/site/pages/faq.html

Log:
- minor additions to the docs.

Modified: slf4j/trunk/slf4j-site/src/site/pages/codes.html
==============================================================================
--- slf4j/trunk/slf4j-site/src/site/pages/codes.html	(original)
+++ slf4j/trunk/slf4j-site/src/site/pages/codes.html	Thu Feb  5 15:54:50 2009
@@ -101,6 +101,35 @@
     problem.
     </p>
 
+    <p>You can download SLF4J bindings from the project <a
+    href="http:/w/ww.slf4j.org/download.html">download page</a>. </p>
+
+    <h3>
+      <a name="illegalAccess" href="">java.lang.IllegalAccessError: tried to access field
+      org.slf4j.impl.StaticLoggerBinder.SINGLETON from class
+      org.slf4j.LoggerFactory</a>
+    </h3>
+
+    <p>When this errors occurs, the exception looks as follows:</p>
+    <p class="source">java.lang.IllegalAccessError: tried to access field org.slf4j.impl.StaticLoggerBinder.SINGLETON \
+     from class org.slf4j.LoggerFactory
+  at org.slf4j.LoggerFactory.&lt;clinit&gt;(LoggerFactory.java:60)
+  ... </p>
+
+    <p>The error is caused by the static initilizer of the
+    <code>LoggerFactory</code> class attempting to directly access the
+    SINGLETON field of
+    <code>org.slf4j.impl.StaticLoggerBinder</code>. While this was
+    allowed in SLF4J 1.5.5 and earlier, in 1.5.6 and later the
+    SINGLETON field has been marked as private access.
+    </p>
+    
+    <p>From a broader perspective, this issue is a manifestation of
+    problems encountered when mixing different versions of SLF4J
+    artifacts.  Please also refer to the relevant <a
+    href="faq.html#compatibility">FAQ entry</a>.
+    </p>
+
     <h3>
       <a name="null_LF" href="#null_LF">Logging factory implementation
       cannot be null</a>

Modified: slf4j/trunk/slf4j-site/src/site/pages/docs.html
==============================================================================
--- slf4j/trunk/slf4j-site/src/site/pages/docs.html	(original)
+++ slf4j/trunk/slf4j-site/src/site/pages/docs.html	Thu Feb  5 15:54:50 2009
@@ -24,6 +24,7 @@
   <ul>
     <li><a href="manual.html">User manual</a></li>
     <li><a href="faq.html">FAQ</a></li>    
+    <li><a href="codes.html">SLF4J error messages</a></li>    
     <li><a href="legacy.html">Bridging legacy APIs</a></li>    
     <li><a href="migrator.html">SLF4J migrator</a></li>    
     <li><a href="extensions.html">SLF4J extensions</a></li>        

Modified: slf4j/trunk/slf4j-site/src/site/pages/faq.html
==============================================================================
--- slf4j/trunk/slf4j-site/src/site/pages/faq.html	(original)
+++ slf4j/trunk/slf4j-site/src/site/pages/faq.html	Thu Feb  5 15:54:50 2009
@@ -355,6 +355,8 @@
       </p>
     </dd>
 
+    <hr />
+
     <!-- ==================================================== -->
 
     <dt>



More information about the slf4j-dev mailing list