FraBle / python-sutime

Python wrapper for Stanford CoreNLP's SUTime
GNU General Public License v3.0
154 stars 43 forks source link

Not all necessary Java dependencies have been downloaded! #16

Closed festkonfekt closed 6 years ago

festkonfekt commented 6 years ago

I am wondering what is the issue with this error. The installation went fine according to the instructions, and I checked that the jar files seem to be all in order. I use another stanfordcorenlp wrapper, and its java dependencies are working fine with the current installation. I am using python 3.6

coKauf commented 6 years ago

I'm having the same issue where everything seems fine according to the installation instructions but it says "not all necessary Java dependencies have been downloaded!". I am also using python 3.6 and was wondering if you found a solution to this.

haven-jeon commented 6 years ago

It seems have dependency with specific version of CoreNLP. Plz check http://nlp.stanford.edu/software/stanford-corenlp-full-2015-12-09.zip.

haven-jeon commented 6 years ago

This is my solution.

FraBle commented 6 years ago

Could you please install the v.1.0.0 release candidate 2 with pip install sutime==1.0.0rc2, update the Java dependencies with the new pom.xml running mvn dependency:copy-dependencies -DoutputDirectory=./jars, and check if the error still comes up? If yes, please reopen the issue.

alohia commented 5 years ago

This issue still persists with the latest version of sutime

jasonkhaihoang commented 5 years ago

Yes the issue still persists. Don't know how to fix it.

Not all necessary Java dependencies have been downloaded!

feng-1985 commented 5 years ago

@jasonkhaihoang change the required jars with you stanford corenlp version, such as i used the 3.9.2 and using following jars:

    _required_jars = {
        'stanford-corenlp-3.9.2-models.jar',
        'stanford-corenlp-3.9.2.jar',
        'gson-2.8.5.jar',
        'slf4j-simple-1.7.25.jar'
    }
sderose commented 5 years ago

Same issue, and none of the ideas above seem to work.

LouiseDupuisArhis commented 4 years ago

Hi, I also have the same issue and nothing seems to work ... Do you have any idea as to how to solve it ?

iflament commented 3 years ago

Same issue for me, these are the jars I have and I am getting the same error "Not all necessary Java dependencies have been downloaded!"

I ran:

pip install sutime==1.0.0rc2 mvn dependency:copy-dependencies -DoutputDirectory=./jars

and build was successful.

Here are the jars I have:

ejml-0.23.jar jollyday-0.4.7.jar stanford-corenlp-3.6.0.jar javax.json-api-1.0-sources.jar jollyday.jar stanford-corenlp-sutime-python-1.1.0.jar javax.json-api-1.0.jar protobuf.jar xalan-2.7.0.jar javax.json.jar slf4j-api-1.7.12.jar xercesImpl-2.8.0.jar jaxb-api-2.2.7.jar slf4j-api.jar xml-apis-1.3.03.jar joda-time-2.9-sources.jar slf4j-simple.jar xom-1.2.10-src.jar joda-time-2.9.jar stanford-corenlp-3.6.0-javadoc.jar xom-1.2.10.jar joda-time.jar stanford-corenlp-3.6.0-models.jar xom.jar jollyday-0.4.7-sources.jar stanford-corenlp-3.6.0-sources.jar