Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using CalendarFx 11.5.0 with openJFx 12 facing problem of Module not found #47

Closed
eagleCoders opened this issue May 23, 2019 · 5 comments

Comments

@eagleCoders
Copy link

I added controlsfx in my module-info.java like

module base.education.ui {
requires common.education.ui;
requires javafx.controls;
requires javafx.media;
requires org.kordamp.ikonli.javafx;
requires java.sql;
requires org.fxyz3d.core;
requires javafx.swing;
requires com.calendarfx.view;
requires com.calendarfx.recurrence;
requires gson;
opens baseImages;
opens base.education.ui to javafx.graphics;
exports base.education.ui;
}

but when using the CalendarView in my module I am facing the following problem

Error occurred during initialization of boot layer
java.lang.module.FindException: Module controlsfx not found, required by com.calendarfx.view

Regards

@dlemmermann
Copy link
Collaborator

The PRs have been merged. Please try again and let me know if this issue can be closed.

@dlemmermann
Copy link
Collaborator

Actually I feel confident that this resolves this issue. Closing it.

@kr5ture
Copy link

kr5ture commented Aug 16, 2019

@dlemmermann Looks like package available through both mvnrepository and bintray somehow still has dependency on controlsfx in version 9.0.1-SNAPSHOT:

\--- com.calendarfx:view:11.5.0
     +--- org.openjfx:javafx-controls:11-ea+25
     |    \--- org.openjfx:javafx-graphics:11-ea+25
     |         \--- org.openjfx:javafx-base:11-ea+25
     +--- org.openjfx:javafx-fxml:11-ea+25
     |    \--- org.openjfx:javafx-controls:11-ea+25 (*)
     +--- com.calendarfx:recurrence:11.5.0
     |    \--- joda-time:joda-time:2.9.1
     +--- org.controlsfx:controlsfx:9.0.1-SNAPSHOT FAILED <--------------------------
     +--- de.jensd:fontawesomefx-commons:9.1.2
     \--- de.jensd:fontawesomefx-fontawesome:4.7.0-9.1.2
          \--- de.jensd:fontawesomefx-commons:9.1.2

Also in module-info.java

module com.calendarfx.view {

    requires controlsfx;
    requires javafx.controls;
    requires javafx.fxml;
    // (...)
}

Packages:

@eagleCoders
Copy link
Author

eagleCoders commented Aug 16, 2019 via email

@kr5ture
Copy link

kr5ture commented Aug 16, 2019

I have used jitpack.io as a workaround. There are plans to release new version with fixes soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants