--------------------------------------one-----------------------------------------
Exception in thread "main"
org.apache.ibatis.builder.IncompleteElementException:
Could not find result map com.itheima.domin.User
--------------------------------------two-----------------------------------------
Cause: org.apache.ibatis.builder.BuilderException:
Error parsing SQL Mapper Configuration.
Cause: java.io.IOException: Could not find resource
com.itheima.dao.IUserDao.xml
--------------------------------------three-----------------------------------------
Cause: org.apache.ibatis.builder.
BuilderException: Error resolving class.
Cause: org.apache.ibatis.type.TypeException:
Could not resolve type alias ''.
Cause: java.lang.ClassNotFoundException: Cannot find class:
主要是此处type忘记写POOLED了
--------------------------------------four-----------------------------------------
Caused by: org.xml.sax.SAXParseException;
lineNumber: 25; columnNumber: 2; 文档中根元素后面的标记必须格式正确。
出现这种错误一般是map文件的某些信息写在了包含该信息标签之外了
--------------------------------------five-----------------------------------------
把一个工程的没错的java文件拷到新工程,有些导入的包出现红色波浪线
解决办法
右击项目名称->点击菜单中的maven(比较靠后)->reimport
--------------------------------------six-----------------------------------------
--------------------------------------seven-----------------------------------------