Skip to content

Illegal access run-time error due to controlsfx's BreadCrumbButton #478

Answered by hmf
hmf asked this question in Q&A
Discussion options

You must be logged in to vote

I have succeeded in using the chart-fx as a module. But the error is essentially the same - the module is not unnamed now. Here is the error:

Caused by: java.lang.IllegalAccessError: superclass access check failed: class de.gsi.chart.ui.ProfilerInfoBox$CustomBreadCrumbButton (in module de.gsi.chartfx.chart) cannot access class impl.org.controlsfx.skin.BreadCrumbBarSkin$BreadCrumbButton (in module org.controlsfx.controls) because module org.controlsfx.controls does not export impl.org.controlsfx.skin to module de.gsi.chartfx.chart

But I think the export is correct. Here are my arguments:

--module-path /home/hmf/.cache/coursier/v1/https/repo1.maven.org/maven2/de/gsi/chart/chartfx-chart/11.2…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@hmf
Comment options

Comment options

You must be logged in to vote
2 replies
@ennerf
Comment options

@hmf
Comment options

Answer selected by RalphSteinhagen
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants