Building Akka from Git - failed to load class "org.slf4j.impl.StaticLoggerBinder".

230 views
Skip to first unread message

John Arnold

unread,
Jun 23, 2017, 4:46:55 AM6/23/17
to Akka User List
The steps I took:

1. git clone git://github.com/akka/akka.git
2. cd akka
3. sbt

The results:

...

[info] Compiling 18 Scala sources to /Users/Arnold/akka/project/target/scala-2.10/sbt-0.13/classes...

[info] 'compiler-interface' not yet compiled for Scala 2.10.6. Compiling...

[info]   Compilation completed in 9.344 s

[warn] there were 1 feature warning(s); re-run with -feature for details

[warn] one warning found

[info] Resolving key references (23893 settings) ...

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] Set current project to akka (in build file:/Users/Arnold/akka/)

akka > 


What do I need to do to fix this?

Arnout Engelen

unread,
Jun 23, 2017, 4:54:57 AM6/23/17
to akka...@googlegroups.com
Hi John,

This is a warning and should not cause problems. What's going on is that some plugin (probably indirectly) uses SLF4J, but we don't have an SLF4J implementation on the sbt classpath.

Fixing this warning might be a matter of including https://github.com/eirslett/sbt-slf4j - perhaps you could give that a try and if it works submit a PR?


Kind regards,

Arnout


Kind regards,

Arnout

--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+unsubscribe@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.



--
Arnout Engelen

John Arnold

unread,
Jun 23, 2017, 7:23:55 AM6/23/17
to Akka User List
Arnout,

Thank you. But shouldn't this build process create a set of jars?

Arnout Engelen

unread,
Jun 23, 2017, 7:27:33 AM6/23/17
to akka...@googlegroups.com
Hello John,

Just running 'sbt' will provide you with an interactive shell, from which you can perform all kinds of tasks like just compiling akka ('compile'), running the tests ('test'), or building, testing, creating jars and publishing them to your local ivy repo in one command ('publishLocal').

Some more background on this can be found in CONTRIBUTING.md.


Kind regards,

Arnout

--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+unsubscribe@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

John Arnold

unread,
Jun 23, 2017, 1:16:09 PM6/23/17
to Akka User List
Arnout,

Running on a 16GB MacOS X, I'm getting 'out of memory' on the publishLocal.
System monitor shows about 5GB headroom free.
Suggestions?
To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+...@googlegroups.com.

To post to this group, send email to akka...@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages