Skip to content

GeoWaveStoreFinder is not an ImageIO SPI class #1749

@YaseminAkyuz

Description

@YaseminAkyuz

I'm just getting started with Geowave and Cassandra.
I'm trying to add a data store using following cli command:
geowave store add --gwNamespace geowave.gdelt -t cassandra --contactPoints 127.0.0.1:9160.
I'm getting error and could not find a solution.

Error: java.lang.ExceptionInInitializerError
at org.locationtech.geowave.core.store.cli.store.DataStorePluginOptions.selectPlugin(DataStorePluginOptions.java:72)
at org.locationtech.geowave.core.store.cli.store.AddStoreCommand.prepare(AddStoreCommand.java:60)
at org.locationtech.geowave.core.cli.parser.OperationParser.parseInternal(OperationParser.java:94)
at org.locationtech.geowave.core.cli.parser.OperationParser.parse(OperationParser.java:65)
at org.locationtech.geowave.core.cli.GeoWaveMain.main(GeoWaveMain.java:34)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:85)
at com.exe4j.runtime.WinLauncher.main(WinLauncher.java:94)
at com.install4j.runtime.launcher.WinLauncher.main(WinLauncher.java:25)
Caused by: java.lang.IllegalArgumentException: org.locationtech.geowave.core.store.GeoWaveStoreFinder is not an ImageIO SPI class
at java.desktop/javax.imageio.spi.ServiceRegistry.checkClassAllowed(ServiceRegistry.java:722)
at java.desktop/javax.imageio.spi.ServiceRegistry.(ServiceRegistry.java:117)
at org.locationtech.geowave.core.index.SPIServiceRegistry.(SPIServiceRegistry.java:42)
at org.locationtech.geowave.core.store.GeoWaveStoreFinder.getRegisteredFactories(GeoWaveStoreFinder.java:326)
at org.locationtech.geowave.core.store.GeoWaveStoreFinder.getRegisteredStoreFactoryFamilies(GeoWaveStoreFinder.java:281)
at org.locationtech.geowave.core.store.GeoWaveStoreFinder.getStoreNames(GeoWaveStoreFinder.java:229)
at org.locationtech.geowave.core.store.GeoWaveStoreFinder.(GeoWaveStoreFinder.java:40)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions