Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Post History

66%
+2 −0
Q&A Why is IntelliJ not finding these modules?

So to preface I started a new JavaFX project in IntelliJ and all of this is from what was auto-generated out of the box. The modules I'm having trouble with are Edit to make this post more query...

1 answer  ·  posted 2y ago by cuzzo‭  ·  last activity 2y ago by cuzzo‭

Question java intellij-idea
#6: Post edited by user avatar cuzzo‭ · 2022-10-31T00:08:35Z (about 2 years ago)
  • So to preface I started a new JavaFX project in IntelliJ and all of this is from what was auto-generated out of the box. The modules I'm having trouble with are
  • ![List of modules that werent found](https://software.codidact.com/uploads/SWJGZYbRMbMgoAoBUC4C972H)
  • Edit to make this post more query friendly
  • `eu.hansolo.fx.countries`
  • `eu.hansolo.fx.heatmap`
  • `eu.hansolo.toolboxfx`
  • `eu.hansolo.toolbox`
  • `eu.hansolo.tilesfx` seems to be used without errors as far as I can tell. Manually adding these missing above dependencies to my pom and module-info will result in red `dependency not found` requires statement in my module-info
  • Looking at the dependency analyzer it seems the project is using them as shown in the pic below:
  • ![Same modules found in dependancy analyzer](https://software.codidact.com/uploads/reA5gs5PaVGrj8rquFygXQwM)
  • Does anyone know what the issues could be? The auto generated files im using are below:
  • module-info.java
  • ```java
  • module com.marcuzzo.vaporvoxel {
  • requires javafx.controls;
  • requires javafx.fxml;
  • requires javafx.web;
  • requires org.controlsfx.controls;
  • requires org.kordamp.ikonli.javafx;
  • requires eu.hansolo.tilesfx;
  • requires com.almasb.fxgl.all;
  • opens com.marcuzzo.vaporvoxel to javafx.fxml;
  • exports com.marcuzzo.vaporvoxel;
  • }
  • ```
  • HelloApplication.java
  • ```java
  • package com.marcuzzo.vaporvoxel;
  • import javafx.application.Application;
  • import javafx.fxml.FXMLLoader;
  • import javafx.scene.Scene;
  • import javafx.stage.Stage;
  • import java.io.IOException;
  • public class HelloApplication extends Application {
  • @Override
  • public void start(Stage stage) throws IOException {
  • FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("hello-view.fxml"));
  • Scene scene = new Scene(fxmlLoader.load(), 320, 240);
  • stage.setTitle("Hello!");
  • stage.setScene(scene);
  • stage.show();
  • }
  • public static void main(String[] args) {
  • launch();
  • }
  • }
  • ```
  • HelloController.java
  • ```java
  • package com.marcuzzo.vaporvoxel;
  • import javafx.fxml.FXML;
  • import javafx.scene.control.Label;
  • public class HelloController {
  • @FXML
  • private Label welcomeText;
  • @FXML
  • protected void onHelloButtonClick() {
  • welcomeText.setText("Welcome to JavaFX Application!");
  • }
  • }
  • ```
  • pom.xml
  • ```java
  • <?xml version="1.0" encoding="UTF-8"?>
  • <project xmlns="http://maven.apache.org/POM/4.0.0"
  • xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  • xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  • <modelVersion>4.0.0</modelVersion>
  • <groupId>com.marcuzzo</groupId>
  • <artifactId>VaporVoxel</artifactId>
  • <version>1.0-SNAPSHOT</version>
  • <name>VaporVoxel</name>
  • <properties>
  • <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  • <junit.version>5.9.0</junit.version>
  • </properties>
  • <dependencies>
  • <dependency>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-controls</artifactId>
  • <version>17.0.2</version>
  • </dependency>
  • <dependency>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-fxml</artifactId>
  • <version>17.0.2</version>
  • </dependency>
  • <dependency>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-web</artifactId>
  • <version>17.0.2</version>
  • </dependency>
  • <dependency>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-media</artifactId>
  • <version>17.0.2</version>
  • </dependency>
  • <dependency>
  • <groupId>org.controlsfx</groupId>
  • <artifactId>controlsfx</artifactId>
  • <version>11.1.2</version>
  • </dependency>
  • <dependency>
  • <groupId>net.synedra</groupId>
  • <artifactId>validatorfx</artifactId>
  • <version>0.4.0</version>
  • <exclusions>
  • <exclusion>
  • <groupId>org.openjfx</groupId>
  • <artifactId>*</artifactId>
  • </exclusion>
  • </exclusions>
  • </dependency>
  • <dependency>
  • <groupId>org.kordamp.ikonli</groupId>
  • <artifactId>ikonli-javafx</artifactId>
  • <version>12.3.1</version>
  • </dependency>
  • <dependency>
  • <groupId>eu.hansolo</groupId>
  • <artifactId>tilesfx</artifactId>
  • <version>17.1.15</version>
  • <exclusions>
  • <exclusion>
  • <groupId>org.openjfx</groupId>
  • <artifactId>*</artifactId>
  • </exclusion>
  • </exclusions>
  • </dependency>
  • <dependency>
  • <groupId>com.github.almasb</groupId>
  • <artifactId>fxgl</artifactId>
  • <version>17.1</version>
  • <exclusions>
  • <exclusion>
  • <groupId>org.openjfx</groupId>
  • <artifactId>*</artifactId>
  • </exclusion>
  • </exclusions>
  • </dependency>
  • <dependency>
  • <groupId>org.junit.jupiter</groupId>
  • <artifactId>junit-jupiter-api</artifactId>
  • <version>${junit.version}</version>
  • <scope>test</scope>
  • </dependency>
  • <dependency>
  • <groupId>org.junit.jupiter</groupId>
  • <artifactId>junit-jupiter-engine</artifactId>
  • <version>${junit.version}</version>
  • <scope>test</scope>
  • </dependency>
  • </dependencies>
  • <build>
  • <plugins>
  • <plugin>
  • <groupId>org.apache.maven.plugins</groupId>
  • <artifactId>maven-compiler-plugin</artifactId>
  • <version>3.10.1</version>
  • <configuration>
  • <source>17</source>
  • <target>17</target>
  • </configuration>
  • </plugin>
  • <plugin>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-maven-plugin</artifactId>
  • <version>0.0.8</version>
  • <executions>
  • <execution>
  • <!-- Default configuration for running with: mvn clean javafx:run -->
  • <id>default-cli</id>
  • <configuration>
  • <mainClass>com.marcuzzo.vaporvoxel/com.marcuzzo.vaporvoxel.HelloApplication</mainClass>
  • <launcher>app</launcher>
  • <jlinkZipName>app</jlinkZipName>
  • <jlinkImageName>app</jlinkImageName>
  • <noManPages>true</noManPages>
  • <stripDebug>true</stripDebug>
  • <noHeaderFiles>true</noHeaderFiles>
  • </configuration>
  • </execution>
  • </executions>
  • </plugin>
  • </plugins>
  • </build>
  • </project>
  • ```
  • So to preface I started a new JavaFX project in IntelliJ and all of this is from what was auto-generated out of the box. The modules I'm having trouble with are
  • ![List of modules that werent found](https://software.codidact.com/uploads/SWJGZYbRMbMgoAoBUC4C972H)
  • Edit to make this post more query friendly
  • ```
  • eu.hansolo.fx.countries
  • eu.hansolo.fx.heatmap
  • eu.hansolo.toolboxfx
  • eu.hansolo.toolbox
  • ```
  • `eu.hansolo.tilesfx` seems to be used without errors as far as I can tell. Manually adding these missing above dependencies to my pom and module-info will result in red `dependency not found` requires statement in my module-info
  • Looking at the dependency analyzer it seems the project is using them as shown in the pic below:
  • ![Same modules found in dependancy analyzer](https://software.codidact.com/uploads/reA5gs5PaVGrj8rquFygXQwM)
  • Does anyone know what the issues could be? The auto generated files im using are below:
  • module-info.java
  • ```java
  • module com.marcuzzo.vaporvoxel {
  • requires javafx.controls;
  • requires javafx.fxml;
  • requires javafx.web;
  • requires org.controlsfx.controls;
  • requires org.kordamp.ikonli.javafx;
  • requires eu.hansolo.tilesfx;
  • requires com.almasb.fxgl.all;
  • opens com.marcuzzo.vaporvoxel to javafx.fxml;
  • exports com.marcuzzo.vaporvoxel;
  • }
  • ```
  • HelloApplication.java
  • ```java
  • package com.marcuzzo.vaporvoxel;
  • import javafx.application.Application;
  • import javafx.fxml.FXMLLoader;
  • import javafx.scene.Scene;
  • import javafx.stage.Stage;
  • import java.io.IOException;
  • public class HelloApplication extends Application {
  • @Override
  • public void start(Stage stage) throws IOException {
  • FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("hello-view.fxml"));
  • Scene scene = new Scene(fxmlLoader.load(), 320, 240);
  • stage.setTitle("Hello!");
  • stage.setScene(scene);
  • stage.show();
  • }
  • public static void main(String[] args) {
  • launch();
  • }
  • }
  • ```
  • HelloController.java
  • ```java
  • package com.marcuzzo.vaporvoxel;
  • import javafx.fxml.FXML;
  • import javafx.scene.control.Label;
  • public class HelloController {
  • @FXML
  • private Label welcomeText;
  • @FXML
  • protected void onHelloButtonClick() {
  • welcomeText.setText("Welcome to JavaFX Application!");
  • }
  • }
  • ```
  • pom.xml
  • ```java
  • <?xml version="1.0" encoding="UTF-8"?>
  • <project xmlns="http://maven.apache.org/POM/4.0.0"
  • xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  • xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  • <modelVersion>4.0.0</modelVersion>
  • <groupId>com.marcuzzo</groupId>
  • <artifactId>VaporVoxel</artifactId>
  • <version>1.0-SNAPSHOT</version>
  • <name>VaporVoxel</name>
  • <properties>
  • <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  • <junit.version>5.9.0</junit.version>
  • </properties>
  • <dependencies>
  • <dependency>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-controls</artifactId>
  • <version>17.0.2</version>
  • </dependency>
  • <dependency>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-fxml</artifactId>
  • <version>17.0.2</version>
  • </dependency>
  • <dependency>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-web</artifactId>
  • <version>17.0.2</version>
  • </dependency>
  • <dependency>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-media</artifactId>
  • <version>17.0.2</version>
  • </dependency>
  • <dependency>
  • <groupId>org.controlsfx</groupId>
  • <artifactId>controlsfx</artifactId>
  • <version>11.1.2</version>
  • </dependency>
  • <dependency>
  • <groupId>net.synedra</groupId>
  • <artifactId>validatorfx</artifactId>
  • <version>0.4.0</version>
  • <exclusions>
  • <exclusion>
  • <groupId>org.openjfx</groupId>
  • <artifactId>*</artifactId>
  • </exclusion>
  • </exclusions>
  • </dependency>
  • <dependency>
  • <groupId>org.kordamp.ikonli</groupId>
  • <artifactId>ikonli-javafx</artifactId>
  • <version>12.3.1</version>
  • </dependency>
  • <dependency>
  • <groupId>eu.hansolo</groupId>
  • <artifactId>tilesfx</artifactId>
  • <version>17.1.15</version>
  • <exclusions>
  • <exclusion>
  • <groupId>org.openjfx</groupId>
  • <artifactId>*</artifactId>
  • </exclusion>
  • </exclusions>
  • </dependency>
  • <dependency>
  • <groupId>com.github.almasb</groupId>
  • <artifactId>fxgl</artifactId>
  • <version>17.1</version>
  • <exclusions>
  • <exclusion>
  • <groupId>org.openjfx</groupId>
  • <artifactId>*</artifactId>
  • </exclusion>
  • </exclusions>
  • </dependency>
  • <dependency>
  • <groupId>org.junit.jupiter</groupId>
  • <artifactId>junit-jupiter-api</artifactId>
  • <version>${junit.version}</version>
  • <scope>test</scope>
  • </dependency>
  • <dependency>
  • <groupId>org.junit.jupiter</groupId>
  • <artifactId>junit-jupiter-engine</artifactId>
  • <version>${junit.version}</version>
  • <scope>test</scope>
  • </dependency>
  • </dependencies>
  • <build>
  • <plugins>
  • <plugin>
  • <groupId>org.apache.maven.plugins</groupId>
  • <artifactId>maven-compiler-plugin</artifactId>
  • <version>3.10.1</version>
  • <configuration>
  • <source>17</source>
  • <target>17</target>
  • </configuration>
  • </plugin>
  • <plugin>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-maven-plugin</artifactId>
  • <version>0.0.8</version>
  • <executions>
  • <execution>
  • <!-- Default configuration for running with: mvn clean javafx:run -->
  • <id>default-cli</id>
  • <configuration>
  • <mainClass>com.marcuzzo.vaporvoxel/com.marcuzzo.vaporvoxel.HelloApplication</mainClass>
  • <launcher>app</launcher>
  • <jlinkZipName>app</jlinkZipName>
  • <jlinkImageName>app</jlinkImageName>
  • <noManPages>true</noManPages>
  • <stripDebug>true</stripDebug>
  • <noHeaderFiles>true</noHeaderFiles>
  • </configuration>
  • </execution>
  • </executions>
  • </plugin>
  • </plugins>
  • </build>
  • </project>
  • ```
#5: Post edited by user avatar cuzzo‭ · 2022-10-31T00:07:24Z (about 2 years ago)
  • So to preface I started a new JavaFX project in IntelliJ and all of this is from what was auto-generated out of the box. The modules I'm having trouble with are
  • ![List of modules that werent found](https://software.codidact.com/uploads/SWJGZYbRMbMgoAoBUC4C972H)
  • `eu.hansolo.tilesfx` seems to be used without errors as far as I can tell. Manually adding these missing above dependencies to my pom and module-info will result in red `dependency not found` requires statement in my module-info
  • Looking at the dependency analyzer it seems the project is using them as shown in the pic below:
  • ![Same modules found in dependancy analyzer](https://software.codidact.com/uploads/reA5gs5PaVGrj8rquFygXQwM)
  • Does anyone know what the issues could be? The auto generated files im using are below:
  • module-info.java
  • ```java
  • module com.marcuzzo.vaporvoxel {
  • requires javafx.controls;
  • requires javafx.fxml;
  • requires javafx.web;
  • requires org.controlsfx.controls;
  • requires org.kordamp.ikonli.javafx;
  • requires eu.hansolo.tilesfx;
  • requires com.almasb.fxgl.all;
  • opens com.marcuzzo.vaporvoxel to javafx.fxml;
  • exports com.marcuzzo.vaporvoxel;
  • }
  • ```
  • HelloApplication.java
  • ```java
  • package com.marcuzzo.vaporvoxel;
  • import javafx.application.Application;
  • import javafx.fxml.FXMLLoader;
  • import javafx.scene.Scene;
  • import javafx.stage.Stage;
  • import java.io.IOException;
  • public class HelloApplication extends Application {
  • @Override
  • public void start(Stage stage) throws IOException {
  • FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("hello-view.fxml"));
  • Scene scene = new Scene(fxmlLoader.load(), 320, 240);
  • stage.setTitle("Hello!");
  • stage.setScene(scene);
  • stage.show();
  • }
  • public static void main(String[] args) {
  • launch();
  • }
  • }
  • ```
  • HelloController.java
  • ```java
  • package com.marcuzzo.vaporvoxel;
  • import javafx.fxml.FXML;
  • import javafx.scene.control.Label;
  • public class HelloController {
  • @FXML
  • private Label welcomeText;
  • @FXML
  • protected void onHelloButtonClick() {
  • welcomeText.setText("Welcome to JavaFX Application!");
  • }
  • }
  • ```
  • pom.xml
  • ```java
  • <?xml version="1.0" encoding="UTF-8"?>
  • <project xmlns="http://maven.apache.org/POM/4.0.0"
  • xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  • xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  • <modelVersion>4.0.0</modelVersion>
  • <groupId>com.marcuzzo</groupId>
  • <artifactId>VaporVoxel</artifactId>
  • <version>1.0-SNAPSHOT</version>
  • <name>VaporVoxel</name>
  • <properties>
  • <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  • <junit.version>5.9.0</junit.version>
  • </properties>
  • <dependencies>
  • <dependency>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-controls</artifactId>
  • <version>17.0.2</version>
  • </dependency>
  • <dependency>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-fxml</artifactId>
  • <version>17.0.2</version>
  • </dependency>
  • <dependency>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-web</artifactId>
  • <version>17.0.2</version>
  • </dependency>
  • <dependency>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-media</artifactId>
  • <version>17.0.2</version>
  • </dependency>
  • <dependency>
  • <groupId>org.controlsfx</groupId>
  • <artifactId>controlsfx</artifactId>
  • <version>11.1.2</version>
  • </dependency>
  • <dependency>
  • <groupId>net.synedra</groupId>
  • <artifactId>validatorfx</artifactId>
  • <version>0.4.0</version>
  • <exclusions>
  • <exclusion>
  • <groupId>org.openjfx</groupId>
  • <artifactId>*</artifactId>
  • </exclusion>
  • </exclusions>
  • </dependency>
  • <dependency>
  • <groupId>org.kordamp.ikonli</groupId>
  • <artifactId>ikonli-javafx</artifactId>
  • <version>12.3.1</version>
  • </dependency>
  • <dependency>
  • <groupId>eu.hansolo</groupId>
  • <artifactId>tilesfx</artifactId>
  • <version>17.1.15</version>
  • <exclusions>
  • <exclusion>
  • <groupId>org.openjfx</groupId>
  • <artifactId>*</artifactId>
  • </exclusion>
  • </exclusions>
  • </dependency>
  • <dependency>
  • <groupId>com.github.almasb</groupId>
  • <artifactId>fxgl</artifactId>
  • <version>17.1</version>
  • <exclusions>
  • <exclusion>
  • <groupId>org.openjfx</groupId>
  • <artifactId>*</artifactId>
  • </exclusion>
  • </exclusions>
  • </dependency>
  • <dependency>
  • <groupId>org.junit.jupiter</groupId>
  • <artifactId>junit-jupiter-api</artifactId>
  • <version>${junit.version}</version>
  • <scope>test</scope>
  • </dependency>
  • <dependency>
  • <groupId>org.junit.jupiter</groupId>
  • <artifactId>junit-jupiter-engine</artifactId>
  • <version>${junit.version}</version>
  • <scope>test</scope>
  • </dependency>
  • </dependencies>
  • <build>
  • <plugins>
  • <plugin>
  • <groupId>org.apache.maven.plugins</groupId>
  • <artifactId>maven-compiler-plugin</artifactId>
  • <version>3.10.1</version>
  • <configuration>
  • <source>17</source>
  • <target>17</target>
  • </configuration>
  • </plugin>
  • <plugin>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-maven-plugin</artifactId>
  • <version>0.0.8</version>
  • <executions>
  • <execution>
  • <!-- Default configuration for running with: mvn clean javafx:run -->
  • <id>default-cli</id>
  • <configuration>
  • <mainClass>com.marcuzzo.vaporvoxel/com.marcuzzo.vaporvoxel.HelloApplication</mainClass>
  • <launcher>app</launcher>
  • <jlinkZipName>app</jlinkZipName>
  • <jlinkImageName>app</jlinkImageName>
  • <noManPages>true</noManPages>
  • <stripDebug>true</stripDebug>
  • <noHeaderFiles>true</noHeaderFiles>
  • </configuration>
  • </execution>
  • </executions>
  • </plugin>
  • </plugins>
  • </build>
  • </project>
  • ```
  • So to preface I started a new JavaFX project in IntelliJ and all of this is from what was auto-generated out of the box. The modules I'm having trouble with are
  • ![List of modules that werent found](https://software.codidact.com/uploads/SWJGZYbRMbMgoAoBUC4C972H)
  • Edit to make this post more query friendly
  • `eu.hansolo.fx.countries`
  • `eu.hansolo.fx.heatmap`
  • `eu.hansolo.toolboxfx`
  • `eu.hansolo.toolbox`
  • `eu.hansolo.tilesfx` seems to be used without errors as far as I can tell. Manually adding these missing above dependencies to my pom and module-info will result in red `dependency not found` requires statement in my module-info
  • Looking at the dependency analyzer it seems the project is using them as shown in the pic below:
  • ![Same modules found in dependancy analyzer](https://software.codidact.com/uploads/reA5gs5PaVGrj8rquFygXQwM)
  • Does anyone know what the issues could be? The auto generated files im using are below:
  • module-info.java
  • ```java
  • module com.marcuzzo.vaporvoxel {
  • requires javafx.controls;
  • requires javafx.fxml;
  • requires javafx.web;
  • requires org.controlsfx.controls;
  • requires org.kordamp.ikonli.javafx;
  • requires eu.hansolo.tilesfx;
  • requires com.almasb.fxgl.all;
  • opens com.marcuzzo.vaporvoxel to javafx.fxml;
  • exports com.marcuzzo.vaporvoxel;
  • }
  • ```
  • HelloApplication.java
  • ```java
  • package com.marcuzzo.vaporvoxel;
  • import javafx.application.Application;
  • import javafx.fxml.FXMLLoader;
  • import javafx.scene.Scene;
  • import javafx.stage.Stage;
  • import java.io.IOException;
  • public class HelloApplication extends Application {
  • @Override
  • public void start(Stage stage) throws IOException {
  • FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("hello-view.fxml"));
  • Scene scene = new Scene(fxmlLoader.load(), 320, 240);
  • stage.setTitle("Hello!");
  • stage.setScene(scene);
  • stage.show();
  • }
  • public static void main(String[] args) {
  • launch();
  • }
  • }
  • ```
  • HelloController.java
  • ```java
  • package com.marcuzzo.vaporvoxel;
  • import javafx.fxml.FXML;
  • import javafx.scene.control.Label;
  • public class HelloController {
  • @FXML
  • private Label welcomeText;
  • @FXML
  • protected void onHelloButtonClick() {
  • welcomeText.setText("Welcome to JavaFX Application!");
  • }
  • }
  • ```
  • pom.xml
  • ```java
  • <?xml version="1.0" encoding="UTF-8"?>
  • <project xmlns="http://maven.apache.org/POM/4.0.0"
  • xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  • xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  • <modelVersion>4.0.0</modelVersion>
  • <groupId>com.marcuzzo</groupId>
  • <artifactId>VaporVoxel</artifactId>
  • <version>1.0-SNAPSHOT</version>
  • <name>VaporVoxel</name>
  • <properties>
  • <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  • <junit.version>5.9.0</junit.version>
  • </properties>
  • <dependencies>
  • <dependency>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-controls</artifactId>
  • <version>17.0.2</version>
  • </dependency>
  • <dependency>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-fxml</artifactId>
  • <version>17.0.2</version>
  • </dependency>
  • <dependency>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-web</artifactId>
  • <version>17.0.2</version>
  • </dependency>
  • <dependency>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-media</artifactId>
  • <version>17.0.2</version>
  • </dependency>
  • <dependency>
  • <groupId>org.controlsfx</groupId>
  • <artifactId>controlsfx</artifactId>
  • <version>11.1.2</version>
  • </dependency>
  • <dependency>
  • <groupId>net.synedra</groupId>
  • <artifactId>validatorfx</artifactId>
  • <version>0.4.0</version>
  • <exclusions>
  • <exclusion>
  • <groupId>org.openjfx</groupId>
  • <artifactId>*</artifactId>
  • </exclusion>
  • </exclusions>
  • </dependency>
  • <dependency>
  • <groupId>org.kordamp.ikonli</groupId>
  • <artifactId>ikonli-javafx</artifactId>
  • <version>12.3.1</version>
  • </dependency>
  • <dependency>
  • <groupId>eu.hansolo</groupId>
  • <artifactId>tilesfx</artifactId>
  • <version>17.1.15</version>
  • <exclusions>
  • <exclusion>
  • <groupId>org.openjfx</groupId>
  • <artifactId>*</artifactId>
  • </exclusion>
  • </exclusions>
  • </dependency>
  • <dependency>
  • <groupId>com.github.almasb</groupId>
  • <artifactId>fxgl</artifactId>
  • <version>17.1</version>
  • <exclusions>
  • <exclusion>
  • <groupId>org.openjfx</groupId>
  • <artifactId>*</artifactId>
  • </exclusion>
  • </exclusions>
  • </dependency>
  • <dependency>
  • <groupId>org.junit.jupiter</groupId>
  • <artifactId>junit-jupiter-api</artifactId>
  • <version>${junit.version}</version>
  • <scope>test</scope>
  • </dependency>
  • <dependency>
  • <groupId>org.junit.jupiter</groupId>
  • <artifactId>junit-jupiter-engine</artifactId>
  • <version>${junit.version}</version>
  • <scope>test</scope>
  • </dependency>
  • </dependencies>
  • <build>
  • <plugins>
  • <plugin>
  • <groupId>org.apache.maven.plugins</groupId>
  • <artifactId>maven-compiler-plugin</artifactId>
  • <version>3.10.1</version>
  • <configuration>
  • <source>17</source>
  • <target>17</target>
  • </configuration>
  • </plugin>
  • <plugin>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-maven-plugin</artifactId>
  • <version>0.0.8</version>
  • <executions>
  • <execution>
  • <!-- Default configuration for running with: mvn clean javafx:run -->
  • <id>default-cli</id>
  • <configuration>
  • <mainClass>com.marcuzzo.vaporvoxel/com.marcuzzo.vaporvoxel.HelloApplication</mainClass>
  • <launcher>app</launcher>
  • <jlinkZipName>app</jlinkZipName>
  • <jlinkImageName>app</jlinkImageName>
  • <noManPages>true</noManPages>
  • <stripDebug>true</stripDebug>
  • <noHeaderFiles>true</noHeaderFiles>
  • </configuration>
  • </execution>
  • </executions>
  • </plugin>
  • </plugins>
  • </build>
  • </project>
  • ```
#4: Post edited by user avatar cuzzo‭ · 2022-10-30T19:38:53Z (about 2 years ago)
#3: Post edited by user avatar cuzzo‭ · 2022-10-30T17:40:03Z (about 2 years ago)
  • So to preface I started a new JavaFX project in IntelliJ and all of this is from what was auto-generated out of the box. The modules I'm having trouble with are
  • ![List of modules that werent found](https://software.codidact.com/uploads/SWJGZYbRMbMgoAoBUC4C972H)
  • `eu.hansolo.tilesfx` seems to be used without errors as far as I can tell. Manually adding these missing above dependencies to my pom and module-info will result in red `dependency not found` requires statement in my module-info
  • Looking at the dependency analyzer it seems the project is using them as shown in the pic below:
  • ![Same modules found in dependancy analyzer](https://software.codidact.com/uploads/reA5gs5PaVGrj8rquFygXQwM)
  • Does anyone know what the issues could be? The files that were auto generated are below:
  • module-info.java
  • ```java
  • module com.marcuzzo.vaporvoxel {
  • requires javafx.controls;
  • requires javafx.fxml;
  • requires javafx.web;
  • requires org.controlsfx.controls;
  • requires org.kordamp.ikonli.javafx;
  • requires eu.hansolo.tilesfx;
  • requires com.almasb.fxgl.all;
  • opens com.marcuzzo.vaporvoxel to javafx.fxml;
  • exports com.marcuzzo.vaporvoxel;
  • }
  • ```
  • HelloApplication.java
  • ```java
  • package com.marcuzzo.vaporvoxel;
  • import javafx.application.Application;
  • import javafx.fxml.FXMLLoader;
  • import javafx.scene.Scene;
  • import javafx.stage.Stage;
  • import java.io.IOException;
  • public class HelloApplication extends Application {
  • @Override
  • public void start(Stage stage) throws IOException {
  • FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("hello-view.fxml"));
  • Scene scene = new Scene(fxmlLoader.load(), 320, 240);
  • stage.setTitle("Hello!");
  • stage.setScene(scene);
  • stage.show();
  • }
  • public static void main(String[] args) {
  • launch();
  • }
  • }
  • ```
  • HelloController.java
  • ```java
  • package com.marcuzzo.vaporvoxel;
  • import javafx.fxml.FXML;
  • import javafx.scene.control.Label;
  • public class HelloController {
  • @FXML
  • private Label welcomeText;
  • @FXML
  • protected void onHelloButtonClick() {
  • welcomeText.setText("Welcome to JavaFX Application!");
  • }
  • }
  • ```
  • pom.xml
  • ```java
  • <?xml version="1.0" encoding="UTF-8"?>
  • <project xmlns="http://maven.apache.org/POM/4.0.0"
  • xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  • xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  • <modelVersion>4.0.0</modelVersion>
  • <groupId>com.marcuzzo</groupId>
  • <artifactId>VaporVoxel</artifactId>
  • <version>1.0-SNAPSHOT</version>
  • <name>VaporVoxel</name>
  • <properties>
  • <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  • <junit.version>5.9.0</junit.version>
  • </properties>
  • <dependencies>
  • <dependency>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-controls</artifactId>
  • <version>17.0.2</version>
  • </dependency>
  • <dependency>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-fxml</artifactId>
  • <version>17.0.2</version>
  • </dependency>
  • <dependency>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-web</artifactId>
  • <version>17.0.2</version>
  • </dependency>
  • <dependency>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-media</artifactId>
  • <version>17.0.2</version>
  • </dependency>
  • <dependency>
  • <groupId>org.controlsfx</groupId>
  • <artifactId>controlsfx</artifactId>
  • <version>11.1.2</version>
  • </dependency>
  • <dependency>
  • <groupId>net.synedra</groupId>
  • <artifactId>validatorfx</artifactId>
  • <version>0.4.0</version>
  • <exclusions>
  • <exclusion>
  • <groupId>org.openjfx</groupId>
  • <artifactId>*</artifactId>
  • </exclusion>
  • </exclusions>
  • </dependency>
  • <dependency>
  • <groupId>org.kordamp.ikonli</groupId>
  • <artifactId>ikonli-javafx</artifactId>
  • <version>12.3.1</version>
  • </dependency>
  • <dependency>
  • <groupId>eu.hansolo</groupId>
  • <artifactId>tilesfx</artifactId>
  • <version>17.1.15</version>
  • <exclusions>
  • <exclusion>
  • <groupId>org.openjfx</groupId>
  • <artifactId>*</artifactId>
  • </exclusion>
  • </exclusions>
  • </dependency>
  • <dependency>
  • <groupId>com.github.almasb</groupId>
  • <artifactId>fxgl</artifactId>
  • <version>17.1</version>
  • <exclusions>
  • <exclusion>
  • <groupId>org.openjfx</groupId>
  • <artifactId>*</artifactId>
  • </exclusion>
  • </exclusions>
  • </dependency>
  • <dependency>
  • <groupId>org.junit.jupiter</groupId>
  • <artifactId>junit-jupiter-api</artifactId>
  • <version>${junit.version}</version>
  • <scope>test</scope>
  • </dependency>
  • <dependency>
  • <groupId>org.junit.jupiter</groupId>
  • <artifactId>junit-jupiter-engine</artifactId>
  • <version>${junit.version}</version>
  • <scope>test</scope>
  • </dependency>
  • </dependencies>
  • <build>
  • <plugins>
  • <plugin>
  • <groupId>org.apache.maven.plugins</groupId>
  • <artifactId>maven-compiler-plugin</artifactId>
  • <version>3.10.1</version>
  • <configuration>
  • <source>17</source>
  • <target>17</target>
  • </configuration>
  • </plugin>
  • <plugin>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-maven-plugin</artifactId>
  • <version>0.0.8</version>
  • <executions>
  • <execution>
  • <!-- Default configuration for running with: mvn clean javafx:run -->
  • <id>default-cli</id>
  • <configuration>
  • <mainClass>com.marcuzzo.vaporvoxel/com.marcuzzo.vaporvoxel.HelloApplication</mainClass>
  • <launcher>app</launcher>
  • <jlinkZipName>app</jlinkZipName>
  • <jlinkImageName>app</jlinkImageName>
  • <noManPages>true</noManPages>
  • <stripDebug>true</stripDebug>
  • <noHeaderFiles>true</noHeaderFiles>
  • </configuration>
  • </execution>
  • </executions>
  • </plugin>
  • </plugins>
  • </build>
  • </project>
  • ```
  • So to preface I started a new JavaFX project in IntelliJ and all of this is from what was auto-generated out of the box. The modules I'm having trouble with are
  • ![List of modules that werent found](https://software.codidact.com/uploads/SWJGZYbRMbMgoAoBUC4C972H)
  • `eu.hansolo.tilesfx` seems to be used without errors as far as I can tell. Manually adding these missing above dependencies to my pom and module-info will result in red `dependency not found` requires statement in my module-info
  • Looking at the dependency analyzer it seems the project is using them as shown in the pic below:
  • ![Same modules found in dependancy analyzer](https://software.codidact.com/uploads/reA5gs5PaVGrj8rquFygXQwM)
  • Does anyone know what the issues could be? The auto generated files im using are below:
  • module-info.java
  • ```java
  • module com.marcuzzo.vaporvoxel {
  • requires javafx.controls;
  • requires javafx.fxml;
  • requires javafx.web;
  • requires org.controlsfx.controls;
  • requires org.kordamp.ikonli.javafx;
  • requires eu.hansolo.tilesfx;
  • requires com.almasb.fxgl.all;
  • opens com.marcuzzo.vaporvoxel to javafx.fxml;
  • exports com.marcuzzo.vaporvoxel;
  • }
  • ```
  • HelloApplication.java
  • ```java
  • package com.marcuzzo.vaporvoxel;
  • import javafx.application.Application;
  • import javafx.fxml.FXMLLoader;
  • import javafx.scene.Scene;
  • import javafx.stage.Stage;
  • import java.io.IOException;
  • public class HelloApplication extends Application {
  • @Override
  • public void start(Stage stage) throws IOException {
  • FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("hello-view.fxml"));
  • Scene scene = new Scene(fxmlLoader.load(), 320, 240);
  • stage.setTitle("Hello!");
  • stage.setScene(scene);
  • stage.show();
  • }
  • public static void main(String[] args) {
  • launch();
  • }
  • }
  • ```
  • HelloController.java
  • ```java
  • package com.marcuzzo.vaporvoxel;
  • import javafx.fxml.FXML;
  • import javafx.scene.control.Label;
  • public class HelloController {
  • @FXML
  • private Label welcomeText;
  • @FXML
  • protected void onHelloButtonClick() {
  • welcomeText.setText("Welcome to JavaFX Application!");
  • }
  • }
  • ```
  • pom.xml
  • ```java
  • <?xml version="1.0" encoding="UTF-8"?>
  • <project xmlns="http://maven.apache.org/POM/4.0.0"
  • xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  • xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  • <modelVersion>4.0.0</modelVersion>
  • <groupId>com.marcuzzo</groupId>
  • <artifactId>VaporVoxel</artifactId>
  • <version>1.0-SNAPSHOT</version>
  • <name>VaporVoxel</name>
  • <properties>
  • <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  • <junit.version>5.9.0</junit.version>
  • </properties>
  • <dependencies>
  • <dependency>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-controls</artifactId>
  • <version>17.0.2</version>
  • </dependency>
  • <dependency>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-fxml</artifactId>
  • <version>17.0.2</version>
  • </dependency>
  • <dependency>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-web</artifactId>
  • <version>17.0.2</version>
  • </dependency>
  • <dependency>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-media</artifactId>
  • <version>17.0.2</version>
  • </dependency>
  • <dependency>
  • <groupId>org.controlsfx</groupId>
  • <artifactId>controlsfx</artifactId>
  • <version>11.1.2</version>
  • </dependency>
  • <dependency>
  • <groupId>net.synedra</groupId>
  • <artifactId>validatorfx</artifactId>
  • <version>0.4.0</version>
  • <exclusions>
  • <exclusion>
  • <groupId>org.openjfx</groupId>
  • <artifactId>*</artifactId>
  • </exclusion>
  • </exclusions>
  • </dependency>
  • <dependency>
  • <groupId>org.kordamp.ikonli</groupId>
  • <artifactId>ikonli-javafx</artifactId>
  • <version>12.3.1</version>
  • </dependency>
  • <dependency>
  • <groupId>eu.hansolo</groupId>
  • <artifactId>tilesfx</artifactId>
  • <version>17.1.15</version>
  • <exclusions>
  • <exclusion>
  • <groupId>org.openjfx</groupId>
  • <artifactId>*</artifactId>
  • </exclusion>
  • </exclusions>
  • </dependency>
  • <dependency>
  • <groupId>com.github.almasb</groupId>
  • <artifactId>fxgl</artifactId>
  • <version>17.1</version>
  • <exclusions>
  • <exclusion>
  • <groupId>org.openjfx</groupId>
  • <artifactId>*</artifactId>
  • </exclusion>
  • </exclusions>
  • </dependency>
  • <dependency>
  • <groupId>org.junit.jupiter</groupId>
  • <artifactId>junit-jupiter-api</artifactId>
  • <version>${junit.version}</version>
  • <scope>test</scope>
  • </dependency>
  • <dependency>
  • <groupId>org.junit.jupiter</groupId>
  • <artifactId>junit-jupiter-engine</artifactId>
  • <version>${junit.version}</version>
  • <scope>test</scope>
  • </dependency>
  • </dependencies>
  • <build>
  • <plugins>
  • <plugin>
  • <groupId>org.apache.maven.plugins</groupId>
  • <artifactId>maven-compiler-plugin</artifactId>
  • <version>3.10.1</version>
  • <configuration>
  • <source>17</source>
  • <target>17</target>
  • </configuration>
  • </plugin>
  • <plugin>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-maven-plugin</artifactId>
  • <version>0.0.8</version>
  • <executions>
  • <execution>
  • <!-- Default configuration for running with: mvn clean javafx:run -->
  • <id>default-cli</id>
  • <configuration>
  • <mainClass>com.marcuzzo.vaporvoxel/com.marcuzzo.vaporvoxel.HelloApplication</mainClass>
  • <launcher>app</launcher>
  • <jlinkZipName>app</jlinkZipName>
  • <jlinkImageName>app</jlinkImageName>
  • <noManPages>true</noManPages>
  • <stripDebug>true</stripDebug>
  • <noHeaderFiles>true</noHeaderFiles>
  • </configuration>
  • </execution>
  • </executions>
  • </plugin>
  • </plugins>
  • </build>
  • </project>
  • ```
#2: Post edited by user avatar cuzzo‭ · 2022-10-30T17:38:59Z (about 2 years ago)
  • So to preface I started a new JavaFX project in IntelliJ and all of this is from what was auto-generated out of the box. The modules I'm having trouble with are
  • ![List of modules that werent found](https://software.codidact.com/uploads/SWJGZYbRMbMgoAoBUC4C972H)
  • `eu.hansolo.tilesfx` seems to be used without errors as far as I can tell. Manually adding these missing above dependencies to my pom will result in red `dependency not found` requires statement in my module-info.
  • Looking at the dependency analyzer it seems the project is using them as shown in the pic below:
  • ![Same modules found in dependancy analyzer](https://software.codidact.com/uploads/reA5gs5PaVGrj8rquFygXQwM)
  • Does anyone know what the issues could be? The files that were auto generated are below:
  • module-info.java
  • ```java
  • module com.marcuzzo.vaporvoxel {
  • requires javafx.controls;
  • requires javafx.fxml;
  • requires javafx.web;
  • requires org.controlsfx.controls;
  • requires org.kordamp.ikonli.javafx;
  • requires eu.hansolo.tilesfx;
  • requires com.almasb.fxgl.all;
  • opens com.marcuzzo.vaporvoxel to javafx.fxml;
  • exports com.marcuzzo.vaporvoxel;
  • }
  • ```
  • HelloApplication.java
  • ```java
  • package com.marcuzzo.vaporvoxel;
  • import javafx.application.Application;
  • import javafx.fxml.FXMLLoader;
  • import javafx.scene.Scene;
  • import javafx.stage.Stage;
  • import java.io.IOException;
  • public class HelloApplication extends Application {
  • @Override
  • public void start(Stage stage) throws IOException {
  • FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("hello-view.fxml"));
  • Scene scene = new Scene(fxmlLoader.load(), 320, 240);
  • stage.setTitle("Hello!");
  • stage.setScene(scene);
  • stage.show();
  • }
  • public static void main(String[] args) {
  • launch();
  • }
  • }
  • ```
  • HelloController.java
  • ```java
  • package com.marcuzzo.vaporvoxel;
  • import javafx.fxml.FXML;
  • import javafx.scene.control.Label;
  • public class HelloController {
  • @FXML
  • private Label welcomeText;
  • @FXML
  • protected void onHelloButtonClick() {
  • welcomeText.setText("Welcome to JavaFX Application!");
  • }
  • }
  • ```
  • pom.xml
  • ```java
  • <?xml version="1.0" encoding="UTF-8"?>
  • <project xmlns="http://maven.apache.org/POM/4.0.0"
  • xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  • xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  • <modelVersion>4.0.0</modelVersion>
  • <groupId>com.marcuzzo</groupId>
  • <artifactId>VaporVoxel</artifactId>
  • <version>1.0-SNAPSHOT</version>
  • <name>VaporVoxel</name>
  • <properties>
  • <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  • <junit.version>5.9.0</junit.version>
  • </properties>
  • <dependencies>
  • <dependency>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-controls</artifactId>
  • <version>17.0.2</version>
  • </dependency>
  • <dependency>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-fxml</artifactId>
  • <version>17.0.2</version>
  • </dependency>
  • <dependency>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-web</artifactId>
  • <version>17.0.2</version>
  • </dependency>
  • <dependency>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-media</artifactId>
  • <version>17.0.2</version>
  • </dependency>
  • <dependency>
  • <groupId>org.controlsfx</groupId>
  • <artifactId>controlsfx</artifactId>
  • <version>11.1.2</version>
  • </dependency>
  • <dependency>
  • <groupId>net.synedra</groupId>
  • <artifactId>validatorfx</artifactId>
  • <version>0.4.0</version>
  • <exclusions>
  • <exclusion>
  • <groupId>org.openjfx</groupId>
  • <artifactId>*</artifactId>
  • </exclusion>
  • </exclusions>
  • </dependency>
  • <dependency>
  • <groupId>org.kordamp.ikonli</groupId>
  • <artifactId>ikonli-javafx</artifactId>
  • <version>12.3.1</version>
  • </dependency>
  • <dependency>
  • <groupId>eu.hansolo</groupId>
  • <artifactId>tilesfx</artifactId>
  • <version>17.1.15</version>
  • <exclusions>
  • <exclusion>
  • <groupId>org.openjfx</groupId>
  • <artifactId>*</artifactId>
  • </exclusion>
  • </exclusions>
  • </dependency>
  • <dependency>
  • <groupId>com.github.almasb</groupId>
  • <artifactId>fxgl</artifactId>
  • <version>17.1</version>
  • <exclusions>
  • <exclusion>
  • <groupId>org.openjfx</groupId>
  • <artifactId>*</artifactId>
  • </exclusion>
  • </exclusions>
  • </dependency>
  • <dependency>
  • <groupId>org.junit.jupiter</groupId>
  • <artifactId>junit-jupiter-api</artifactId>
  • <version>${junit.version}</version>
  • <scope>test</scope>
  • </dependency>
  • <dependency>
  • <groupId>org.junit.jupiter</groupId>
  • <artifactId>junit-jupiter-engine</artifactId>
  • <version>${junit.version}</version>
  • <scope>test</scope>
  • </dependency>
  • </dependencies>
  • <build>
  • <plugins>
  • <plugin>
  • <groupId>org.apache.maven.plugins</groupId>
  • <artifactId>maven-compiler-plugin</artifactId>
  • <version>3.10.1</version>
  • <configuration>
  • <source>17</source>
  • <target>17</target>
  • </configuration>
  • </plugin>
  • <plugin>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-maven-plugin</artifactId>
  • <version>0.0.8</version>
  • <executions>
  • <execution>
  • <!-- Default configuration for running with: mvn clean javafx:run -->
  • <id>default-cli</id>
  • <configuration>
  • <mainClass>com.marcuzzo.vaporvoxel/com.marcuzzo.vaporvoxel.HelloApplication</mainClass>
  • <launcher>app</launcher>
  • <jlinkZipName>app</jlinkZipName>
  • <jlinkImageName>app</jlinkImageName>
  • <noManPages>true</noManPages>
  • <stripDebug>true</stripDebug>
  • <noHeaderFiles>true</noHeaderFiles>
  • </configuration>
  • </execution>
  • </executions>
  • </plugin>
  • </plugins>
  • </build>
  • </project>
  • ```
  • So to preface I started a new JavaFX project in IntelliJ and all of this is from what was auto-generated out of the box. The modules I'm having trouble with are
  • ![List of modules that werent found](https://software.codidact.com/uploads/SWJGZYbRMbMgoAoBUC4C972H)
  • `eu.hansolo.tilesfx` seems to be used without errors as far as I can tell. Manually adding these missing above dependencies to my pom and module-info will result in red `dependency not found` requires statement in my module-info
  • Looking at the dependency analyzer it seems the project is using them as shown in the pic below:
  • ![Same modules found in dependancy analyzer](https://software.codidact.com/uploads/reA5gs5PaVGrj8rquFygXQwM)
  • Does anyone know what the issues could be? The files that were auto generated are below:
  • module-info.java
  • ```java
  • module com.marcuzzo.vaporvoxel {
  • requires javafx.controls;
  • requires javafx.fxml;
  • requires javafx.web;
  • requires org.controlsfx.controls;
  • requires org.kordamp.ikonli.javafx;
  • requires eu.hansolo.tilesfx;
  • requires com.almasb.fxgl.all;
  • opens com.marcuzzo.vaporvoxel to javafx.fxml;
  • exports com.marcuzzo.vaporvoxel;
  • }
  • ```
  • HelloApplication.java
  • ```java
  • package com.marcuzzo.vaporvoxel;
  • import javafx.application.Application;
  • import javafx.fxml.FXMLLoader;
  • import javafx.scene.Scene;
  • import javafx.stage.Stage;
  • import java.io.IOException;
  • public class HelloApplication extends Application {
  • @Override
  • public void start(Stage stage) throws IOException {
  • FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("hello-view.fxml"));
  • Scene scene = new Scene(fxmlLoader.load(), 320, 240);
  • stage.setTitle("Hello!");
  • stage.setScene(scene);
  • stage.show();
  • }
  • public static void main(String[] args) {
  • launch();
  • }
  • }
  • ```
  • HelloController.java
  • ```java
  • package com.marcuzzo.vaporvoxel;
  • import javafx.fxml.FXML;
  • import javafx.scene.control.Label;
  • public class HelloController {
  • @FXML
  • private Label welcomeText;
  • @FXML
  • protected void onHelloButtonClick() {
  • welcomeText.setText("Welcome to JavaFX Application!");
  • }
  • }
  • ```
  • pom.xml
  • ```java
  • <?xml version="1.0" encoding="UTF-8"?>
  • <project xmlns="http://maven.apache.org/POM/4.0.0"
  • xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  • xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  • <modelVersion>4.0.0</modelVersion>
  • <groupId>com.marcuzzo</groupId>
  • <artifactId>VaporVoxel</artifactId>
  • <version>1.0-SNAPSHOT</version>
  • <name>VaporVoxel</name>
  • <properties>
  • <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  • <junit.version>5.9.0</junit.version>
  • </properties>
  • <dependencies>
  • <dependency>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-controls</artifactId>
  • <version>17.0.2</version>
  • </dependency>
  • <dependency>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-fxml</artifactId>
  • <version>17.0.2</version>
  • </dependency>
  • <dependency>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-web</artifactId>
  • <version>17.0.2</version>
  • </dependency>
  • <dependency>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-media</artifactId>
  • <version>17.0.2</version>
  • </dependency>
  • <dependency>
  • <groupId>org.controlsfx</groupId>
  • <artifactId>controlsfx</artifactId>
  • <version>11.1.2</version>
  • </dependency>
  • <dependency>
  • <groupId>net.synedra</groupId>
  • <artifactId>validatorfx</artifactId>
  • <version>0.4.0</version>
  • <exclusions>
  • <exclusion>
  • <groupId>org.openjfx</groupId>
  • <artifactId>*</artifactId>
  • </exclusion>
  • </exclusions>
  • </dependency>
  • <dependency>
  • <groupId>org.kordamp.ikonli</groupId>
  • <artifactId>ikonli-javafx</artifactId>
  • <version>12.3.1</version>
  • </dependency>
  • <dependency>
  • <groupId>eu.hansolo</groupId>
  • <artifactId>tilesfx</artifactId>
  • <version>17.1.15</version>
  • <exclusions>
  • <exclusion>
  • <groupId>org.openjfx</groupId>
  • <artifactId>*</artifactId>
  • </exclusion>
  • </exclusions>
  • </dependency>
  • <dependency>
  • <groupId>com.github.almasb</groupId>
  • <artifactId>fxgl</artifactId>
  • <version>17.1</version>
  • <exclusions>
  • <exclusion>
  • <groupId>org.openjfx</groupId>
  • <artifactId>*</artifactId>
  • </exclusion>
  • </exclusions>
  • </dependency>
  • <dependency>
  • <groupId>org.junit.jupiter</groupId>
  • <artifactId>junit-jupiter-api</artifactId>
  • <version>${junit.version}</version>
  • <scope>test</scope>
  • </dependency>
  • <dependency>
  • <groupId>org.junit.jupiter</groupId>
  • <artifactId>junit-jupiter-engine</artifactId>
  • <version>${junit.version}</version>
  • <scope>test</scope>
  • </dependency>
  • </dependencies>
  • <build>
  • <plugins>
  • <plugin>
  • <groupId>org.apache.maven.plugins</groupId>
  • <artifactId>maven-compiler-plugin</artifactId>
  • <version>3.10.1</version>
  • <configuration>
  • <source>17</source>
  • <target>17</target>
  • </configuration>
  • </plugin>
  • <plugin>
  • <groupId>org.openjfx</groupId>
  • <artifactId>javafx-maven-plugin</artifactId>
  • <version>0.0.8</version>
  • <executions>
  • <execution>
  • <!-- Default configuration for running with: mvn clean javafx:run -->
  • <id>default-cli</id>
  • <configuration>
  • <mainClass>com.marcuzzo.vaporvoxel/com.marcuzzo.vaporvoxel.HelloApplication</mainClass>
  • <launcher>app</launcher>
  • <jlinkZipName>app</jlinkZipName>
  • <jlinkImageName>app</jlinkImageName>
  • <noManPages>true</noManPages>
  • <stripDebug>true</stripDebug>
  • <noHeaderFiles>true</noHeaderFiles>
  • </configuration>
  • </execution>
  • </executions>
  • </plugin>
  • </plugins>
  • </build>
  • </project>
  • ```
#1: Initial revision by user avatar cuzzo‭ · 2022-10-30T17:37:55Z (about 2 years ago)
Why is IntelliJ not finding these modules?
So to preface I started a new JavaFX project in IntelliJ and all of this is from what was auto-generated out of the box. The modules I'm having trouble with are 

![List of modules that werent found](https://software.codidact.com/uploads/SWJGZYbRMbMgoAoBUC4C972H)

`eu.hansolo.tilesfx` seems to be used without errors as far as I can tell. Manually adding these missing above dependencies to my pom will result in red `dependency not found` requires statement in my module-info.

Looking at the dependency analyzer it seems the project is using them as shown in the pic below:

![Same modules found in dependancy analyzer](https://software.codidact.com/uploads/reA5gs5PaVGrj8rquFygXQwM)

Does anyone know what the issues could be? The files that were auto generated are below:

module-info.java
```java
module com.marcuzzo.vaporvoxel {
    requires javafx.controls;
    requires javafx.fxml;
    requires javafx.web;

    requires org.controlsfx.controls;
    requires org.kordamp.ikonli.javafx;
    requires eu.hansolo.tilesfx;
    requires com.almasb.fxgl.all;
    opens com.marcuzzo.vaporvoxel to javafx.fxml;
    exports com.marcuzzo.vaporvoxel;
}
```

HelloApplication.java
```java
package com.marcuzzo.vaporvoxel;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.stage.Stage;

import java.io.IOException;

public class HelloApplication extends Application {
    @Override
    public void start(Stage stage) throws IOException {
        FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("hello-view.fxml"));
        Scene scene = new Scene(fxmlLoader.load(), 320, 240);
        stage.setTitle("Hello!");
        stage.setScene(scene);
        stage.show();
    }

    public static void main(String[] args) {
        launch();
    }
}
```

HelloController.java
```java
package com.marcuzzo.vaporvoxel;

import javafx.fxml.FXML;
import javafx.scene.control.Label;

public class HelloController {
    @FXML
    private Label welcomeText;

    @FXML
    protected void onHelloButtonClick() {
        welcomeText.setText("Welcome to JavaFX Application!");
    }
}
```

pom.xml
```java
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>com.marcuzzo</groupId>
    <artifactId>VaporVoxel</artifactId>
    <version>1.0-SNAPSHOT</version>
    <name>VaporVoxel</name>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <junit.version>5.9.0</junit.version>
    </properties>

    <dependencies>
        <dependency>
            <groupId>org.openjfx</groupId>
            <artifactId>javafx-controls</artifactId>
            <version>17.0.2</version>
        </dependency>
        <dependency>
            <groupId>org.openjfx</groupId>
            <artifactId>javafx-fxml</artifactId>
            <version>17.0.2</version>
        </dependency>
        <dependency>
            <groupId>org.openjfx</groupId>
            <artifactId>javafx-web</artifactId>
            <version>17.0.2</version>
        </dependency>
        <dependency>
            <groupId>org.openjfx</groupId>
            <artifactId>javafx-media</artifactId>
            <version>17.0.2</version>
        </dependency>
        <dependency>
            <groupId>org.controlsfx</groupId>
            <artifactId>controlsfx</artifactId>
            <version>11.1.2</version>
        </dependency>
        <dependency>
            <groupId>net.synedra</groupId>
            <artifactId>validatorfx</artifactId>
            <version>0.4.0</version>
            <exclusions>
                <exclusion>
                    <groupId>org.openjfx</groupId>
                    <artifactId>*</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>org.kordamp.ikonli</groupId>
            <artifactId>ikonli-javafx</artifactId>
            <version>12.3.1</version>
        </dependency>

        <dependency>
            <groupId>eu.hansolo</groupId>
            <artifactId>tilesfx</artifactId>
            <version>17.1.15</version>
            <exclusions>
                <exclusion>
                    <groupId>org.openjfx</groupId>
                    <artifactId>*</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>com.github.almasb</groupId>
            <artifactId>fxgl</artifactId>
            <version>17.1</version>
            <exclusions>
                <exclusion>
                    <groupId>org.openjfx</groupId>
                    <artifactId>*</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>org.junit.jupiter</groupId>
            <artifactId>junit-jupiter-api</artifactId>
            <version>${junit.version}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.junit.jupiter</groupId>
            <artifactId>junit-jupiter-engine</artifactId>
            <version>${junit.version}</version>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.10.1</version>
                <configuration>
                    <source>17</source>
                    <target>17</target>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.openjfx</groupId>
                <artifactId>javafx-maven-plugin</artifactId>
                <version>0.0.8</version>
                <executions>
                    <execution>
                        <!-- Default configuration for running with: mvn clean javafx:run -->
                        <id>default-cli</id>
                        <configuration>
                            <mainClass>com.marcuzzo.vaporvoxel/com.marcuzzo.vaporvoxel.HelloApplication</mainClass>
                            <launcher>app</launcher>
                            <jlinkZipName>app</jlinkZipName>
                            <jlinkImageName>app</jlinkImageName>
                            <noManPages>true</noManPages>
                            <stripDebug>true</stripDebug>
                            <noHeaderFiles>true</noHeaderFiles>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>
```