lab596 commented on issue #1866:
URL: https://github.com/apache/streampipes/issues/1866#issuecomment-1716318680
Hey @dominikriemer,
Thanks for all the help. I was able to set up most of the development setup
using your instructions however when attempting to create a new pipeline
element to test it out I was facing this error:
```
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/streampipes/connect/iiot/ConnectAdapterIiotInit
at
org.apache.streampipes.extensions.all.jvm.AllExtensionsInit.provideServiceDefinition(AllExtensionsInit.java:48)
at
org.apache.streampipes.service.extensions.StreamPipesExtensionsServiceBase.init(StreamPipesExtensionsServiceBase.java:51)
at
org.apache.streampipes.extensions.all.jvm.AllExtensionsInit.main(AllExtensionsInit.java:40)
Caused by: java.lang.ClassNotFoundException:
org.apache.streampipes.connect.iiot.ConnectAdapterIiotInit
at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
... 3 more
```
What I first did was ensure to add the startup env variables by running
(I'm trying to run `extensions-all-jvm` as suggested):
```
$ docker run -e SP_DEBUG=true -e SP_CONSUL_HOST=localhost -d
apachestreampipes/extensions-all-jvm:0.93.0-SNAPSHOT
701e4b3b072da950b980bf2bd893365912bb99fe4e51bc963d97a1323a08ee12
```
Then I attempted to run the `AllExtensionsInit.java` within the
`streampipes-extensions-all-jvm` folder.
Am I missing something?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]