Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maven构建失败:错误: 找不到符号 #110

Open
Core2002 opened this issue Mar 23, 2020 · 2 comments
Open

maven构建失败:错误: 找不到符号 #110

Core2002 opened this issue Mar 23, 2020 · 2 comments

Comments

@Core2002
Copy link

[INFO] Compiling 11 source files to E:\jieba-analysis\target\classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] \jieba-analysis\src\main\java\com\huaban\analysis\jieba\JiebaSegmenter.java:[25,29] 错误: 找不到符号 [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 28.037 s [INFO] Finished at: 2020-03-24T06:11:54+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project jieba-analysis: Compilation failure [ERROR] \jieba-analysis\src\main\java\com\huaban\analysis\jieba\JiebaSegmenter.java:[25,29] 错误: 找不到符号 [ERROR] [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] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

@ChoKhoOu
Copy link

你自己重新导入一下包就行 就在那个文件

@situjie68
Copy link

在JiebaSegmenter.java文件中 添加 import java.nio.file.Path;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants