Make up failing on 'ed-logging' dependency
When I run the "make up" command, it gets stuck on an error:
[error] (update) sbt.librarymanagement.ResolveException: unresolved dependency: community.ed#ed-logging_2.12;0.0.2: not found
Is this a known issue?
- 9 replies
- @KajMagnus marked this topic as Planned 2019-03-09 07:00:01.929Z.
- @KajMagnus marked this topic as Started 2019-03-09 07:00:02.738Z.
Yes sort of — other people have run into this too. I thought I had fixed it, but now I noticed I've forgotten to remove a line from the Scala SBT dependency list, for a dependency that's no longer in use.
I just removed that line ... now I'm typing
make upin a clean Vagrant VM. If this works, the problem should have been solved. (I didn't push this fix yet, to the Git repo; I'll do later today)
(I didn't notice the problem myself because I had compiled the dependency long ago so it was in my build cache, and was therefore found.)
Hi again Tracy @twaudby, now I've removed the dependency, and everything works fine without it now (as far as I can tell). Would you like to try? If you pull the latest changes from the
masterbranch, incl this commit: https://github.com/debiki/talkyard/commit/5efb70707c54810e55905a0e8557f80e0b1ca951
i pulled the latest code and got past the ed-logging, but now there is a new missing dependency error:
[error] (update) sbt.librarymanagement.ResolveException: unresolved dependency: net.minidev#json-smart;[1.3.1,2.3]: not found
Could this have been a temporary network error? What happens if you try again? (You can type
make play-clito start the Scala console, and then type
compileto download dependencies and compile the Scala code.)
Or, what operating system do you use? Maybe there's some problem with where the
~/.ivy2/cache folder is located.
The dependency is available in mvnrepository.com: https://mvnrepository.com/artifact/net.minidev/json-smart/2.3, version 2.3 and it gets downloaded properly to my computer.
( More details: It's a transitive dependency, included via Silhouette, an OpenAuth library —
... [info] +-com.mohiva:play-silhouette_2.12:5.0.5 [S] [info] | +-com.atlassian.jwt:jwt-api:2.0.1 [info] | | +-com.google.code.findbugs:jsr305:2.0.1 [info] | | [info] | +-com.atlassian.jwt:jwt-core:2.0.1 [info] | | +-com.nimbusds:nimbus-jose-jwt:4.41.1 [info] | | | +-com.github.stephenc.jcip:jcip-annotations:1.0-1 [info] | | | +-net.minidev:json-smart:2.3 <———— there it is [info] | | | +-net.minidev:accessors-smart:1.2 [info] | | | +-org.ow2.asm:asm:5.0.4 ...
It gets dowloaded properly to a clean Ubuntu 18.04 VM when I test on my computer:
[info] downloading https://repo1.maven.org/maven2/net/minidev/json-smart/2.3/json-smart-2.3.jar ... ... [info] [SUCCESSFUL ] net.minidev#json-smart;2.3!json-smart.jar(bundle) (329ms)
and it's in
~/.ivy2on my computer:
root@ubuntu-bionic:~/.ivy2# find . -regex '.*json-smart.*' ./cache/net.minidev/json-smart ./cache/net.minidev/json-smart/ivy-2.3.xml ./cache/net.minidev/json-smart/bundles ./cache/net.minidev/json-smart/bundles/json-smart-2.3.jar ./cache/net.minidev/json-smart/ivy-2.3.xml.original ./cache/net.minidev/json-smart/ivydata-[1.3.1,2.3].properties ./cache/net.minidev/json-smart/ivydata-2.3.properties
Maybe you could send me the Play Framework log files? If you type:
docker-compose logs app | gzip --stdout > app-logs.txt.gzand attach
app-logs.txt.gzhere or in a private message?
Also, what happens if you do this:
cd /tmp/ wget https://repo1.maven.org/maven2/net/minidev/json-smart/2.3/json-smart-2.3.jar
Will that download the
json-smart-2.3.jarfile? (works for me; I get an 118K large file.)