Skip to content

--ignore-missing-classes and updating CLASSPATH #260

@mkr-plse

Description

@mkr-plse

When japicmp is run as follows java -jar japicmp/target/japicmp-0.14.3-jar-with-dependencies.jar -n ~/Downloads/jmh-core-1.23.jar -o ~/Downloads/jmh-core-1.21.jar, the following error shows up:

E: Could not load 'Class not found: org.apache.commons.math3.stat.descriptive.StatisticalSummary': org.apache.commons.math3.stat.descriptive.StatisticalSummary. Please make sure that all libraries have been added to the classpath (CLASSPATH=) or try the option '--ignore-missing-classes'

Updating the CLASSPATH with commons-math3-3.6.1.jar doesn't fix the issue. Ignoring the missing classes however fixes the issue. Will ignoring the missing classes (from other jars) likely affect the result of comparison between the input old and new jars, if I am just looking for any changes to the method signatures in the classes in the input jars?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions