原文:Could not obtain transaction-synchronized Session for current thread

在servlet context中增加 lt context:annotation config gt 有了 lt context:component scan base package XXX.XXX gt 就不用寫這個了 lt tx:annotation driven gt 還要增加xmlns xmlns:tx http: www.springframework.org schema tx h ...

2014-09-19 08:56 0 20005 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM