我正在研究ark-tweet-nlp項目。我從Github下載了一個項目並在Netbeans中運行它。運行該項目後,我得到以下錯誤。我的NetBeans有Maven,並且還閱讀下面的錯誤說明。但我無法修復這個問題。你願意幫我嗎?部分語音標記器
未能執行目標org.codehaus.mojo:exec-maven-plugin:1.2.1:exec(default-cli)on project ark-tweet-nlp:命令執行失敗。進程退出,出現錯誤:1(退出值:1) - > [Help 1] 錯誤: 要查看錯誤的完整堆棧跟蹤,請使用-e開關重新運行Maven。 使用-X開關重新運行Maven以啓用完整的調試日誌記錄。 有關錯誤和可能的解決辦法,請您仔細閱讀以下文章瞭解更多信息: [說明1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException POM文件:
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>edu.cmu.cs</groupId>
<artifactId>ark-tweet-nlp</artifactId>
<packaging>jar</packaging>
<version>0.3.2</version>
<name>CMU ARK TweetNLP: Twitter POS tagger</name>
<url>http://www.ark.cs.cmu.edu/TweetNLP/</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
<goal>exec</goal>
</goals>
<configuration>
<sources>
<source>${basedir}/../src</source>
<!-- <source>${java.home}/src</source>-->
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>cmu.arktweetnlp.RunTagger</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
<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>
</configuration>
</plugin>
您是否按照錯誤消息中的說明進行操作?如果不是,爲什麼不呢? –