Skip to content

Gui pom fails to launch in some projects #1980

@laim2003

Description

@laim2003

Actual behavior

This is a weird bug, but it seems like the gui in some project fails to launch due to the parent tag in the pom.xml file. In my case however, this only seems to fail in certain situations:

No CVEs found for version 3.9.15 of tool mvn.
No CVEs found for version 8u412b08 of tool java.
Version 8u412b08 of tool java is already installed
Version 3.9.15 of tool mvn is already installed
No CVEs found for version 25.0.3_9 of tool java.
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for com.devonfw.tools.IDEasy:ide-gui-launcher:2026.05.001-SNAPSHOT: The following artifacts could not be resolved: com.devonfw.tools.IDEasy.dev:ide:pom:dev-SNAPSHOT (absent): Could not find artifact com.devonfw.tools.IDEasy.dev:ide:pom:dev-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 7, column 11
 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project com.devonfw.tools.IDEasy:ide-gui-launcher:2026.05.001-SNAPSHOT (C:\Users\lfaber\projects\_ide\installation\gui\pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for com.devonfw.tools.IDEasy:ide-gui-launcher:2026.05.001-SNAPSHOT: The following artifacts could not be resolved: com.devonfw.tools.IDEasy.dev:ide:pom:dev-SNAPSHOT (absent): Could not find artifact com.devonfw.tools.IDEasy.dev:ide:pom:dev-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 7, column 11 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
Running command 'C:\Users\lfaber\projects\test\software\mvn\bin\mvn.cmd' with arguments '-f' 'C:\Users\lfaber\projects\_ide\installation\gui\pom.xml' 'exec:exec' '-Dexec.executable=java' '-Dexec.classpathScope=compile' '-Dexec.args=-classpath %classpath com.devonfw.ide.gui.AppLauncher'
failed with exit code 1!
Logfile can be found at C:\Users\lfaber\projects\_ide\logs\2026\05\27\test-ide-gui-10-16-59.log
An unexpected error occurred!
We are sorry for the inconvenience.
Please check the error below, resolve it and try again.
If the error is not on your end (network connectivity, lack of permissions, etc.) please file a bug:
https://github.com/devonfw/IDEasy/issues/new?template=bug_report.yml&title=IllegalStateException%3A+Running+command+%27C%3A%5CUsers%5Clfaber%5Cprojects%5Ctest%5Csoftware%5Cmvn%5Cbin%5Cmvn.cmd%27+with+arguments+%27-f%27+%27C%3A%5CUsers%5Clfaber%5Cprojects%5C_ide%5Cinstallation%5Cgui%5Cpom.xml%27+%27exec%3Aexec%27+%27-Dexec.executable%3Djava%27+%27-Dexec.classpathScope%3Dcompile%27+%27-Dexec.args%3D-classpath+%25classpath+com.devonfw.ide.gui.AppLauncher%27%0Afailed+with+exit+code+1%21
java.lang.IllegalStateException: Running command 'C:\Users\lfaber\projects\test\software\mvn\bin\mvn.cmd' with arguments '-f' 'C:\Users\lfaber\projects\_ide\installation\gui\pom.xml' 'exec:exec' '-Dexec.executable=java' '-Dexec.classpathScope=compile' '-Dexec.args=-classpath %classpath com.devonfw.ide.gui.AppLauncher'
failed with exit code 1!
        at com.devonfw.tools.ide.process.ProcessContextImpl.performLogging(ProcessContextImpl.java:395)
        at com.devonfw.tools.ide.process.ProcessContextImpl.run(ProcessContextImpl.java:236)
        at com.devonfw.tools.ide.tool.ToolCommandlet.runTool(ToolCommandlet.java:248)
        at com.devonfw.tools.ide.tool.gui.Gui.doRun(Gui.java:80)
        at com.devonfw.tools.ide.commandlet.Commandlet.run(Commandlet.java:232)
        at com.devonfw.tools.ide.context.AbstractIdeContext.applyAndRun(AbstractIdeContext.java:1322)
        at com.devonfw.tools.ide.context.AbstractIdeContext.run(AbstractIdeContext.java:1147)
        at com.devonfw.tools.ide.cli.Ideasy.runOrThrow(Ideasy.java:91)
        at com.devonfw.tools.ide.cli.Ideasy.run(Ideasy.java:55)
        at com.devonfw.tools.ide.cli.Ideasy.main(Ideasy.java:134)
        at java.base@25.0.2/java.lang.invoke.LambdaForm$DMH/sa346b79c.invokeStaticInit(LambdaForm$DMH)


Error: IDEasy failed with exit code 255

Please use (git-)bash (integrated in Windows Terminal) for full IDEasy support:
https://github.com/devonfw/IDEasy/blob/main/documentation/advanced-tooling-windows.adoc#tabs-for-shells

Weirdly, when running in a different project, it suddenly works (example here, the ideasy development project):

No CVEs found for version 3.9.15 of tool mvn.
No CVEs found for version 25.0.3_9 of tool java.
Version 25.0.3_9 of tool java is already installed
Version 3.9.15 of tool mvn is already installed
No CVEs found for version 25.0.3_9 of tool java.
Version 25.0.3_9 of tool java is already installed
[INFO] Scanning for projects...
[INFO]
[INFO] -------------< com.devonfw.tools.IDEasy:ide-gui-launcher >--------------
[INFO] Building ide-gui-launcher 2026.05.001-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- exec:3.6.3:exec (default-cli) @ ide-gui-launcher ---
Mai 27, 2026 11:16:54 AM com.sun.javafx.application.PlatformImpl startup

Reproduce

run ide gui in a newly created, empty project.

Expected behavior

The gui should launch correctly.

IDEasy status

IDE_ROOT is set to ~/projects
IDE_HOME is set to ~/projects/project
Your version of IDEasy is 2026.05.001-05_27_03-SNAPSHOT.
You are using a SNAPSHOT version of IDEasy. For stability consider switching to a stable release via 'ide upgrade --mode=stable'
Your version of IDEasy is 2026.05.001-05_27_03-SNAPSHOT but version 2026.05.001-20260527.032443-21 is available. Please run the following command to upgrade to the latest version:
ide upgrade
Your operating system is windows(10.0)@x64 [Windows 11@amd64]
You are online.
Found bash executable at: C:/Program Files/Git/usr/bin/bash.***
Found git executable at: C:/Program Files/Git/***/git.***
Your settings are up-to-date.
Successfully completed ide (status)

Related/Dependent issues

No response

Comments/Hints

No response

Metadata

Metadata

Assignees

Labels

GUIGraphical User Interface of IDEasy (aka dashboard) build with JavaFxmvnrelated to apache maven build tool

Type

No fields configured for Bug.

Projects

Status

🆕 New

Relationships

None yet

Development

No branches or pull requests

Issue actions