You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by cz...@apache.org on 2013/05/14 08:48:44 UTC

svn commit: r1482228 - /felix/site/trunk/content/documentation/faqs/apache-felix-scr-plugin-faq.mdtext

Author: cziegeler
Date: Tue May 14 06:48:44 2013
New Revision: 1482228

URL: http://svn.apache.org/r1482228
Log:
CMS commit to felix by cziegeler

Modified:
    felix/site/trunk/content/documentation/faqs/apache-felix-scr-plugin-faq.mdtext

Modified: felix/site/trunk/content/documentation/faqs/apache-felix-scr-plugin-faq.mdtext
URL: http://svn.apache.org/viewvc/felix/site/trunk/content/documentation/faqs/apache-felix-scr-plugin-faq.mdtext?rev=1482228&r1=1482227&r2=1482228&view=diff
==============================================================================
--- felix/site/trunk/content/documentation/faqs/apache-felix-scr-plugin-faq.mdtext (original)
+++ felix/site/trunk/content/documentation/faqs/apache-felix-scr-plugin-faq.mdtext Tue May 14 06:48:44 2013
@@ -26,12 +26,13 @@ During a SCR plugin run, a syntax error 
 
 ## NoClassDefFoundError during build 
 
-If the javadoc tags are used (and not the annotations) then the QDox library is used to parse/introspect the java class. For this the classes have to be loaded and static fields have to be initialized. If you have have for example something like
+This error might happen with older versions of the Maven SCR Plugins in combination with javadoc tags or newer versions in combination with the annotations.
+In both cases, the scanned classes have to be loaded and static fields have to be initialized. If you have have for example something like
 
     :::java
     private static final org.slf4f.Logger LOGGER = org.slf4j.LoggerFactory.getLogger("name");
 
-in your code, during the plugin run, a slf4j logger is tried to instantiated. This requires an implementation of the logger. Ususally your module only depends on the slf4j API and therefore a 
+in your code, during the plugin run, a slf4j logger is tried to be instantiated. This requires an implementation of the logger. Ususally your module only depends on the slf4j API and therefore a 
 
     :::plaintext
     java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder
@@ -55,3 +56,4 @@ In these cases you should add a dependen
         ...
     </plugin>
 
+or in the special case of slf4j, using slf4j API 1.6 or higher solves the problem as well
\ No newline at end of file