configuration - My gradle java project does not find the log4j2.json -
Grade version: 2.2.1 log4j2 version: 2.1 (I also tried 2.0.2) Java version: 1.8 0_25
Project layout is just standard Grad Java-QuickTrart. Here is the relevant part of my build.gradle:
projectHome / src / main / resources / log4j2.json P>
Baking jobs (type: JavaXAC) {main = 'my.package.cookRunner' classpath = sourceSets.main.runtimeClasspath} But when I "Griddle Cook "Do I always get the following message
error status logger found no log4j2 configuration file. Using default configuration: Logging errors only in the console What am I missing? Any help would be highly appreciated!
Jackson uses the data processor to parse, these dependencies should be added to a project that wants to use JSON for configuration. "
Refresh Gradle to download the dependencies section, and then download them:
Compile the group: "com.fasterxml.jackson.core", Name: "Jackson-Core", Version: '2.4.2' Compilation Group: "com.fasterxml.jackson.core", Name: "Jackson-Datababel", version: '2.4.2' Compile group: "com .fasterxml.jackson.core ", name:" jackson-annotation ", version: '2.4.2'
Comments
Post a Comment