Open zhangbxgit opened 6 years ago
同是这个问题
我也是同样的问题
有老铁解决没
同,老哥们我快烦死了,谁来救救我...直接给一个jar包不好吗
有解决的吗
同样这个问题
求解决呀,我的天纳
推荐使用vs2015 在编译的时候,请打开VS2015 x64 本机工具命令提示符,在这个工具里进行编译,这样才能够引用到vs的一些库
其如下所示:
编译指令:
mvn clean package
推荐使用vs2015 在编译的时候,请打开VS2015 x64 本机工具命令提示符,在这个工具里进行编译,这样才能够引用到vs的一些库
其如下所示:
编译指令:
mvn clean package
这个可以把缺少的库加入一下吗,visual studio 太大了
安装了visual studio ,还是编译不过,错误如下: [INFO] [INFO] --- nar-maven-plugin:3.5.0:nar-validate (default-nar-validate) @ ltp4j --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 17.696 s [INFO] Finished at: 2019-10-12T11:31:58+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.github.maven-nar:nar-maven-plugin:3.5.0:nar-validate (default-nar-validate) on project ltp4j: msvc.windowsSdkVersion not specified and versions cannot be found -> [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] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
用VS2015Native Tools Command prompt执行的
整明白了,要把
求大佬详细步骤
Windows10 安装了vc 2017 maven3.1.1 jdk1.8 git clone https://github.com/HIT-SCIR/ltp4j.git cd ltp4j git checkout neoltp4j git submodule init git submodule update 按步骤执行,执行了好几次命令行报错如下,麻烦哪位能给个建议
[ERROR] Failed to execute goal com.github.maven-nar:nar-maven-plugin:3.5.0:nar-validate (default-nar-validate) on project ltp4j: Could not launch cmd.exe /X /C "link /?": Error while executing process. Cannot run program "link": CreateProcess error=2, 系统找不到指定的文件。 -> [Help 1]
D:\work\LTP\ltp4j\ltp4j>mvn -Dmaven.test.skip=true [WARNING] [WARNING] Some problems were encountered while building the effective settings [WARNING] Unrecognised tag: 'mirror' (position: START_TAG seen ... -->\n... @172:9) @ D:\work\utils\apache-maven-3.1.1\bin..\conf\settings.xml, line 172, column 9
[WARNING]
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for edu.hit.ir.ltp4j:ltp4j:nar:0.1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 54, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building hitscir-ltp4j 0.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- nar-maven-plugin:3.5.0:nar-validate (default-nar-validate) @ ltp4j ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.744s
[INFO] Finished at: Tue Jun 05 23:21:01 CST 2018
[INFO] Final Memory: 9M/151M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "nexus" could not be activated because it does not exist.
[ERROR] Failed to execute goal com.github.maven-nar:nar-maven-plugin:3.5.0:nar-validate (default-nar-validate) on project ltp4j: Could not launch cmd.exe /X /C "link /?": Error while executing process. Cannot run program "link": CreateProcess error=2, 系统找不到指定的文件。 -> [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] ###http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
D:\work\LTP\ltp4j\ltp4j>
23