20

エラーメッセージが表示Could not find Janino library on the class path. Skipping conditional processing.されますこれを修正するには、クラスパスに何を含める必要がありますか(libとversion)?

4

1 に答える 1

23

ログバックには、条件付きロギング用のJaninoライブラリが必要です。構成ファイルの構造を使用していない場合は、これは必要ありません。

条件を使用している場合は、Janino依存関係を追加する必要があります。これをpom.xmlファイルに追加して、依存関係を取得できます。

    <!-- 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>

この質問はこれと重複していると思います

于 2013-04-09T19:18:03.290 に答える