Categories
Mastering Development

IllegalAccessException: cannot access class C (in module M) because module M does not export C to module N

I’m trying to add Maven support to an existing JavaFX project that I have. I started by following OpenJFX’s Getting Started Guide, which teaches you how to compile and run a Hello World JavaFX application with Maven. After I made it, I pasted my project’s files in this new project and made the changes needed. […]