play2 실행시 나타나는 에러러


org.slf4j#slf4j-api;1.7.7: configuration not found in org.slf4j#slf4j-api;1.7.7: 'compile'. It was required from org.slf4j#slf4j-simple;1.7.7 compile


 $ ./activator run
[info] Loading project definition from /mydev/scala-project/lab2/project
[info] Updating {file:/mydev/scala-project/lab2/project/}lab2-build...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: org.slf4j#slf4j-api;1.7.7: configuration not found in org.slf4j#slf4j-api;1.7.7: 'compile'. It was required from org.slf4j#slf4j-simple;1.7.7 compile
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
sbt.ResolveException: unresolved dependency: org.slf4j#slf4j-api;1.7.7: configuration not found in org.slf4j#slf4j-api;1.7.7: 'compile'. It was required from org.slf4j#slf4j-simple;1.7.7 compile
at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:217)
at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:126)
at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:125)
at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:115)
at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:115)
at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:103)
at sbt.IvySbt.sbt$IvySbt$$action$1(Ivy.scala:48)
at sbt.IvySbt$$anon$3.call(Ivy.scala:57)


이 문제는 play2가 ivy 를 사용하고 있는데. ivy dpendency 에 꼬인 문제가 발생했다. 
ivy 캐쉬를 모두 지우고 다시 실행한다.

$ rm -rf ~/.ivy2/

$ ./activator run

(성공)


Posted by '김용환'
,