Reputation: 14803
I get these Exceptions when refreshing the sbt project within Intellij:
I removed .intellij
folder but without success.
Anyway, it seems everything works as expected so far.
Here is the whole Project: https://github.com/pme123/play-binding-form
After the comment of Justin Kaeser I installed 2018.2
and now Intellij works, but now I see the exception in the `sbt shell:
[info] Reapplying settings...
[info] Set current project to formRoot (in build file:/Users/mpa/dev/Github/pme123/play-binding-form/)
[error] a required artifact is not listed by module descriptor: *#*!*.*
[error] a required artifact is not listed by module descriptor: *#*!*.*
[error] a required artifact is not listed by module descriptor: *#*!*.*
...
Upvotes: 2
Views: 3290
Reputation: 14803
I found now the change that caused the problem:
In build.sbt
my shared configuration:
lazy val shared = crossProject(JSPlatform, JVMPlatform)
.crossType(CrossType.Pure)
.settings(sharedSettings())
.settings(sharedDependencies)
.settings(
publish := {},
publishLocal := {},
publishArtifact := false, // this line caused the problem
)
When removing that line it works.
Would be great if someone knows the reason!
Upvotes: 4
Reputation: 1167
this seems to be a dependency resolving problem.
Also, in your sourcecode you have 2 projects with the same content root:
formRoot and play-finding-form.
You cannot have 2 modules with the same content root. Get Rid with one of them and fit your sbt build, File > Invalid Caches/Restart... and finally refresh all sbt project in the sbt tool window.
Hope it helps.
Upvotes: 0