毕业论文开发语言企业开发JAVA技术.NET技术WEB开发Linux/Unix数据库技术Windows平台移动平台嵌入式论文范文英语论文
您现在的位置: 毕业论文 >> WEB开发 >> 正文

Failed to execute goal org.apache.maven.plugins

更新时间:2014-3-11:  来源:毕业论文

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project clothing: Compilation failure [ERROR] Unable to locate the Javac Compiler in: [ERROR] C:\Program Files\Java\jre6\..\lib\tools.jar [ERROR] Please ensure you are using JDK 1.4 or above and [ERROR] not a JRE (the com.sun.tools.javac.Main class is required). [ERROR] In most cases you can change the location of your Java [ERROR] installation by setting the JAVA_HOME environment variable. [ERROR] -> [Help 1] [ERROR]  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR]  [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1]

XML/HTML code? <build>     <plugins>         <plugin>             <groupId>org.apache.maven.plugins</groupId>             <artifactId>maven-compiler-plugin</artifactId>             <version>2.3.2</version>             <configuration>                 <source>1.6</source>                 <target>1.6</target>                 <encoding>UTF-8</encoding>             </configuration>         </plugin>         <plugin>             <groupId>org.apache.maven.plugins</groupId>             <artifactId>maven-war-plugin</artifactId>             <version>2.1.1</version>             <configuration>                 <warName>test</warName>             </configuration>         </plugin>         <plugin>             <groupId>org.apache.maven.plugins</groupId>             <artifactId>maven-dependency-plugin</artifactId>             <executions>                 <execution>                     <id>install</id>                     <phase>install</phase>                     <goals>                         <goal>sources</goal>                     </goals>                 </execution>             </executions>         </plugin>         <plugin>             <groupId>org.mortbay.jetty</groupId>             <artifactId>maven-jetty-plugin</artifactId>             <version>6.1.10</version>             <configuration>                 <scanIntervalSeconds>0</scanIntervalSeconds>                 <stopKey>foo</stopKey>                 <stopPort>9999</stopPort>             </configuration>             <executions>                 <execution>                     <id>start-jetty</id>                     <phase>pre-integration-test</phase>                     <goals>                         <goal>run</goal>                     </goals>                     <configuration>                         <scanIntervalSeconds>0</scanIntervalSeconds>                         <daemon>true</daemon>                     </configuration>                 </execution>             </executions>         </plugin>     </plugins> </build>
JAVA_HOME 环境变量没设置好。

设为首页 | 联系站长 | 友情链接 | 网站地图 |

copyright©youerw.com 优尔论文网 严禁转载
如果本毕业论文网损害了您的利益或者侵犯了您的权利,请及时联系,我们一定会及时改正。