Closed wiradikusuma closed 6 years ago
Regarding your issue title, have you setup idea correctly? In particular delegating all idea tasks to gradle? https://www.jetbrains.com/help/idea/gradle.html#delegate_build_gradle
Furthermore if you have changed the output folder of scala and java as in the stackoverflow post, you work against the gradle defaults (since 4.0) where each language has a seperate output folder. https://docs.gradle.org/4.0/release-notes.html#build-cache-improvements
If you can share your build.gradle
that could help, but I think this is not a jhipster issue, so stackoverflow might be the better choice to get help here.
Yes please use stack overflow for questions and support, this is only for bugs and features
Overview of the issue
Motivation for or Use Case
Scala should be supported.
Reproduce the error
apply plugin: 'scala'
b. Follow http://stackoverflow.com/a/23261076/193550 c.compile "org.scala-lang:scala-library:2.12.4"
./gradlew
(If you don't see the error: Ctrl-C, update the Scala class to trigger IDEA compilation,
./gradlew
again)Related issues
Nothing that I know of.
Suggest a Fix
Clean the project before running it (but annoying):
./gradlew clean
./gradlew
(don't forget to run npm/yarn as well)JHipster Version(s)
4.14.0
JHipster configuration
Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryNot applicable.
Browsers and Operating System
macOS, Chrome.