作者:迪迪 | 来源:互联网 | 2023-01-09 07:35
TomyapplicationIneedtousehibernatewithapachecxf.ProblemisafterIconfigurehibernateto
To my application I need to use hibernate with apache cxf. Problem is after I configure hibernate to apache cxf, application didn't start. It gives an error saying it cannot find the LocalSessionFactoryBean class from the springframework (which I used to create the factorySession). I'm new to apache cxf, so it could be an error in my part. Can any of you guys tell me what is the best way to configure hibernate with apache cxf.
对于我的应用程序,我需要使用apache cxf的hibernate。问题是在我将hibernate配置为apache cxf之后,应用程序没有启动。它给出了一个错误,说它无法从springframework(我用来创建factorySession)中找到LocalSessionFactoryBean类。我是apache cxf的新手,所以这可能是我的错误。你们中的任何人都可以告诉我用apache cxf配置hibernate的最佳方法是什么。
Thanks in advance
提前致谢
3 个解决方案