问答详情
源自:5-4 添加事务管理-Spring整合Hibernate

加入开启注解事务报错

<!-- 开启注解事务 -->

    <tx:annotation-driven transaction-manager="transactionManager"/>


Exception in thread "C3P0PooledConnectionPoolManager[identityToken->1hge70u9k1wp860zbirdo5|557c0019]-AdminTaskTimer" java.lang.NullPointerException

at com.mchange.v2.log.log4j.Log4jMLog$Log4jMLogger.isLoggable(Log4jMLog.java:293)

at com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector.run(ThreadPoolAsynchronousRunner.java:729)

at java.util.TimerThread.mainLoop(Unknown Source)

at java.util.TimerThread.run(Unknown Source)


提问者:慕少4801248 2016-12-13 17:56

个回答

  • 慕少4801248
    2016-12-14 11:52:55

    替换了一套jar,问题解决了,但不知道问题在哪