-
Notifications
You must be signed in to change notification settings - Fork 5
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
Lỗi khi build package #4
Comments
Hi, mình test trên Linux với maven 3.6.3 không có vấn đề gì. Bạn vui lòng kiểm tra lại maven trên môi trường của bạn nhé. |
Mình cũng thử lại trên Ubuntu 20.04 và maven 3.6.3 cũng gặp lỗi tương tự như trên windows 10. :( |
Cảm ơn bạn. Mình đã fix lỗi. Bạn kiểm tra lại xem sao nhé. |
Cảm ơn bạn. Mình đã build được các file jar sau khi sửa version của maven-surefire-plugin xuống 2.18.1 Caused by: java.lang.ClassNotFoundException: org.apache.lucene.analysis.StopwordAnalyzerBase |
Mình gặp lỗi này khi build package, Hi vọng bạn có thể trả lời.
C:\Users\manhh\Desktop\solr-vn-tokenizer>mvn package
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for vn.dica:solr-vn-analyzer:jar:1.0
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 80, column 21
[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] ----------------------< vn.dica:solr-vn-analyzer >----------------------
[INFO] Building solr-vn-analyzer 1.0
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for VnCoreNLP:VnCoreNLP:jar:1.1.1 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.010 s
[INFO] Finished at: 2021-11-15T17:39:03+07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project solr-vn-analyzer: Could not resolve dependencies for project vn.dica:solr-vn-analyzer:jar:1.0: VnCoreNLP:VnCoreNLP:jar:1.1.1 was not found in file://{project.basedir}/local-maven-repo during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of example-repo has elapsed or updates are forced -> [Help 1]
The text was updated successfully, but these errors were encountered: