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

installation issue on Ubuntu #123

Closed
adna9 opened this issue Apr 27, 2021 · 7 comments
Closed

installation issue on Ubuntu #123

adna9 opened this issue Apr 27, 2021 · 7 comments

Comments

@adna9
Copy link

adna9 commented Apr 27, 2021

Task :compileJava FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':compileJava'.

Could not resolve all files for configuration ':compileClasspath'.
Could not find org.grobid:grobid-ner:0.6.0.
Searched in the following locations:
- file:/home/clab/.m2/repository/org/grobid/grobid-ner/0.6.0/grobid-ner-0.6.0.pom
- file:/home/clab/.m2/repository/org/grobid/grobid-ner/0.6.0/grobid-ner-0.6.0.jar
- https://repo.maven.apache.org/maven2/org/grobid/grobid-ner/0.6.0/grobid-ner-0.6.0.pom
- https://repo.maven.apache.org/maven2/org/grobid/grobid-ner/0.6.0/grobid-ner-0.6.0.jar
- https://jcenter.bintray.com/org/grobid/grobid-ner/0.6.0/grobid-ner-0.6.0.pom
- https://jcenter.bintray.com/org/grobid/grobid-ner/0.6.0/grobid-ner-0.6.0.jar
- https://dl.bintray.com/rookies/maven/org/grobid/grobid-ner/0.6.0/grobid-ner-0.6.0.pom
- https://dl.bintray.com/rookies/maven/org/grobid/grobid-ner/0.6.0/grobid-ner-0.6.0.jar
- file:/home/clab/Desktop/NERFISH/entity-fishing/lib/org/grobid/grobid-ner/0.6.0/grobid-ner-0.6.0.pom
- file:/home/clab/Desktop/NERFISH/entity-fishing/lib/org/grobid/grobid-ner/0.6.0/grobid-ner-0.6.0.jar
Required by:
project :

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 4s
2 actionable tasks: 1 executed, 1 up-to-date

@kermitt2
Copy link
Owner

Hello @adna9 !

grobid-ner version 0.6.2 is the currently used version:
https://github.com/kermitt2/entity-fishing/blob/master/build.gradle#L71

Have you updated/rebuild this project? https://github.com/kermitt2/grobid-ner

@adna9
Copy link
Author

adna9 commented Apr 27, 2021

yes using current versions of both still getting same error

@kermitt2
Copy link
Owner

kermitt2 commented Apr 27, 2021

As there is no dependency with grobid-ner version 0.6.0 in the current project, you probably should clean/update entity-fishing.

@adna9
Copy link
Author

adna9 commented Apr 27, 2021

let me try it thanks for prompt reply!

@dlauc
Copy link

dlauc commented May 30, 2021

@adna9 have you managed to resolve the problem, I'm getting the similar one

`> Task :compileJava FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':compileJava'.

Could not resolve all files for configuration ':compileClasspath'.
Could not resolve org.grobid:grobid-ner:0.6.2.
Required by:
project :
> Could not resolve org.grobid:grobid-ner:0.6.2.
> Could not get resource 'https://dl.bintray.com/rookies/maven/org/grobid/grobid-ner/0.6.2/grobid-ner-0.6.2.pom'.
> Could not GET 'https://dl.bintray.com/rookies/maven/org/grobid/grobid-ner/0.6.2/grobid-ner-0.6.2.pom'. Received status code 403 from server: Forbidden
Could not resolve org.grobid:grobid-trainer:0.6.2.
Required by:
project :
> Could not resolve org.grobid:grobid-trainer:0.6.2.
> Could not get resource 'https://dl.bintray.com/rookies/maven/org/grobid/grobid-trainer/0.6.2/grobid-trainer-0.6.2.pom'.
> Could not GET 'https://dl.bintray.com/rookies/maven/org/grobid/grobid-trainer/0.6.2/grobid-trainer-0.6.2.pom'. Received status code 403 from server: Forbidden
Could not resolve org.grobid:grobid-core:0.6.2.
Required by:
project :
> Could not resolve org.grobid:grobid-core:0.6.2.
> Could not get resource 'https://dl.bintray.com/rookies/maven/org/grobid/grobid-core/0.6.2/grobid-core-0.6.2.pom'.
> Could not GET 'https://dl.bintray.com/rookies/maven/org/grobid/grobid-core/0.6.2/grobid-core-0.6.2.pom'. Received status code 403 from server: Forbidden
`

@kermitt2
Copy link
Owner

@dlauc bintray has closed its package hosting service and apparently they are not keeping it in read only mode as they said :(
But have you installed grobid-ner locally as indicated in the documentation?

Normally you should have the artifact in your local maven repo, for example:

lopez@work:~/entity-fishing$ ll ~/.m2/repository/org/grobid/grobid-ner/0.6.2/
total 78M
drwxrwxr-x  2 lopez lopez 4.0K Mar 22 03:45 ./
drwxrwxr-x 10 lopez lopez 4.0K Mar 22 03:45 ../
-rw-rw-r--  1 lopez lopez 123K Mar 22 03:44 grobid-ner-0.6.2.jar
-rw-rw-r--  1 lopez lopez  78M Mar 22 03:45 grobid-ner-0.6.2-onejar.jar
-rw-rw-r--  1 lopez lopez 7.3K Mar 22 03:45 grobid-ner-0.6.2.pom

So the bintray lookup should not take place in principle.

@dlauc
Copy link

dlauc commented May 31, 2021

Thanks, I've had 0.6.0 version, it works now. Thank you for the great project!

@kermitt2 kermitt2 closed this as completed May 3, 2022
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