zoukankan      html  css  js  c++  java
  • Non-parseable POM C:Usersadmin.m2 epositoryorgspringframework问题解决方案

    现象:

    [INFO] Scanning for projects...
    [ERROR] [ERROR] Some problems were encountered while processing the POMs:
    [FATAL] Non-parseable POM C:Usersadmin.m2
    epositoryorgspringframeworkcloudspring-cloud-config-dependencies2.0.0.RELEASEspring-cloud-config-dependencies-2.0.0.RELEASE.pom: processing instruction can not have PITarget with reserved xml name (position: END_TAG seen ...</profiles>
    </project>
    <?xml ... @124:7)  @ C:Usersadmin.m2
    epositoryorgspringframeworkcloudspring-cloud-config-dependencies2.0.0.RELEASEspring-cloud-config-dependencies-2.0.0.RELEASE.pom, line 124, column 7
    [FATAL] Non-parseable POM C:Usersadmin.m2
    epositoryorgspringframeworkcloudspring-cloud-vault-dependencies2.0.0.RELEASEspring-cloud-vault-dependencies-2.0.0.RELEASE.pom: processing instruction can not have PITarget with reserved xml name (position: END_TAG seen ...</repositories>
    
    </project>
    <?xml ... @136:7)  @ C:Usersadmin.m2
    epositoryorgspringframeworkcloudspring-cloud-vault-dependencies2.0.0.RELEASEspring-cloud-vault-dependencies-2.0.0.RELEASE.pom, line 136, column 7
    [FATAL] Non-parseable POM C:Usersadmin.m2
    epositoryorgspringframeworkcloudspring-cloud-security-dependencies2.0.0.RELEASEspring-cloud-security-dependencies-2.0.0.RELEASE.pom: processing instruction can not have PITarget with reserved xml name (position: END_TAG seen ...</profiles>
    </project>
    <?xml ... @96:7)  @ C:Usersadmin.m2
    epositoryorgspringframeworkcloudspring-cloud-security-dependencies2.0.0.RELEASEspring-cloud-security-dependencies-2.0.0.RELEASE.pom, line 96, column 7
    [ERROR] 'dependencies.dependency.version' for org.springframework.cloud:spring-cloud-starter-netflix-eureka-client:jar is missing. @ line 45, column 21
    [ERROR] 'dependencies.dependency.version' for org.springframework.cloud:spring-cloud-starter-openfeign:jar is missing. @ line 49, column 21
     @ 
    [ERROR] The build could not read 1 project -> [Help 1]
    [ERROR]   
    [ERROR]   The project com.aikucun:logistics:1.0-SNAPSHOT (D:workspace_aikucunlogisticspom.xml) has 5 errors
    [ERROR]     Non-parseable POM C:Usersadmin.m2
    epositoryorgspringframeworkcloudspring-cloud-config-dependencies2.0.0.RELEASEspring-cloud-config-dependencies-2.0.0.RELEASE.pom: processing instruction can not have PITarget with reserved xml name (position: END_TAG seen ...</profiles>
    </project>
    <?xml ... @124:7)  @ C:Usersadmin.m2
    epositoryorgspringframeworkcloudspring-cloud-config-dependencies2.0.0.RELEASEspring-cloud-config-dependencies-2.0.0.RELEASE.pom, line 124, column 7 -> [Help 2]
    [ERROR]     Non-parseable POM C:Usersadmin.m2
    epositoryorgspringframeworkcloudspring-cloud-vault-dependencies2.0.0.RELEASEspring-cloud-vault-dependencies-2.0.0.RELEASE.pom: processing instruction can not have PITarget with reserved xml name (position: END_TAG seen ...</repositories>
    
    </project>
    <?xml ... @136:7)  @ C:Usersadmin.m2
    epositoryorgspringframeworkcloudspring-cloud-vault-dependencies2.0.0.RELEASEspring-cloud-vault-dependencies-2.0.0.RELEASE.pom, line 136, column 7 -> [Help 2]
    [ERROR]     Non-parseable POM C:Usersadmin.m2
    epositoryorgspringframeworkcloudspring-cloud-security-dependencies2.0.0.RELEASEspring-cloud-security-dependencies-2.0.0.RELEASE.pom: processing instruction can not have PITarget with reserved xml name (position: END_TAG seen ...</profiles>
    </project>
    <?xml ... @96:7)  @ C:Usersadmin.m2
    epositoryorgspringframeworkcloudspring-cloud-security-dependencies2.0.0.RELEASEspring-cloud-security-dependencies-2.0.0.RELEASE.pom, line 96, column 7 -> [Help 2]
    [ERROR]     'dependencies.dependency.version' for org.springframework.cloud:spring-cloud-starter-netflix-eureka-client:jar is missing. @ line 45, column 21
    [ERROR]     'dependencies.dependency.version' for org.springframework.cloud:spring-cloud-starter-openfeign:jar is missing. @ line 49, column 21
    [ERROR] 
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR] 
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
    [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException
    

    解决方案: 删除C:Usersadmin.m2 epositoryorgspringframeworkcloudspring-cloud-config-dependencies2.0.0.RELEASE文件夹下的内容,重新install

  • 相关阅读:
    Python数据库查询中文乱码的问题处理
    Unable to update the EntitySet 'Relationship' because it has a DefiningQuery and no <DeleteFunction> element exists in the <ModificationFunctionMapping> element to support the current operation
    Entity Framework入门教程:通过Entity Framework实现数据库数据的增、删、改
    推荐几款.NET客户端开源报表图
    Entity Framework入门教程:SQLite数据源访问
    Entity Framework入门教程: Entity Framework支持的查询方式
    无法为具有固定名称“MySql.Data.MySqlClient”的 ADO.NET 提供程序加载在应用程序配置文件中注册的实体框架提供程序类型“MySql.Data.MySqlClient.MySqlProviderServices,MySql.Data.Entity.EF6”
    Entity Framework入门教程:创建实体数据模型
    WPF's Style BasedOn
    在 WPF 中使用 Path 路径
  • 原文地址:https://www.cnblogs.com/wzk-0000/p/10710719.html
Copyright © 2011-2022 走看看