当前位置: 代码迷 >> Java Web开发 >> Spring+Struct2+Hibernate 集成有关问题
  详细解决方案

Spring+Struct2+Hibernate 集成有关问题

热度:7148   发布时间:2013-02-25 21:20:02.0
Spring+Struct2+Hibernate 集成问题
文件映射都成功了

log4j出现这个错误
TransactionManagerLookupFactory.getTransactionManagerLookup(33) | No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
改如何解决
还有这个错误

INFO--- SessionFactoryObjectFactory.addInstance(82) | Not binding factory to JNDI, no JNDI name configured


WARN --- Settings.getLocale(143) | Settings: Could not parse struts.locale setting, substituting default VM locale


------解决方案--------------------------------------------------------
在JTA里找一下事务管理啦,应该是你spring配置错误,
  相关解决方案