顽石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
    关注
    
    
    
    
    评论

报告相同问题?

悬赏问题

  • ¥15 x趋于0时tanx-sinx极限可以拆开算吗
  • ¥500 把面具戴到人脸上,请大家贡献智慧
  • ¥15 任意一个散点图自己下载其js脚本文件并做成独立的案例页面,不要作在线的,要离线状态。
  • ¥15 各位 帮我看看如何写代码,打出来的图形要和如下图呈现的一样,急
  • ¥30 c#打开word开启修订并实时显示批注
  • ¥15 如何解决ldsc的这条报错/index error
  • ¥15 VS2022+WDK驱动开发环境
  • ¥30 关于#java#的问题,请各位专家解答!
  • ¥30 vue+element根据数据循环生成多个table,如何实现最后一列 平均分合并
  • ¥20 pcf8563时钟芯片不启振