Skip to content

java.lang.java.lang.NoClassDefFoundError #3

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

Open
kaonick opened this issue Aug 8, 2024 · 2 comments
Open

java.lang.java.lang.NoClassDefFoundError #3

kaonick opened this issue Aug 8, 2024 · 2 comments

Comments

@kaonick
Copy link

kaonick commented Aug 8, 2024

I try "python dlineage.py /t oracle /f test.sql /graph" then got error below:

result = dlineage.generateDataFlow()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
java.lang.java.lang.NoClassDefFoundError: <exception str() failed>

@liaowuhen2
Copy link
Collaborator

JDK 1.8, Python 3.12.1, JPype 1.5.0. You can try testing with this version combination

@Hamed0406
Copy link

Hamed0406 commented Aug 21, 2024

it is good to check this steps as well :

Check Classpath: Verify the classpath in your environment by running echo $CLASSPATH in the terminal (Linux/Mac) or echo %CLASSPATH% (Windows) and ensure that it includes all necessary JAR files.

Check Dependencies: Make sure that all dependencies required by dlineage.py are correctly installed and accessible.

Run a Simple Java Test: Write a simple Java program to check if your Java environment is correctly set up and can load classes from the required JARs.

Verbose Logging: If possible, enable verbose logging or debugging options in the script or Java command to get more details about what is causing the NoClassDefFoundError.

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

3 participants