错误提示信息:
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userTransactionService' defined in class path resource
原因:
在上次启动项目后退出idea的时候弹窗中选择了
disconnect
, 导致虽然idea退出去了,但是程序却一直在跑, 此时可以在页面访问改项目
解决方法:
- 在idea下方找到
terminal
,- 输入
jps
找到在运行的项目的进程id- 输入
taskkill /pid 进程id /f
强制关闭进程 ("进程id"换为查到的id)
再启动就可以了~~~