# 使用方式 在主入口函数增加如下注解: ```bash @Import(value = { cn.zhangdeman.HashMapCache.class}) // 让SpringBoot能够扫描到相关组件 ``` 会自动扫描自定义的异常注解, 并进行数据初始化