[ERROR] Error executingMaven.
[ERROR] 1 problem was encountered while building the effective settings
[FATAL] Non-parseable settings D:\学习工具\java\apache-maven-3.0.4\bin\..\conf\settings.xml: unexpected character in up \u2014 (position: START_TAG seen ...INGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">\r\n <!\u2014... @49:6)  @ D:\学习工具\java\apache-maven-3.0.4\bin\..\conf\settings.xml, line 49, column 6

解决方案 »

  1.   

    maven工程仓库里的settings文件配置错误
      

  2.   

    settings.xml, line 49, column 6
    unexpected character in up \u2014
      

  3.   

    <?xml version="1.0" encoding="UTF-8"?>
    <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" 
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
              xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
    <localRepository>
    D:\学习工具\java\apache-maven-3.0.4\.m2\repository
    </localRepository>
      <pluginGroups> </pluginGroups>
    <proxies> </proxies>
    <servers> </servers>
    <mirrors> </mirrors>
    <profiles>
    <profile>
      <id>52n-start</id>
      <repositories>
          <repository>
               <id>n52-releases</id>
               <name>52n Releases</name>
               <url>http://52north.org/maven/repo/releases</url>
               <releases>
                    <enabled>true</enabled>
              </releases>
              <snapshots>
                   <enabled>false</enabled>
             </snapshots>
          </repository>
          <repository>
             <id>geotools</id>
             <name>Geotools repository</name>
             <url>http://maven.geotools.fr/repository</url>
          </repository>
          <repository>
             <id>Refractions</id>
             <name>Refractions repository</name>
             <url>http://lists.refractions.net/m2</url>
          </repository>
          <repository>
              <id>Apache</id>
              <name>Apache repository</name>
              <url>http://repo1.maven.org/maven2</url>
          </repository>
       </repositories>
    </profile>
    </profiles>
    <activeProfiles>
    <activeProfile>52n-start</activeProfile>
    </activeProfiles>
    </settings>
    请教这个settings文件哪里不正确,求指教
      

  4.   

    [ERROR] Error executing Maven.
    [ERROR] 1 problem was encountered while building the effective settings
    [FATAL] Non-parseable settings D:\java\apache-maven-3.0.4\bin\..\conf\settings.x
    ml: unexpected character in up \u2014 (position: START_TAG seen ...INGS/1.0.
    0 http://maven.apache.org/xsd/settings-1.0.0.xsd">\r\n  <!\u2014... @49:6)  @ D:
    \java\apache-maven-3.0.4\bin\..\conf\settings.xml, line 49, column 6
    还是不对啊,运行mvn -version的时候,先出现版本信息,然后接着出现了这一信息这是什么问题啊?