나는 내 플레이 프레임 워크 프로젝트에 포이 스칼라 라이브러리를 사용하려면, 그리고 build.sbt에 libraryDependencies에 포이 스칼라 라이브러리를 추가 :Poi Scala 라이브러리를 Play 프로젝트에 추가하는 방법은 무엇입니까?
libraryDependencies ++= Seq(
jdbc,
anorm,
cache,
"info.folone" %% "poi-scala" % "0.11",
"com.typesafe.slick" %% "slick" % "2.0.0-RC1",
"com.typesafe.slick" %% "slick-testkit" % "2.0.0-RC1" % "test",
"com.typesafe.play" %% "play-slick" % "0.5.0.8",
"com.novocode" % "junit-interface" % "0.10" % "test",
"ch.qos.logback" % "logback-classic" % "0.9.28" % "test",
"postgresql" % "postgresql" % "9.1-901.jdbc4",
"postgresql" % "postgresql" % "9.1-901.jdbc4" % "test",
"org.webjars" %% "webjars-play" % "2.2.0",
"org.webjars" % "bootstrap" % "2.3.1"
)
명령
Poi Scala
에 의해
하지만, 내가 명령을 "플레이 업데이트 "오류 :
[warn] module not found: info.folone#poi-scala_2.10;0.11
[warn] ==== local: tried
[warn] c:\tools\play-2.2.1\repository\local\info.folone\poi-scala_2.10\0.11\iv
ys\ivy.xml
[warn] ==== Maven2 Local: tried
[warn] file:/C:/Users/boyfox/.m2/repository/info/folone/poi-scala_2.10/0.11/po
i-scala_2.10-0.11.pom
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/info/folone/poi-scala_2.10/0.11/poi-scala
_2.10-0.11.pom
[warn] ==== Typesafe Releases Repository: tried
[warn] http://repo.typesafe.com/typesafe/releases/info/folone/poi-scala_2.10/0
.11/poi-scala_2.10-0.11.pom
아무도이 문제를 해결하는 방법을 알고 계십니까?
미리 감사드립니다.
그것은 0.9''이었다 출판 되었음 POI - 스칼라의 마지막 버전처럼 보인다, (bintray 참조 : 그리고 @gourlaysama의 권고가에 의해 github.com/folone/poi.scala에서 문제를 열었다 https://bintray.com/bintray/jcenter/info.folone:poi-scala_2.10?from=general), sonatype (https://oss.sonatype.org/index.html#nexus-search;quick~folone)), maven central (http://repo1.maven.org/maven2/info/folone/poi-scala_2.10/). 어쩌면 이것은 감독 일 수도 있고, 아니면 다른 메이븐 레포로 이사했을 수도 있습니다. https://github.com/folone/poi.scala에서 문제를 열 것을 권합니다. – gourlaysama
당신의 추천에 대해 @gourlaysama에게 감사의 말을 전합니다. Sonatype 스냅 샷 저장소에서이 파일을 찾았습니다. http://repo.typesafe.com/typesafe/webapp/browserepo.html?4 및 http://oss.sonatype.org/content/repositories/snapshots/info/folone/poi -scala_2.10/0.11-SNAPSHOT /. 그리고 Sonatype repo resolver를 build.sbt 파일에 추가하려했지만 도움이되지 않았습니다. –
스냅 샷은 릴리스가 아니라 스냅 샷입니다. resolvers + = Resolver.sonatypeRepo ("snapshots")'를 추가하고 의존성을''info.folone "%%"poi-scala "%"0.11-SNAPSHOT "'로 변경하여 얻을 수 있습니다. 그러나 이것은 릴리스가 아니라 임의의 중간 빌드입니다. – gourlaysama