解决Maven提示:Could not read settings.xml, assuming default values
来源:互联网 发布:不要和陌生人说话知乎 编辑:程序博客网 时间:2024/06/05 12:43
最近在学习Maven 时总是出现 Could not read settings.xml, assuming default values 错误,使得用户配置无法生效,在网上找了很多资料仍然解决不了,后来通过自己摸索找到了一下原因:
①:在 settings 配置文件中一定不能有中文,包括注释 <!-- --> 内部也不能有。
②:路径一定要写对:比如说 <localRepository>D:/Maven/repo/</localRepository> 中的路径使用 “/” 而非 windows 路径中的 “\”。
③:不管用什么编辑器,在保存的时候一定要保存为 “UTF-8”,推荐使用 notePad++ :
希望能够帮助大家。
2 0
- 解决maven提示:Could not read settings.xml, assuming default values 错误
- 解决Maven提示:Could not read settings.xml, assuming default values
- 解决Maven提示:Could not read settings.xml
- maven配置setting.xml报Could not read settings.xml
- android发布maven报错:Could not write to file '*****/build/poms/pom-default.xml'
- 错误信息 : WARN [struts2.config.Settings] Settings: Could not parse struts.locale setting, substituting default VM locale
- 'c:/documents and settings/****/default-1-2-0-0.ses' could not be loaded
- 警告: Settings: Could not parse struts.locale setting, substituting default VM locale)
- 启动tomcat出现:警告: Settings: Could not parse struts.locale setting, substituting default VM locale
- 警告: Settings: Could not parse struts.locale setting, substituting default VM locale
- struts2 警告: Settings: Could not parse struts.locale setting, substituting default VM locale
- struts2 警告: Settings: Could not parse struts.locale setting, substituting default VM locale
- Linux "could not open default font 'fixed'."错误解决
- Linux "could not open default font 'fixed'."错误解决
- Linux "could not open default font 'fixed'."错误解决 .
- 解决Maven项目启动Could not open ServletContext resource [/WEB-INF/applicationContext.xml]
- Could not read mappings from resource: hiber.hbm.xml
- Scanning errors (1): 1 Could not read pom.xml
- POJ 1797 Heavy Transportation(二分+并查集/kruskal)
- swift入门-实现简单的登录界面
- HDFS-3.HDFS架构
- 本科毕设-基于C8051单片机的身份识别系统设计
- tomcat+jdk环境变量配置
- 解决Maven提示:Could not read settings.xml, assuming default values
- 伪分布式配置hadoop2.6和spark1.4.1
- Android的事件处理之监听与回调
- Hadoop之MapReduce的两种任务模式
- 设计模式--备忘录模式
- HBase 带有过滤条件的全表扫描 小计
- Codeforces 570E,DP+滚动数组
- openstack中虚拟机怎么与物理机通信
- POJ 3268 Silver Cow Party(dijkstra+矩阵转置)