gluonhq / attach

GNU General Public License v3.0
50 stars 27 forks source link

Invalid module description for position service on desktop #109

Open dlemmermann opened 4 years ago

dlemmermann commented 4 years ago

When using the attach.position one gets an error message when trying to run the application via the javafx plugin: java.lang.module.InvalidModuleDescriptorException: Package com.gluonhq.attach.position.impl not found in module

I checked in this package does exist but it is empty. My application uses the module-info.java approach so the "requires" statement asking for the position module fails.

dlemmermann commented 4 years ago

This is on desktop. I assume there simply isn't a position service on desktop, hence no implementation. But then you end up with an empty package and the Java module system does not like that. After removing my own module-info.java I was able to run the app on the desktop via the javafx plugin.