Hi
When I upgraded the Jmix studio by first installing the IntelliJ 2024.1.2, I faced errors building the war file for deployment of my composite project, though I could run the application in the studio environment using Command + Enter in terminal in my mac.
mak@Mortozas-iMac myapp % ls
build frontend gradlew myapp.iml node_modules settings.gradle vite.config.ts webpack.config.js
build.gradle gradle gradlew.bat jmix-studio.xml package.json src vite.generated.ts
mak@Mortozas-iMac myapp % ./gradlew -Pvaadin.productionMode=true bootWar
> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':compileClasspath'.
> Could not find com.myapp:myapphr-starter:0.0.1-SNAPSHOT.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/com/myapp/myapphr-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://repo.maven.apache.org/maven2/com/myapp/myapphr-starter/0.0.1-SNAPSHOT/myapphr-starter-0.0.1-SNAPSHOT.pom
- https://nexus.jmix.io/repository/public/com/myapp/myapphr-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://nexus.jmix.io/repository/public/com/myapp/myapphr-starter/0.0.1-SNAPSHOT/myapphr-starter-0.0.1-SNAPSHOT.pom
- https://maven.vaadin.com/vaadin-addons/com/myapp/myapphr-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://maven.vaadin.com/vaadin-addons/com/myapp/myapphr-starter/0.0.1-SNAPSHOT/myapphr-starter-0.0.1-SNAPSHOT.pom
Required by:
project :
> Could not find com.myapp:myapphrmd-starter:0.0.1-SNAPSHOT.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/com/myapp/myapphrmd-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://repo.maven.apache.org/maven2/com/myapp/myapphrmd-starter/0.0.1-SNAPSHOT/myapphrmd-starter-0.0.1-SNAPSHOT.pom
- https://nexus.jmix.io/repository/public/com/myapp/myapphrmd-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://nexus.jmix.io/repository/public/com/myapp/myapphrmd-starter/0.0.1-SNAPSHOT/myapphrmd-starter-0.0.1-SNAPSHOT.pom
- https://maven.vaadin.com/vaadin-addons/com/myapp/myapphrmd-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://maven.vaadin.com/vaadin-addons/com/myapp/myapphrmd-starter/0.0.1-SNAPSHOT/myapphrmd-starter-0.0.1-SNAPSHOT.pom
Required by:
project :
> Could not find com.myapp:myappmdg-starter:0.0.1-SNAPSHOT.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/com/myapp/myappmdg-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://repo.maven.apache.org/maven2/com/myapp/myappmdg-starter/0.0.1-SNAPSHOT/myappmdg-starter-0.0.1-SNAPSHOT.pom
- https://nexus.jmix.io/repository/public/com/myapp/myappmdg-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://nexus.jmix.io/repository/public/com/myapp/myappmdg-starter/0.0.1-SNAPSHOT/myappmdg-starter-0.0.1-SNAPSHOT.pom
- https://maven.vaadin.com/vaadin-addons/com/myapp/myappmdg-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://maven.vaadin.com/vaadin-addons/com/myapp/myappmdg-starter/0.0.1-SNAPSHOT/myappmdg-starter-0.0.1-SNAPSHOT.pom
Required by:
project :
> Could not find com.myapp:myappbditax-starter:0.0.1-SNAPSHOT.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/com/myapp/myappbditax-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://repo.maven.apache.org/maven2/com/myapp/myappbditax-starter/0.0.1-SNAPSHOT/myappbditax-starter-0.0.1-SNAPSHOT.pom
- https://nexus.jmix.io/repository/public/com/myapp/myappbditax-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://nexus.jmix.io/repository/public/com/myapp/myappbditax-starter/0.0.1-SNAPSHOT/myappbditax-starter-0.0.1-SNAPSHOT.pom
- https://maven.vaadin.com/vaadin-addons/com/myapp/myappbditax-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://maven.vaadin.com/vaadin-addons/com/myapp/myappbditax-starter/0.0.1-SNAPSHOT/myappbditax-starter-0.0.1-SNAPSHOT.pom
Required by:
project :
> Could not find com.myapp:myapploan-starter:0.0.1-SNAPSHOT.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/com/myapp/myapploan-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://repo.maven.apache.org/maven2/com/myapp/myapploan-starter/0.0.1-SNAPSHOT/myapploan-starter-0.0.1-SNAPSHOT.pom
- https://nexus.jmix.io/repository/public/com/myapp/myapploan-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://nexus.jmix.io/repository/public/com/myapp/myapploan-starter/0.0.1-SNAPSHOT/myapploan-starter-0.0.1-SNAPSHOT.pom
- https://maven.vaadin.com/vaadin-addons/com/myapp/myapploan-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://maven.vaadin.com/vaadin-addons/com/myapp/myapploan-starter/0.0.1-SNAPSHOT/myapploan-starter-0.0.1-SNAPSHOT.pom
Required by:
project :
> Could not find com.myapp:myappfund-starter:0.0.1-SNAPSHOT.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/com/myapp/myappfund-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://repo.maven.apache.org/maven2/com/myapp/myappfund-starter/0.0.1-SNAPSHOT/myappfund-starter-0.0.1-SNAPSHOT.pom
- https://nexus.jmix.io/repository/public/com/myapp/myappfund-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://nexus.jmix.io/repository/public/com/myapp/myappfund-starter/0.0.1-SNAPSHOT/myappfund-starter-0.0.1-SNAPSHOT.pom
- https://maven.vaadin.com/vaadin-addons/com/myapp/myappfund-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://maven.vaadin.com/vaadin-addons/com/myapp/myappfund-starter/0.0.1-SNAPSHOT/myappfund-starter-0.0.1-SNAPSHOT.pom
Required by:
project :
> Could not find com.myapp:myappcmp-starter:0.0.1-SNAPSHOT.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/com/myapp/myappcmp-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://repo.maven.apache.org/maven2/com/myapp/myappcmp-starter/0.0.1-SNAPSHOT/myappcmp-starter-0.0.1-SNAPSHOT.pom
- https://nexus.jmix.io/repository/public/com/myapp/myappcmp-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://nexus.jmix.io/repository/public/com/myapp/myappcmp-starter/0.0.1-SNAPSHOT/myappcmp-starter-0.0.1-SNAPSHOT.pom
- https://maven.vaadin.com/vaadin-addons/com/myapp/myappcmp-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://maven.vaadin.com/vaadin-addons/com/myapp/myappcmp-starter/0.0.1-SNAPSHOT/myappcmp-starter-0.0.1-SNAPSHOT.pom
Required by:
project :
> Could not find com.myapp:myappgen-starter:0.0.1-SNAPSHOT.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/com/myapp/myappgen-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://repo.maven.apache.org/maven2/com/myapp/myappgen-starter/0.0.1-SNAPSHOT/myappgen-starter-0.0.1-SNAPSHOT.pom
- https://nexus.jmix.io/repository/public/com/myapp/myappgen-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://nexus.jmix.io/repository/public/com/myapp/myappgen-starter/0.0.1-SNAPSHOT/myappgen-starter-0.0.1-SNAPSHOT.pom
- https://maven.vaadin.com/vaadin-addons/com/myapp/myappgen-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://maven.vaadin.com/vaadin-addons/com/myapp/myappgen-starter/0.0.1-SNAPSHOT/myappgen-starter-0.0.1-SNAPSHOT.pom
Required by:
project :
> Could not find com.myapp:myapprr-starter:0.0.1-SNAPSHOT.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/com/myapp/myapprr-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://repo.maven.apache.org/maven2/com/myapp/myapprr-starter/0.0.1-SNAPSHOT/myapprr-starter-0.0.1-SNAPSHOT.pom
- https://nexus.jmix.io/repository/public/com/myapp/myapprr-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://nexus.jmix.io/repository/public/com/myapp/myapprr-starter/0.0.1-SNAPSHOT/myapprr-starter-0.0.1-SNAPSHOT.pom
- https://maven.vaadin.com/vaadin-addons/com/myapp/myapprr-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://maven.vaadin.com/vaadin-addons/com/myapp/myapprr-starter/0.0.1-SNAPSHOT/myapprr-starter-0.0.1-SNAPSHOT.pom
Required by:
project :
> Could not find com.myapp:myapptd-starter:0.0.1-SNAPSHOT.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/com/myapp/myapptd-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://repo.maven.apache.org/maven2/com/myapp/myapptd-starter/0.0.1-SNAPSHOT/myapptd-starter-0.0.1-SNAPSHOT.pom
- https://nexus.jmix.io/repository/public/com/myapp/myapptd-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://nexus.jmix.io/repository/public/com/myapp/myapptd-starter/0.0.1-SNAPSHOT/myapptd-starter-0.0.1-SNAPSHOT.pom
- https://maven.vaadin.com/vaadin-addons/com/myapp/myapptd-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://maven.vaadin.com/vaadin-addons/com/myapp/myapptd-starter/0.0.1-SNAPSHOT/myapptd-starter-0.0.1-SNAPSHOT.pom
Required by:
project :
> Could not find com.myapp:myapppmp-starter:0.0.1-SNAPSHOT.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/com/myapp/myapppmp-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://repo.maven.apache.org/maven2/com/myapp/myapppmp-starter/0.0.1-SNAPSHOT/myapppmp-starter-0.0.1-SNAPSHOT.pom
- https://nexus.jmix.io/repository/public/com/myapp/myapppmp-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://nexus.jmix.io/repository/public/com/myapp/myapppmp-starter/0.0.1-SNAPSHOT/myapppmp-starter-0.0.1-SNAPSHOT.pom
- https://maven.vaadin.com/vaadin-addons/com/myapp/myapppmp-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://maven.vaadin.com/vaadin-addons/com/myapp/myapppmp-starter/0.0.1-SNAPSHOT/myapppmp-starter-0.0.1-SNAPSHOT.pom
Required by:
project :
> Could not find com.myapp:myappmsg-starter:0.0.1-SNAPSHOT.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/com/myapp/myappmsg-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://repo.maven.apache.org/maven2/com/myapp/myappmsg-starter/0.0.1-SNAPSHOT/myappmsg-starter-0.0.1-SNAPSHOT.pom
- https://nexus.jmix.io/repository/public/com/myapp/myappmsg-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://nexus.jmix.io/repository/public/com/myapp/myappmsg-starter/0.0.1-SNAPSHOT/myappmsg-starter-0.0.1-SNAPSHOT.pom
- https://maven.vaadin.com/vaadin-addons/com/myapp/myappmsg-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://maven.vaadin.com/vaadin-addons/com/myapp/myappmsg-starter/0.0.1-SNAPSHOT/myappmsg-starter-0.0.1-SNAPSHOT.pom
Required by:
project :
> Could not find com.myapp:myappld-starter:0.0.1-SNAPSHOT.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/com/myapp/myappld-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://repo.maven.apache.org/maven2/com/myapp/myappld-starter/0.0.1-SNAPSHOT/myappld-starter-0.0.1-SNAPSHOT.pom
- https://nexus.jmix.io/repository/public/com/myapp/myappld-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://nexus.jmix.io/repository/public/com/myapp/myappld-starter/0.0.1-SNAPSHOT/myappld-starter-0.0.1-SNAPSHOT.pom
- https://maven.vaadin.com/vaadin-addons/com/myapp/myappld-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://maven.vaadin.com/vaadin-addons/com/myapp/myappld-starter/0.0.1-SNAPSHOT/myappld-starter-0.0.1-SNAPSHOT.pom
Required by:
project :
> Could not find com.myapp:myappdps-starter:0.0.1-SNAPSHOT.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/com/myapp/myappdps-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://repo.maven.apache.org/maven2/com/myapp/myappdps-starter/0.0.1-SNAPSHOT/myappdps-starter-0.0.1-SNAPSHOT.pom
- https://nexus.jmix.io/repository/public/com/myapp/myappdps-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://nexus.jmix.io/repository/public/com/myapp/myappdps-starter/0.0.1-SNAPSHOT/myappdps-starter-0.0.1-SNAPSHOT.pom
- https://maven.vaadin.com/vaadin-addons/com/myapp/myappdps-starter/0.0.1-SNAPSHOT/maven-metadata.xml
- https://maven.vaadin.com/vaadin-addons/com/myapp/myappdps-starter/0.0.1-SNAPSHOT/myappdps-starter-0.0.1-SNAPSHOT.pom
Required by:
project :
But when I try the same way in intelliJ 2023.2, it works as usual.
Can anyone help how this can be resolved?