Thanks Geoffrey!&nbsp; I patched this yesterday with slf4j-jcl and slf4j-nop for no loging.&nbsp; I&#39;ll post the mavne dependencies later this morning in case others wish to use non-log4j implementations. :)&nbsp; I did noticeas well&nbsp; that the &quot;scoreCalculator&quot; global is referenced by name from the solver.&nbsp; Want me to file a jira issue on that?&nbsp; It seems strange that the variable name shoudl be static like that to me.<br>
<br>best wishes,<br><br>Andrew<br><br><div class="gmail_quote">On Fri, Feb 13, 2009 at 7:55 AM, Geoffrey De Smet <span dir="ltr">&lt;<a href="mailto:ge0ffrey.spam@gmail.com">ge0ffrey.spam@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Adding the slf4j-log4j12 dependency to your pom.xml should fix it :)<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;dependency&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;groupId&gt;org.slf4j&lt;/groupId&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;artifactId&gt;slf4j-log4j12&lt;/artifactId&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;scope&gt;runtime&lt;/scope&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;/dependency&gt;<br>
<br>
Not sure how changing anything in drools-solver-examples could fix it, normally your project wouldn&#39;t depend on it, only on drools-solver-core.<div class="Ih2E3d"><br>
<br>
With kind regards,<br>
Geoffrey De Smet<br>
<br>
<br></div>
Greg Barton schreef:<div><div></div><div class="Wj3C7c"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I was getting the error below running the benchmarkNQueens.sh script in drools-solver-examples. &nbsp;I got around it by taking the &quot;&lt;scope&gt;runtime&lt;/scope&gt;&quot; line out of the slf4j-log4j12 dependency in drools-solver-examples/pom.xml. &nbsp;Not sure if that&#39;s the right way to get around it, but it worked. :)<br>

<br>
--- On Fri, 2/13/09, Geoffrey De Smet &lt;<a href="mailto:ge0ffrey.spam@gmail.com" target="_blank">ge0ffrey.spam@gmail.com</a>&gt; wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
From: Geoffrey De Smet &lt;<a href="mailto:ge0ffrey.spam@gmail.com" target="_blank">ge0ffrey.spam@gmail.com</a>&gt;<br>
Subject: [rules-users] Re: drools-solver -- logger error (slf4j binding)?<br>
To: <a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
Date: Friday, February 13, 2009, 1:04 AM<br>
drools-score (like hibernate and many other lib projects)<br>
just depends on sl4j-api, which is a logging interface.<br>
It&#39;s up to the end-use product to decide which logging<br>
implementation to use under that and how to configure the<br>
logging (where to log to, how much to log, ...).<br>
<br>
In the drools solver examples I &#39;ve put slf4j-log4j<br>
underneat it, because I am familiar with log4j&#39;s<br>
configuration, take a look at their log4j.xml files. However<br>
they say that the logback implementation is better these<br>
days.<br>
<br>
<br>
PS: I &#39;ll take a look at the other discussions this<br>
afternoon.<br>
<br>
With kind regards,<br>
Geoffrey De Smet<br>
<br>
Andrew Waterman schreef:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I&#39;m using the drools-solver.M5 build through Maven<br>
</blockquote>
and have gotten the following error while running my<br>
project:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
SLF4J: Failed to load class<br>
</blockquote>
&quot;org.slf4j.impl.StaticLoggerBinder&quot;.<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
SLF4J: See<br>
</blockquote>
<a href="http://www.slf4j.org/codes.html#StaticLoggerBinder" target="_blank">http://www.slf4j.org/codes.html#StaticLoggerBinder</a> for<br>
further details.<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I&#39;ve checked my dependency graph, and<br>
</blockquote>
drools-solver references the sl4j-api, but no<br>
implementation. &nbsp;I checked the mvnrepository, and there are<br>
several other slf4j related projects. &nbsp;What is the preferred<br>
binding for JDK1.6?<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
best wishes,<br>
<br>
Andrew<br>
<br>
---------------------------------<br>
Andrew Waterman<br>
San Cristóbal de las Casas, Chiapas, Mexico<br>
+52 1 967 107 5902<br>
+1 510 342 5693<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br>
</blockquote>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote>
<br>
<br>
 &nbsp; &nbsp; &nbsp;<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br>
</blockquote>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>+1 510 342 5693<br><br>PO Box 7775 #8750<br>San Francisco, California &nbsp; 94120-7775<br><br>&quot;Warning: &nbsp;following standard input indefinitely is ineffective&quot;<br>
 - /bin/tail error message<br><br>&quot;Against logic there is no armor like ignorance.&quot;<br> &nbsp;- Laurence J. Pete<br>