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

前端 未结 7 1343
太阳男子
太阳男子 2021-01-03 23:09

I\'m trying to add spring security to a regular JSF application. After repeated tries and I\'m failing with the following error on tomcat bring-up.

Here is the entir

7条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-03 23:59

    While removing the comments from a particular block in applicationcontext.xml, I missed out to remove --> "The end of comment". I didn't notice it and was as getting this error.

    Later removed it and all was working fine!!

提交回复
热议问题