1
如果我有SBT依賴
libraryDependencies += "org.apache.opennlp" % "opennlp-tools" % "1.5.2-incubating"
在
build.sbt
,我得到一個錯誤:
[warn] module not found: jwnl#jwnl;1.3.3
[warn] ==== local: tried
[warn] C:\Users\Alexey\.ivy2/local/jwnl/jwnl/1.3.3/ivys/ivy.xml
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/jwnl/jwnl/1.3.3/jwnl-1.3.3.pom
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: jwnl#jwnl;1.3.3: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[error] {file:/E:/OpenCorporaSegmenter/}default-af76b3/*:update: sbt.ResolveExce
ption: unresolved dependency: jwnl#jwnl;1.3.3: not found
[error] Total time: 2 s, completed 22.02.2013 11:53:16
的原因顯然是https://issues.apache.org/jira/browse/OPENNLP-510,但
libraryDependencies += "org.cleartk" % "cleartk-opennlp-tools" % "0.10.2"
更換的依賴
(不包括JWNL),如評論中所建議的,仍然會產生相同的錯誤。有沒有辦法避免這個問題?