1、[ERROR] org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
解决如下:
2、[ERROR] java: Internal error in the mapping processor: java.lang.NullPointerException
解决如下:
添加参数:-Djps.track.ap.dependencies=false
3、[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project oa-organ: There are test failures.
解决如下:在build里面增加如下代码
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.22.1</version> <configuration> <skipTests>true</skipTests> </configuration> </plugin>