I'm getting error message Could not find Janino library on the class path. Skipping conditional processing.
What should I incude in classpath to fix this (lib and version)?
Asked
Active
Viewed 2.1k times
21

Seki
- 11,135
- 7
- 46
- 70

fedor.belov
- 22,343
- 26
- 89
- 134
-
1There is a Janino entry in the FAQ: http://logback.qos.ch/setup.html#janino – Thorbjørn Ravn Andersen Jul 10 '12 at 11:56
1 Answers
31
Logback requires the Janino library for conditional logging. You don't need it if you aren't using the structures in your config files.
If you are using conditionals, you will need to add the Janino dependency. You can add this to your pom.xml file to get the dependency:
<!-- The org.codehaus.janino:commons-compiler:2.6.1 dependency -->
<!-- will be automatically pulled in by Maven's transitivity rules -->
<dependency>
<groupId>org.codehaus.janino</groupId>
<artifactId>janino</artifactId>
<version>2.6.1</version>
</dependency>
I believe this question is a duplicate of this one.
-
1Whole addition of dependencies can be misleading and is usually considered a bad idea. I would remove everything after "For for a more complete dependency list, try.." in the above answer. – Ceki Apr 09 '13 at 19:24
-