ssm
文章平均质量分 52
慢慢来8
这个作者很懒,什么都没留下…
展开
-
Multiple annotations found at this line: - Referenced file contains errors (http://www.springframew.
最近在做java web项目,使用SSM框架,IDE是eclipse。有时候发现一些配置文件(.xml文件)莫名奇妙会有红色小×号,虽然不影响项目使用,但看上去还是很别扭。 一、解决Eclipse中XML最上边报错Multiple annotations found at this line 可以参考:https://blog.csdn.net/weixin_43235147/article/details/105016351 二、快捷 这个有点玄学,去相应的xml文件中,增加个空格删除再保存原创 2021-05-11 20:44:11 · 1850 阅读 · 0 评论 -
org.springframework.beans.factory.BeanCreationException:sqlSessionFactory创建失败
配置文件出现问题,报错的原因在于创建sqlsessionfactroy失败(这个坑确实比较隐晦) Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [applicationContext.xml]: Initializat原创 2021-05-06 22:07:55 · 1342 阅读 · 0 评论