BeanFactory not initialized or already closed - call 'refresh' before

后端 未结 10 1560
無奈伤痛
無奈伤痛 2020-12-10 01:23

here is my error:

I am getting this error , can any one help me on this.

> SEVERE: Exception sending context initialized event to listener
> i         


        
10条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-10 01:37

    I had this issue until I removed the project in question from the server's deployments (in JBoss Dev Studio, right-click the server and "Remove" the project in the Servers view), then did the following:

    1. Restarted the JBoss EAP 6.1 server without any projects deployed.
    2. Once the server had started, I then added the project in question to the server.

    After this, just restart the server (in debug or run mode) by selecting the server, NOT the project itself.

    This seemed to flush any previous settings/states/memory/whatever that was causing the issue, and I no longer got the error.

提交回复
热议问题