File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

log4j errors when running JUnit test

Vit Siv
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
log4j:WARN No appenders could be found for logger
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See for more info.
log4j:ERROR Could not read configuration file [/someDir/]. /someDir/ (No such file or directory)

The file is def there and has this in it:

Anything wrong with this?

Some other warnings there:
SEVERE: /someDir/ is not a valid file location.
SLF4J: Class path contains multiple SLF4J bindings.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic