windows - Maven returns an error: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1 -
i have project maven in netbeans ide 8.0.2 when perform action:
1. clean , build
2. run
displays error:
failed execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project springscope: command execution failed. process exited error: 1 (exit value: 1) -> [help 1]
to see full stack trace of errors, re-run maven -e switch. re-run maven using -x switch enable full debug logging.
<?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:schemalocation="http://maven.apache.org/pom/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelversion>4.0.0</modelversion> <groupid>com.hubberspot.spring</groupid> <artifactid>springscope</artifactid> <version>1.0-snapshot</version> <packaging>jar</packaging> <properties> <project.build.sourceencoding>utf-8</project.build.sourceencoding> <maven.compiler.source>1.7</maven.compiler.source> <maven.compiler.target>1.7</maven.compiler.target> </properties> <dependencies> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-context</artifactid> <version>4.1.0.release</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-core</artifactid> <version>4.1.0.release</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-beans</artifactid> <version>4.1.0.release</version> </dependency> </dependencies> </project>
i don't know how fix error. :(
please help.
Comments
Post a Comment