摘要: pom.xml报错 解决办法: 方式一: 项目右键 --> Java EE Tools 方式二: 1、项目右键,Properties 2、去掉Dynamic Web Module->Apply->选择3.0->打勾->Apply 阅读全文
posted @ 2020-03-17 13:58 ¥%--1001 阅读(148) 评论(0) 推荐(0)
摘要: 1、在idea的安装目录bin下找到idea64.exe.vmoptions文件 2、在文件最后一行添加以下代码 -Dfile.encoding=UTF-8 3、在idea中打开File->Settings->Editor->File Encodings 把两个都改成UTF-8 4、打开Edit C 阅读全文
posted @ 2020-02-15 15:08 ¥%--1001 阅读(167) 评论(0) 推荐(0)
摘要: 问题:eclipse添加maven-Web项目的时候,不能添加到tomcat 解决措施: 1、在项目任意一个文件中,按Ctrl+回车 2、进入工作空间根目录找到.settings文件夹,并进入 3、在文件夹下打开org.eclipse.wst.common.project.facet.core.xm 阅读全文
posted @ 2020-02-08 17:24 ¥%--1001 阅读(162) 评论(0) 推荐(0)
摘要: File->Other Settings->Settings for new Projects 1、搜索maven 2、选择自己的maven仓库根目录 3、这样新建maven项目就默认自己的仓库了! 阅读全文
posted @ 2020-02-04 20:05 ¥%--1001 阅读(1659) 评论(0) 推荐(0)
摘要: Eclipse修改maven本地仓库,Local Repository还是原来的默认仓库 Window->Preferences->maven->User Settings Global Settings: 点击Browse选择自己的maven->conf->settings.xml文件 ..\ap 阅读全文
posted @ 2020-02-03 16:44 ¥%--1001 阅读(2563) 评论(0) 推荐(0)