Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile

程序报错
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
原因是缺少maven-compiler-plugin插件
在pom.xml中插入

<build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>2.4.2</version>
                <configuration>
                    <skipTests>true</skipTests>
                </configuration>
            </plugin>
                    </plugins>
</build>               
上一篇:laravel使用npm构建报错laravel-mix/src/Mix.js:18 static _primary = null


下一篇:springboot项目里,让tk-mybatis支持可以手写sql的mapper.xml文件