2018-08-04

log4j2 json jsn test maven pom






using json jsn for log4j2 configuration must add jackson-databind in maven pom.xml

log4j2 slf4j maven





See this?
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.





Add this

<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<version>2.11.1</version>
</dependency>


If not found, then add repo

<repositories>
  <repository>
    <id>apache.snapshots</id>
    <name>Apache Snapshot Repository</name>
    <url>https://repository.apache.org/snapshots</url>
    <releases>
      <enabled>false</enabled>
    </releases>
  </repository>
</repositories>

2018-08-01

java.lang.IllegalArgumentException: Attribute 'value' is required when binding to non-boolean values





java.lang.IllegalArgumentException: Attribute 'value' is required when binding to non-boolean values







Resource URL:

https://blog.csdn.net/goldenfish1919/article/details/7039104



Google Referrals