Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with Spring boot framework #516

Open
1 task done
ehsan-elwan opened this issue Feb 29, 2024 · 0 comments
Open
1 task done

Compatibility with Spring boot framework #516

ehsan-elwan opened this issue Feb 29, 2024 · 0 comments
Labels
question Further information is requested

Comments

@ehsan-elwan
Copy link

What do you want to know?

I have a spring boot 3.2.3 module JAVA 21 that is connected to MQTT broker using spring boot integration, I would like to use the Eclipse Tahu core library to handle the encode/decode out/incoming messages. After adding the maven dependency org.eclipse.tahu:tahu-core:1.0.8 (without actually using it in the code) the app starts but override my config and run always in trace mode for logs.
And it throws errors about Tomcat library not found like so,
org.apache.tomcat.jni.LibraryNotFoundError: Can't load library: /home/user/IdeaProjects/demo/bin/libtcnative-2.so .....
Removing the dependency would resolve the traces and missing library issue, but then I would really love to use this project instead of rewriting a parser.

(Reproducibility)To test this further, I started a new Spring boot project using spring initializr with only spring web starter as dependency, same result, as soon as I add org.eclipse.tahu:tahu-core:1.0.8 depnedency The app start throwing the same errors.

When running the examples in the main repo without spring boot it works just fine.

I don't know if that is a bug or not, but I would love if someone can help out with this

Is this related to a Sparkplug Listing request? If so, link the issue from https://github.com/eclipse-sparkplug/sparkplug.listings here.

No response

Version

3.0.0 (Default)

Accept EFTL Terms

  • I agree to the terms of EFTL
@ehsan-elwan ehsan-elwan added the question Further information is requested label Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant