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)

    解决方法:

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

  • 相关阅读:
    linux系统中批量对一类文件重命名
    hdu4751 Divide Groups
    tyvj1614 魔塔魔塔!
    noip2012 疫情控制
    黄学长模拟day1 大逃亡
    黄学长模拟day1 球的序列
    黄学长模拟day1 某种密码
    约瑟夫问题及其变形
    秦皇岛 I 题
    暴力搜索 + 剪枝
  • 原文地址:https://www.cnblogs.com/dayspring/p/13038829.html
Copyright © 2011-2022 走看看