Version 7 (MacOS) + JDK 11.0.2

Hi Guys,

with CUBA V 7, MacOS and Java 8 I have no problems building an application. Same way and choosing Java 11 the build failed with following exception:

> Could not resolve all files for configuration ':app-core:runtime'.
   > Could not resolve javax.xml.bind:jaxb-api:2.3.1.
     Required by:
         project :app-core > project :app-global
   
BUILD FAILED in 0s
12 actionable tasks: 2 executed, 10 up-to-date
No cached version of javax.xml.bind:jaxb-api:2.3.1 available for offline mode.

---------------------
Run with --scan:

BUILD FAILED in 0s
Plugin [id: 'com.gradle.build-scan', version: '1.16', artifact: 'com.gradle:build-scan-plugin:1.16'] was not found in any of the following sources:

- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'com.gradle:build-scan-plugin:1.16')
  Searched in the following repositories:
    Gradle Central Plugin Repository

I would be very happy about any help or suggestion.

Bye Sabrina

Hi,

According to this line, gradle failed to download the dependency that is needed for java 11. Enable online mode and try to build the project again.

55

Regards,
Gleb

1 Like

Hi Gleb, you’re right, that was the mistake. I’m new with CUBA, I like it very much so far.

Thank you very much and have a nice day.

Bye

Sabrina