![](https://img-blog.csdnimg.cn/20190927151132530.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
SSM
SSM,解决问题
荆棘云海
荆棘云海
展开
-
org.apache.ibatis.exceptions.PersistenceException: ### Error building SqlSession. ### The error may
mybatis学习之User.xml小错误1、报错源码:2、错误表现与原因分析:3、问题解决:1、报错源码:在学习mybatis过程中,报错如下org.apache.ibatis.exceptions.PersistenceException: ### Error building SqlSession.### The error may exist in sqlmap/User....原创 2019-07-14 21:49:56 · 43154 阅读 · 2 评论 -
.properties的文件怎么注释与中文注释乱码问题
.properties的文件怎么注释与中文注释乱码问题1、.properties注释:2、.properties注释中文乱码:1、注释:在行首加上 # ,或者是用 <!-- -->进行注释2、中文注释乱码:properties文件中想注释中文,但是出现看不懂的“乱码”是因为字符编码默认没有设置造成的,解决办法:右键Properties —— properties——R...原创 2019-07-14 21:37:14 · 6686 阅读 · 0 评论 -
eclipse-Spring中@Resource注解报错之解决方法
eclipse-Spring中@Resource注解报错之解决方法前言——在学习spring的过程中,使用@Resource注解出现错误,在输入的过程中,也没有出现@Resource的自动输入提示百度了好久,终于找到了解决方法,如下:1、问题浮现2、问题出现的原因@Resource是相当于applicationContext.getBean方法,是annotation-api.jar...原创 2019-02-14 20:47:57 · 10801 阅读 · 5 评论 -
eclipse怎样自动引入包--Organized Imports
eclipse怎样自动引入包–Organized Imports1、问题重现(1)编辑下列代码报错:(2)自动引入包–Organized Imports可以解决报错问题–选择第一个“java.util.List”2、如何自动引入包–Organized Imports1、打开编辑好的java代码页面,可以看到ArrayList,File类由于没有import相应的包而报错。2、在编...原创 2019-02-14 10:24:19 · 6907 阅读 · 0 评论 -
Eclipse怎么全选项目中的jar包
Eclipse怎么全选项目中的jar包很简单的操作先按着shift键,不要松开,然后用鼠标点击第一个,在点击最后一个,就可以了原创 2019-02-26 16:14:07 · 2351 阅读 · 0 评论 -
No grammar constraints (DTD or XML Schema) referenced in the document.的两种解决办法
No grammar constraints (DTD or XML Schema) referenced in the document.的两种解决办法警告提示No grammar constraints (DTD or XML Schema) referenced in the document。方法一:常用方法 关闭XML验证工具栏:windows => preferenc...转载 2019-03-02 18:31:26 · 16100 阅读 · 3 评论 -
Eclipse中怎么使用快捷键注释代码
Eclipse中怎么使用快捷键注释代码两种注释方法:(1)多行注释(2)单行注释一、 多行注释快捷键1:添加注释Ctrl+Shift+/ : 添加/* */注释选中代码后按下快捷键即可2:消除注释Ctrl+Shift+\ : 消除/* */注释选中被注释的代码块后按下快捷键即可二、 单行注释快捷键(每一行代码前都有[//]的单行注释)1:添加注释ctrl + ...原创 2019-02-26 20:23:49 · 722 阅读 · 0 评论 -
Eclipse中Multiple annotations found at this line: - http://www.springframework.org/schema/aop报错解决办法
错误提示代码Multiple annotations found at this line: - http://www.springframework.org/schema/aop - Attribute name "http:" associated with an element type "beans" must be followed by the ' = ' characte...原创 2019-03-03 15:35:41 · 2153 阅读 · 0 评论