日期:2014-05-17  浏览次数:20679 次

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配置错误,