spring 事务失效 No EntityManager with actual transaction available for current thread
klguang opened this issue · 0 comments
klguang commented
<context:component-scan base-package="cn.easyproject.easyee">
<context:include-filter type="annotation" expression="org.springframework.stereotype.Controller"/> </context:component-scan>
<context:component-scan base-package="cn.easyproject.easyee" use-default-filters="false">
<context:include-filter type="annotation" expression="org.springframework.stereotype.Controller"/>
</context:component-scan>