Maven项目报错:Missing artifact****和ArtifactDescriptorException: Failed to read artifact descriptor for***和Cannot change version of project facet Dynamic w

一.关于Cannot change version of project facet Dynamic web module to 2.5

具体查看博客:http://blog.csdn.net/steveguoshao/article/details/38414145

但是按照以上博文进行修改的时候需要根据自己本地jdk的版本来改. 如果你的本地是JDK1.7,就不要按照博文中写的把文件中的1.5改成1.6,而要把1.5改成1.7

二.Missing artifact****和ArtifactDescriptorException: Failed to read artifact descriptor for***

这两个bug我是在项目的pom.xml文件的porject节点下中指定jdk版本和编译版本来解决的

Maven项目报错:Missing artifact****和ArtifactDescriptorException: Failed to read artifact descriptor for***和Cannot change version of project facet Dynamic w
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <encoding>UTF-8</encoding>
        <java.version>1.7</java.version>    
        <maven.compiler.source>1.7</maven.compiler.source>
        <maven.compiler.target>1.7</maven.compiler.target>
    </properties>  
Maven项目报错:Missing artifact****和ArtifactDescriptorException: Failed to read artifact descriptor for***和Cannot change version of project facet Dynamic w

Maven项目报错:Missing artifact****和ArtifactDescriptorException: Failed to read artifact descriptor for***和Cannot change version of project facet Dynamic w
    <build>  
        <plugins>  
            <plugin>  
                <groupId>org.apache.maven.plugins</groupId>  
                <artifactId>maven-compiler-plugin</artifactId>  
                <configuration>  
                    <source>1.7</source>  
                    <target>1.7</target>  
                </configuration>  
            </plugin>  
        </plugins>  
    </build>  
Maven项目报错:Missing artifact****和ArtifactDescriptorException: Failed to read artifact descriptor for***和Cannot change version of project facet Dynamic w

 右键->mvn->Update Maven Project(把Force Update of Snapshots/Releases勾选上)


本文转自SummerChill博客园博客,原文链接:http://www.cnblogs.com/DreamDrive/p/7567693.html,如需转载请自行联系原作者

上一篇:一种堆外内存缓存策略加速数据写OSS


下一篇:如何使用Kafka Connect实现同步RDS binlog数据