-1

我得到Bean Creation Exception

Caused by: org.springframework.beans.factory.BeanCreationException: Error creati
ng bean with name 'counterHibernateSessionFactory' defined in class path resourc
e [META-INF/hibernate-spring.xml]: Cannot resolve reference to bean 'counterData
Source' while setting bean property 'dataSource'; nested exception is org.spring
framework.beans.factory.BeanCreationException: Error creating bean with name 'co
unterDataSource' defined in class path resource [META-INF/counter-infrastructure
-spring.xml]: Cannot resolve reference to bean 'counterDataSourceImpl' while set
ting bean property 'targetDataSource';

我正在尝试在 tomcat 服务器上运行 liferay 模块。我使用Eclipse Luna, tomcat server 8.0.32, liferay 7.0 ga3。我搜索了有用的信息,没有找到任何解决问题的方法。谢谢!

4

1 回答 1

0

我解决了这个问题,问题是我没有合并 Gradle IDE,而且我试图直接在我的服务器上运行模块,但首先我必须用 gradle 构建它。现在我正在通过服务部署我的 liferay 模块转到模块的根路径并使用刀片 cli 应用命令:blade deploy

于 2016-10-31T15:38:54.840 回答