2 qq 27888773 qq_27888773 于 2017.09.12 14:37 提问

jboss eap 6.4 启动报错,,,jboss eap 6.4 启动报错

部署 deployment "angelPSRS.war" 包含 CDI 注解但未找到 beans.xml。

14:21:03,674 INFO org.jboss.as.repository JBAS014900: 在位置 E:\jboss-eap-6.4\standalone\data\content\50\5e373bfaf16232c77dc8b7b6af5a8a30fe8ea2\content 上添加内容
14:21:03,754 INFO org.jboss.as.server.deployment JBAS015876: 开始 "angelPSRS.war" 的部署(runtime-name: "angelPSRS.war")
14:21:10,312 WARN org.jboss.as.ee JBAS011006: 由于有异常抛出(请启用 DEBUG 日志级别以查看原因),没有安装可选组件 org.springframework.web.context.request.async.StandardServletAsyncWebRequest。
14:21:10,312 WARN org.jboss.as.ee JBAS011006: 由于有异常抛出(请启用 DEBUG 日志级别以查看原因),没有安装可选组件 org.springframework.http.server.ServletServerHttpAsyncRequestControl。
14:21:10,382 INFO org.jboss.as.connector.deployers.jdbc JBAS010403: 部署兼容 JDBC 的驱动 class oracle.jdbc.OracleDriver (版本 11.1)
14:21:10,382 WARN org.jboss.weld.deployer JBAS016012: 部署 deployment "angelPSRS.war" 包含 CDI 注解但未找到 beans.xml。
14:21:10,422 INFO org.jboss.web JBAS018210: 注册 web 上下文 /angelPSRS
14:21:10,432 INFO org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/angelPSRS] No Spring WebApplicationInitializer types detected on classpath
14:21:10,452 INFO org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/angelPSRS] Initializing Spring root WebApplicationContext
14:21:12,842 ERROR org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/angelPSRS] JBWEB000287: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'channelController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.travelsky.angel.base.service.ChannelService com.travelsky.angel.base.controller.ChannelController.channelService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'channelService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.travelsky.angel.base.dao.ChannelDao com.travelsky.angel.base.service.impl.ChannelsServiceImpl.channelDao; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'channelDao': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.hibernate.SessionFactory com.travelsky.angel.base.dao.impl.ChannelDaoImpl.sessionFactory; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [spring-hibernate.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [spring-hibernate.xml]: Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: java:jdbc/angelPSRS
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [spring-hibernate.xml]: Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: java:jdbc/angelPSRS

1个回答

qq_27888773
qq_27888773   2017.09.13 16:32


Csdn user default icon
上传中...
上传图片
插入图片