当前位置:网站首页>Resolve the applicationeventmulticast not initialized - call 'refresh' before multicast events exception
Resolve the applicationeventmulticast not initialized - call 'refresh' before multicast events exception
2022-07-19 08:58:00 【Free [email protected]】
solve ApplicationEventMulticaster not initialized - call ‘refresh’ before multicasting events via the context: Root WebApplicationContext abnormal
My personal wechat official account “ Source Inn ”; Share Java Source code and technical articles and Java Video material , If you are interested, you can pay attention to 
introduction
I'm running today ssh The project reported the following errors , Cause my visit project page to appear 404
1.ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: Root WebApplicationContext: startup date [Sat Jul 18 22:34:04 CST 2020]; root of context hierarchy....
2.LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: Root WebApplicationContext: startup date [Sat Jul 18 22:34:04 CST 2020]; root of context hierarchy
The screenshot is as follows

Cause analysis
The primary reason for this is the connection problem with the database , That's where we are spring To configure bean Inside dataSource Of url There is a problem with the connection . This is what I wrote :
<property name="url">
<value>jdbc:mysql://localhost:3306/db_hotel?useUnicode=true&characterEncoding=utf-8</value>
</property>
Later, it was changed
<property name="url">
<value>jdbc:mysql://localhost:3306/db_hotel?useUnicode=true&characterEncoding=utf-8</value>
</property>
Right , added & ; It won't be wrong , Successfully run the project ! as follows :
Finally, the project was successfully run !

版权声明
本文为[Free [email protected]]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/200/202207170857334999.html
边栏推荐
猜你喜欢
随机推荐
解决接口跨域问题和node操作MySQL
[face recognition] face recognition based on histogram histogram with matlab code
LabVIEW32位与64位的兼容性
2022年P气瓶充装考试练习题模拟考试平台操作
【CTF】pwn2_ sctf_ two thousand and sixteen
AuthTalk 第一期预告 | 全面拆解多租户解决方案
[leetcode] general operation summary
最新水果FLStudio20.9低版本版升级高版本教程
2022t elevator repair examination question bank and answers
小说里的编程 【连载之十一】元宇宙里月亮弯弯
Change the theme of hbuilderx into vscode
小说里的编程 【连载之十二】元宇宙里月亮弯弯
ETCD数据库源码分析——初始化EtcdServer结构体
Expanding hard disk in VMWare
用户/账户/账号的理解
LeetCode 0115. Different subsequences
Jsp+Ajax+Servlet+Mysql实现增删改查(一)
第五天训练
Qt之Qprocess
微信小程序调用API简单案例


![[handwritten numeral recognition] handwritten numeral recognition based on lenet network with matlab code](/img/e7/68fa042cae0bd10a06f08bba738c12.png)





