Hibernate 5 测试的时候日志错误
2021-03-25 13:24
标签:reg stream prot enabled art strategy bug dstar cee 运行 Hibernate 测试的时候错误提示: 这个情况应该是你的依赖中没有 log4j 如果你使用的是 Gradle 的话请添加: Add org.apache.logging.log4j:log4j-core:2.13.1 到 依赖中。 请参考: OSSEZ-44 - Covid19Test 运行出现日志错误 In Progress Hibernate 5 测试的时候日志错误 标签:reg stream prot enabled art strategy bug dstar cee 原文地址:https://www.cnblogs.com/huyuchengus/p/12657568.htmllog4j:WARN No appenders could be found for logger (org.jboss.logging).
log4j:WARN Please initialize the log4j system properly.
java.lang.NoSuchFieldError: TRACE
at org.jboss.logging.Log4jLogger.translate(Log4jLogger.java:55)
at org.jboss.logging.Log4jLogger.isEnabled(Log4jLogger.java:35)
at org.jboss.logging.Logger.isTraceEnabled(Logger.java:98)
at org.hibernate.boot.registry.selector.internal.StrategySelectorImpl.registerStrategyImplementor(StrategySelectorImpl.java:69)
at org.hibernate.boot.registry.selector.internal.StrategySelectorBuilder.addDialect(StrategySelectorBuilder.java:251)
at org.hibernate.boot.registry.selector.internal.StrategySelectorBuilder.addDialects(StrategySelectorBuilder.java:198)
at org.hibernate.boot.registry.selector.internal.StrategySelectorBuilder.buildSelector(StrategySelectorBuilder.java:163)
at org.hibernate.boot.registry.BootstrapServiceRegistryBuilder.build(BootstrapServiceRegistryBuilder.java:232)
at org.hibernate.cfg.Configuration.
上一篇:初始C语言学习
下一篇:JS实现全选和全不选
文章标题:Hibernate 5 测试的时候日志错误
文章链接:http://soscw.com/index.php/essay/67918.html