Page 1 of 1

Error : org.slf4j.impl.StaticLoggerBinder

Posted: Mon Apr 14, 2014 2:55 pm
by rppgowtham
Hi,
I am getting this error when I tried to install maven. I am struck at the step after changing location at (build.properties).
Any help would be really appreciated. Please help .

Please Note : if I add dependencies , Error is gone but website is not deployed.

Thanks a lot in advance.


SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] ecommerce
[INFO] core
[INFO] admin
[INFO] site
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ecommerce 1.0
[INFO] ------------------------------------------------------------------------
Downloading: http://repo.maven.apache.org/maven2/org ... -2.3.1.pom
Downloaded: http://repo.maven.apache.org/maven2/org ... -2.3.1.pom (5 KB at 17.0 KB/sec)
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ ecommerce-website ---
Downloading: http://repo.maven.apache.org/maven2/org ... st-1.0.pom
Downloaded: http://repo.maven.apache.org/maven2/org ... st-1.0.pom (2 KB at 11.1 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org ... -1.1.7.pom
Downloaded: http://repo.maven.apache.org/maven2/org ... -1.1.7.pom (5 KB at 62.3 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org ... st-1.0.jar
Downloaded: http://repo.maven.apache.org/maven2/org ... st-1.0.jar (12 KB at 123.2 KB/sec)
[INFO] Installing C:\BroadleafCommerece\eclipse-workspace\DemoSite\pom.xml to C:\Documents and Settings\Administrator\.m2\repository\com\mycompany\ecommerce-website\1.0\ecommerce-website-1.0.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building core 1.0
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] ecommerce ......................................... SUCCESS [1.250s]
[INFO] core .............................................. FAILURE [0.734s]
[INFO] admin ............................................. SKIPPED
[INFO] site .............................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.187s
[INFO] Finished at: Mon Apr 14 15:21:35 ADT 2014
[INFO] Final Memory: 8M/21M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project core: Could not resolve dependencies for project com.mycompany:core:jar:1.0: Could not find artifact jdk.tools:jdk.tools:jar:1.6 at specified path C:\Program Files\Java\jre7/../lib/tools.jar -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/disp ... nException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :core

Re: Error : org.slf4j.impl.StaticLoggerBinder

Posted: Tue Apr 22, 2014 11:55 am
by phillipuniverse
Do you have a full JDK installed or just a JRE?

Re: Error : org.slf4j.impl.StaticLoggerBinder

Posted: Wed Apr 23, 2014 10:32 pm
by rppgowtham
Thank you for getting me back and Sorry for late reply. I was busy with my exams.
And,
Yes, I do have jdk1.7.0_51 and jre Installed in C:\Program Files\Java. I am using windows 7 64 bit.

Re: Error : org.slf4j.impl.StaticLoggerBinder

Posted: Wed Apr 23, 2014 11:40 pm
by rppgowtham
Hey guys, I rectified the error. Not a big deal . I have kept set JAVA_HOME in environment variable. Now it is working fine. Thanks you !! :D :D :D :D :D