1
我已将环境变量spring.profiles.active
设置为"qa"
,这是我想要激活的application.yml
文件中的配置文件。Spring XD - xd-singlenode启动失败
但是设置这个环境变量,并在XD-singlenode开始Sprind XD之后,我抛出了以下异常
Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.xd.dirt.plugins.job.DistributedJobService#0' defined in class path resource [META-INF/spring-xd/batch/batch.xml]: Cannot resolve reference to bean 'jobExecutionDao' while setting constructor argument;
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jobExecutionDao' defined in class path resource [META-INF/spring-xd/batch/batch.xml]: Invocation of init method failed;
nested exception is java.lang.IllegalArgumentException: Could not inspect meta data for database type. You have to supply it explicitly.
什么可能是例外? 任何帮助将不胜感激。
谢谢
谢谢你..现在工作得很好。 ! – VinniK 2014-08-27 13:56:33