Error
org.gradle.execution.MultipleBuildFailures: Build completed with 1 failures. Caused by: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:compileDebugJavaWithJavac'. Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
I'm getting this this error when I enable dataBinding and try to build on IntelliJ IDEA, building with gradlew build
works, and on Android Studio works too.
Versions
Gradle version: 5.1.1
IDEA: 2019.1.3
Android plugin: (latest as of 18 jun)
Java: 8
To reproduce, create a project on Android Studio, enable dataBinding, and open it on IDEA and try to build.
Does anyone know why these conflicts are happening?