代码先锋网 代码片段及技术文章聚合

eclipse maven - could not read settings.xml

我也不知道为啥突然好了

但我貌似改了这些配置

1. settings.xml

  <mirrors> 
  <mirror>
		<id>nexus-aliyun</id>
		<mirrorOf>central</mirrorOf>
		<name>Nexus aliyun</name>
		<url>http://maven.aliyun.com/nexus/content/groups/public</url>
	 </mirror> 
  </mirrors>

2.还改了notepad的编码格式

改为了UTF8编码

原来的是UTF8无bom格式

 

据我推测 , 应该是编码前还有空格占位的,这些空格不是正常的编码,只是推测

至于BOM格式又是什么还不知道

版权声明:本文为weixin_42195284原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/weixin_42195284/article/details/102833334

智能推荐

maven系列--settings.xml

安装maven,会有一份settings.xml文件,我们可以理解这份文件就是用来管理本地maven的一系列东西的。这里我先贴出一份完整的原始xml。 当Maven运行过程中的各种配置,例如pom.xml,不想绑定到一个固定的project或者要分配给用户时,我们使用settings.xml中的settings元素来确定这些配置。这包含了本地仓库位置,远程仓库服务器以及认证信息等。 setting...

maven的settings.xml

 这是放本地仓库的位置 <localRepository>E:\myEclipseGuilf\workspace\demo-maven\repository</localRepository> 这是私服里面仓库所放的位置...

Maven配置 - settings.xml

Maven配置 - settings.xml settings.xml 缺少jar文件 方法一: maven update 方法二: 使用中央仓库 方法三: 复制jar文件 settings.xml 缺少jar文件 方法一: maven update 在本地仓库目录搜索 “*.lastupdate” 删除所有找到的文件 在eclipse中,右键点击项目–mave...

Maven settings.xml 配置

Maven settings.xml 位于 .m2 下,直接上配置文件: 首先,设置你自己的本地仓库,目录放在 <localRepository></localRepository> 标签内; 我使用到的镜像为阿里云镜像,两个远程仓库为 nexus 私服和阿里云仓库。 默认启动的环境(仓库)为 nexus,需要开启阿里云可以在 idea 右侧 Maven 栏的 P...

猜你喜欢

maven settings.xml 内容

楔子 自己使用的maven 配置 settings.xml...

maven(settings.xml配置)

setting.xml相关配置...

Eclipse maven pom.xml Could not initialize class org.apache.maven.plugin.war.util.WebappStructure

产生原因: maven-war-plugin插件版本太低 解决方法: 将插件版本更新...