顽石11 2017-09-12 06:37 采纳率: 0%
浏览 1402

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条回答 默认 最新

  • 顽石11 2017-09-13 08:32
    关注
    
    
    
    
    评论

报告相同问题?

悬赏问题

  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!
  • ¥15 drone 推送镜像时候 purge: true 推送完毕后没有删除对应的镜像,手动拷贝到服务器执行结果正确在样才能让指令自动执行成功删除对应镜像,如何解决?