Error in Eclipse: Provider class com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageReaderSpi not in module

We are trying to create a project in Eclipse using deeplearning4j. We have set up the maven dependencies:



We are getting the following error when executing:

Error occurred during initialization of boot layer
java.lang.module.FindException: Unable to derive module descriptor for C:\Users\Admin\.m2\repository\org\datavec\datavec-data-image\0.9.1\datavec-data-image-0.9.1.jar
Caused by: java.lang.module.InvalidModuleDescriptorException: Provider class com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageReaderSpi not in module

We are trying to load an image using:

int height = 256;
int width = 256;
int channels = 1;
ImageLoader loader = new ImageLoader(height, width, channels);
INDArray image = loader.asMatrix(file);

Is this a problem in the maven “datavect-data-image-0.9.1” META-INF/services content?
We have tried with version 0.9.1, 1.0.0-beta4 and 1.0.0-beta7 without luck.

Any help will be much appreciated.

@maborec that version of dl4j is almost 2 years old now. Please follow our quickstart and use the latest version. Could you tell me where you got that version from so we can take the source down? Thanks!

Thanks for your feedback.
As explained in my original message, we have this error in version 0.9.1, 1.0.0-beta4 and 1.0.0-beta7.
We are getting teh libraries from the Maven repository.

@maborec sorry thanks for clarifying. This isn’t specific to dl4j per se. It’s a transitive dependency. Could you look in to the troubleshooting here?