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

%maven import for tablesaw fails #165

Open
cayhorstmann opened this issue Sep 1, 2024 · 3 comments
Open

%maven import for tablesaw fails #165

cayhorstmann opened this issue Sep 1, 2024 · 3 comments

Comments

@cayhorstmann
Copy link

%maven tech.tablesaw:tablesaw-core:0.43.1
import tech.tablesaw.api.*;
var table = Table.read().url("https://raw.githubusercontent.com/gmsharpe/edumore/master/data/elections.csv")
---------------------------------------------------------------------------
java.lang.NoClassDefFoundError: com/google/common/io/Files
	at tech.tablesaw.io.DataFrameReader.getExtension(DataFrameReader.java:108)
	at tech.tablesaw.io.DataFrameReader.url(DataFrameReader.java:74)
	at tech.tablesaw.io.DataFrameReader.url(DataFrameReader.java:66)
	at tech.tablesaw.io.DataFrameReader.url(DataFrameReader.java:48)
	at .do_it$Aux(#16:1)
	at .(#16:1)

Adding %maven com.google.guava:guava:33.3.0-jre did not help.

This may be related to #63.

How do I work with tablesaw in IJava?

@andrus
Copy link

andrus commented Sep 1, 2024

It is very likely related to #63. My recommendation would be to switch to DFLib JJava kernel:

As of the current version (M2), it fixes a number of dependency resolution issues, and one more will be fixed in M3 that will be published some time next week.

@cayhorstmann
Copy link
Author

Thanks, that's good to know. I didn't know about JJava. Maybe ask to be included in https://github.com/jupyter-java?

@andrus
Copy link

andrus commented Sep 1, 2024

Maybe ask to be included in https://github.com/jupyter-java?

Good idea. We are working on our own website, so that it is googles better 🙂 Don't know who runs "jupyter-java", but I'll try to send them a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants