zoukankan      html  css  js  c++  java
  • activitemq启动时出现 ERROR: java.lang.RuntimeException: Failed to execute start task. Reason: java.lang.IllegalStateException: BeanFactory

    ERROR: java.lang.RuntimeException: Failed to execute start task. Reason: java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
    jvm 1 | java.lang.RuntimeException: Failed to execute start task. Reason: java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
    jvm 1 | at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:91)
    jvm 1 | at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
    jvm 1 | at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:150)
    jvm 1 | at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
    jvm 1 | at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:104)
    jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    jvm 1 | at java.lang.reflect.Method.invoke(Unknown Source)
    jvm 1 | at org.apache.activemq.console.Main.runTaskClass(Main.java:262)
    jvm 1 | at org.apache.activemq.console.Main.main(Main.java:115)
    jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    jvm 1 | at java.lang.reflect.Method.invoke(Unknown Source)
    jvm 1 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
    jvm 1 | at java.lang.Thread.run(Unknown Source)
    jvm 1 | Caused by: java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
    jvm 1 | at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:171)
    jvm 1 | at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1090)

    解决方法:

    计算机名称更改为英语,不要中文,数字的

  • 相关阅读:
    Js特效总结
    asp.net中的绝对路径和相对路径
    GrideView合并列合并序号,隐藏某列按钮
    WebConfig 配置文件详解
    ASP.NET打印EXCEl报表技术总结
    ADO.NET DataSet、DataTable、DataRow、DataView的学习
    asp.netGridView使用技巧
    .net Remoting
    C# webservice开发
    js实现网页打印分页打印
  • 原文地址:https://www.cnblogs.com/dayspring/p/13038829.html
Copyright © 2011-2022 走看看