Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Logback: "Could not find Janino library on the class path"

Tags:

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)?

like image 561
fedor.belov Avatar asked Jul 10 '12 08:07

fedor.belov


1 Answers

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.

like image 73
JBCP Avatar answered Sep 22 '22 14:09

JBCP