IDEA中写MyBatis的xml配置文件编译报错的坑 说明:用IDEA编译工具在项目中使用Mybatis框架,编写mybatis-config.xml和Mapper.xml配置文件时,编译项目出现错误,错误提示为: xml中1字节的UTF-8序列的字节1无效 The cause of this is a file that is not UTF-8 is being parsed as UTF-8. It is likely that the parser is encountering a…
http://lusterfly.iteye.com/blog/1872627 在myeclipse 9以前的版本中,我们如果要为html编辑器添加自动的代码提示可以这样操作: windows-->preferences-->MyEclipse-->Files and Editors-->HTML-->HTML Source-->Content assist 在右边的在Prompt when these characters are inserted后输入<= a…
昨天晚上看某培训机构的Android的 视频教程,看到他在写布局的XML文件时,有很方便的自动提示功能.我就在自己的Eclipse里试了一下,可是我的没实现.就到网上查,很多都说:在 Window->Preferences->XML->XML Files->Editor->Content Assist 右边的Prompt when these characters are inserted: 把默认的“<=:”改成 “<=:.abcdefghijklmnopqrs…