Describe the bug
- My dependabot wanted to update my project from version 21 to 25, but inside my
module-info.java I have errors.
/dinosaur-exploder/src/main/java/module-info.java:2:18
java: module not found: javafx.controls
/dinosaur-exploder/src/main/java/module-info.java:3:27
java: module not found: com.almasb.fxgl.all
/dinosaur-exploder/src/main/java/module-info.java:8:18
java: module not found: javafx.media
/dinosaur-exploder/src/main/java/module-info.java:9:27
java: module not found: com.almasb.fxgl.scene
/dinosaur-exploder/src/main/java/module-info.java:10:18
java: module not found: javafx.graphics
/dinosaur-exploder/src/main/java/module-info.java:13:18
java: module not found: javafx.base
/dinosaur-exploder/src/main/java/module-info.java:14:27
java: module not found: com.almasb.fxgl.entity
Here is my module-info.java:
module com.dinosaur.dinosaurexploder {
requires javafx.controls;
requires com.almasb.fxgl.all;
requires jpro.webapi;
exports com.dinosaur.dinosaurexploder;
requires javafx.media;
requires com.almasb.fxgl.scene;
requires javafx.graphics;
requires com.fasterxml.jackson.databind;
requires annotations;
requires javafx.base;
requires com.almasb.fxgl.entity;
requires java.logging;
opens assets.textures;
opens assets.sounds;
opens assets.ui.fonts;
opens com.dinosaur.dinosaurexploder.model to
com.almasb.fxgl.core;
opens com.dinosaur.dinosaurexploder.components to
com.almasb.fxgl.core;
opens com.dinosaur.dinosaurexploder.utils to
com.almasb.fxgl.core;
opens com.dinosaur.dinosaurexploder.constants to
com.almasb.fxgl.core;
opens com.dinosaur.dinosaurexploder.interfaces to
com.almasb.fxgl.core;
opens com.dinosaur.dinosaurexploder.controller.core to
com.almasb.fxgl.core;
}
To Reproduce
Steps to reproduce the behavior:
- Go to
pom.xml file
- Update FXGL version to
25.0.1
- Run the project
- See error
Expected behavior
My project should run
Screenshots
Runtime info(please complete the following information):
- OS and version: MacOS 26.2
❯ java -version
openjdk version "25.0.2" 2026-01-20
OpenJDK Runtime Environment Homebrew (build 25.0.2)
OpenJDK 64-Bit Server VM Homebrew (build 25.0.2, mixed mode, sharing)
Additional context / possible fixes
Is there any breaking stuff that I should update in my project? Thanks
Describe the bug
module-info.javaI have errors.Here is my
module-info.java:25.0.2but does not change.To Reproduce
Steps to reproduce the behavior:
pom.xmlfile25.0.1Expected behavior
My project should run
Screenshots
Runtime info(please complete the following information):
❯ java -version openjdk version "25.0.2" 2026-01-20 OpenJDK Runtime Environment Homebrew (build 25.0.2) OpenJDK 64-Bit Server VM Homebrew (build 25.0.2, mixed mode, sharing)Additional context / possible fixes
Is there any breaking stuff that I should update in my project? Thanks