GitHub user liuxiaocs7 edited a comment on the discussion: Impl my first data processor question
> Hi @liuxiaocs7 thanks for the detailed description of your problem! I'll be > glad to help. > > Which version of StreamPipes are you running in the CLI (it seems to be dev?) > and which version is listed in the POM file of your generated project? @dominikriemer Thanks for your help. StreamPipes running in the CLI is the lastest dev version(just clone the repository from github): ```shell liuxiaocs@LAPTOP-78ELKTKJ MINGW64 /d/Development/Code/Repository/streampipes (dev) $ streampipes --version fatal: not a git repository: 'D:/Development/Code/Repository/streampipes/installer/.git' 0.92.0-SNAPSHOT, build ``` > BTW, why `--version` will check whether it is a git repository? As for the build project version, i just refer this [doc](https://streampipes.apache.org/docs/docs/extend-archetypes.html#create-project) to use `0.69.0` > `Make sure that you select a version compatible with your StreamPipes > installation` I don't quite understand the compatibility implications here. ```shell mvn archetype:generate \ -DarchetypeGroupId=org.apache.streampipes \ -DarchetypeArtifactId=streampipes-archetype-extensions-jvm \ -DarchetypeVersion=0.69.0 ``` --- Considering that it may be a version problem, I also tried to use lastest verion `0.92.0-SNAPSHOT` to generate before, but still it fails and the error is not the same, the process is as follows ```shell mvn archetype:generate \ -DarchetypeGroupId=org.apache.streampipes \ -DarchetypeArtifactId=streampipes-archetype-extensions-jvm \ -DarchetypeVersion=0.92.0-SNAPSHOT ``` But there seems to be something wrong with the template.  Maybe the template is not updated in time, (if this is indeed a problem, I can submit a PR to fix it)  After I manually modify the package path of the generated project as below: ``` import org.apache.streampipes.service.extensions.ExtensionsModelSubmitter; import org.apache.streampipes.extensions.management.model.SpServiceDefinition; import org.apache.streampipes.extensions.management.model.SpServiceDefinitionBuilder; ``` seems to be missing logging dependency  After add the dependency to POM, the log shows. ```pom <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <version>1.7.25</version> <scope>compile</scope> </dependency> ``` But the result still seems to be unable to find consul. ```shell [main] INFO org.apache.streampipes.commons.networking.Networking - Using auto-discovered IP: 192.168.32.1 [main] INFO org.apache.streampipes.commons.networking.Networking - Using default port: 8090 [main] INFO org.apache.streampipes.extensions.management.init.DeclarersSingleton - Registering 0 configs in key/value store [main] INFO org.apache.streampipes.svcdiscovery.consul.ConsulProvider - Checking if consul is available on host consul and port 8500 [main] INFO org.apache.streampipes.svcdiscovery.consul.ConsulProvider - Could not connect to Consul instance... [main] INFO org.apache.streampipes.svcdiscovery.consul.ConsulProvider - Retrying in 1 second [main] INFO org.apache.streampipes.svcdiscovery.consul.ConsulProvider - Checking if consul is available on host consul and port 8500 [main] INFO org.apache.streampipes.svcdiscovery.consul.ConsulProvider - Could not connect to Consul instance... [main] INFO org.apache.streampipes.svcdiscovery.consul.ConsulProvider - Retrying in 1 second ``` I access consul's web-ui through the browser and everything seems to be fine.  These are some of the phenomena I have observed so far. If there are any unclear or wrong descriptions, please let me know, thank you GitHub link: https://github.com/apache/streampipes/discussions/1422#discussioncomment-5348807 ---- This is an automatically sent email for dev@streampipes.apache.org. To unsubscribe, please send an email to: dev-unsubscr...@streampipes.apache.org