【发布时间】:2014-12-18 16:14:44
【问题描述】:
我正在做一个在 Java 中使用斯坦福 NLP 进行文本分类的项目。为了获取 API,我在我的 POM 文件中添加了依赖项。
<dependency>
<groupId>edu.stanford.nlp</groupId>
<artifactId>stanford-corenlp</artifactId>
<version>3.5.0</version>
</dependency>
<dependency>
<groupId>edu.stanford.nlp</groupId>
<artifactId>stanford-corenlp</artifactId>
<version>3.5.0</version>
<classifier>models</classifier>
</dependency>
当我进行 maven 更新/安装时,我收到以下错误消息:
Failure to transfer edu.stanford.nlp:stanford-corenlp:jar:models:3.5.0 from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact edu.stanford.nlp:stanford-corenlp:jar:models:3.5.0 from/to central (http://repo.maven.apache.org/maven2): No response received after 60000.
我在这里发现了一个类似的问题 - Maven dependency:get does not download Stanford NLP model files。但是,我无法在任何地方找到解决方案。有什么帮助吗?
【问题讨论】:
标签: java maven stanford-nlp