0
votes

I've imported the jar manually from my m2 repo:

app register --name file --type source --uri file://<LOCAL_PAT>/spring-cloud-starter-stream-source-file-1.3.1.RELEASE.jar

while launching the stream definition I always got in the logs this error:

no main manifest attribute, in spring-cloud-starter-stream-source-file-1.3.1.RELEASE.jar

Can you check why there is no Spring boot or main class. Is there a specific run to be made? (How can I use this component)

1

1 Answers

0
votes

You are trying to use the starter JAR file which is incorrect. The application JAR needs to be built using the appropriate binder.

You can see the instructions to build the application from the starter here