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

tutorials/spf4j #12173

Open
sfc-gh-schen opened this issue May 6, 2022 · 1 comment
Open

tutorials/spf4j #12173

sfc-gh-schen opened this issue May 6, 2022 · 1 comment
Labels
on-jira triaged Issues reviewed by a dev and considered valid. Will be added in Jira.

Comments

@sfc-gh-schen
Copy link

I follow the tutorial to run the two apps in spf4j, using the spf4j-ui to view the data, when open the spf4j-performance-monitoring.tsdb2 file, an error pops up at the terminal: Exception: java.lang.NoClassDefFoundError thrown from the UncaughtExceptionHandler in thread "AWT-EventQueue-0". What could be the cause? There is no more info can be found, hard to find out why there is such error.

@kwoyke kwoyke added the triaged Issues reviewed by a dev and considered valid. Will be added in Jira. label May 19, 2022
@dkapil
Copy link
Collaborator

dkapil commented Jan 23, 2023

First of all, we can't keep the older versions because spf4j had dependencies that were available on bintray that is now sunset, so we had to upgrade to the newer versions of spf4j that is available on maven central.

But spf4j internally requires Avro, which is only available on the GitHub packages; for the GitHub packages repository, we need GitHub credentials that we can not keep in our repository.

The hack around is to keep the old versions of Avro which is available on Maven Central but that does not work with the new versions of spf4j-ui and hence the error that we are seeing.

Therefore, this issue can not be fixed until spf4j removes the dependency on Avro or the latest Avro is available on Maven Central.
Here is a related Github issue: zolyfarkas/spf4j#60

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
on-jira triaged Issues reviewed by a dev and considered valid. Will be added in Jira.
Projects
None yet
Development

No branches or pull requests

4 participants