您的位置:首页 > 博客中心 > 网络系统 >

eclipse maven工程错误总汇

时间:2022-04-03 12:54

1、问题:

         Target runtime Apache Tomcat v7.0 is not defined

   解决方法:

          right click on your project > Properties > Targeted Runtime > Click the version required 8.0 

   相关资料:

             

2、问题:

           Maven项目中的Dynamic Web Module 3.0 requires Java 1.6 or newer

     解决方法

          在项目的pom.xml的 build 标签中加入:

    

<plugins>  
    <plugin>  
        <groupId>org.apache.maven.plugins</groupId>  
        <artifactId>maven-compiler-plugin</artifactId>  
        <version>2.3.2</version>  
        <configuration>  
            <source>1.7</source>  
            <target>1.7</target>  
        </configuration>  
    </plugin>  
</plugins> 

    相关资料:

        http://blog.csdn.net/liuxinghao/article/details/37088063

热门排行

今日推荐

热门手游