KilianB / JImageHash

Perceptual image hashing library used to match similar images
MIT License
407 stars 83 forks source link

java.lang.NoClassDefFoundError: com/github/kilianB/Require #37

Closed canflydream closed 5 years ago

canflydream commented 5 years ago

java.lang.NoClassDefFoundError: com/github/kilianB/Require

jktj commented 5 years ago

How is this closed? I'm still facing the same issue.

LiorA1 commented 4 years ago

someone solved it ?

LiorA1 commented 4 years ago

solved by define a new model..

lfvepclr commented 4 years ago

I solved it. add this to your pom:

    <!-- Fast image access methods and overall utility code -->
    <dependency>
        <groupId>com.github.kilianB</groupId>
        <artifactId>UtilityCode</artifactId>
        <version>1.5.7</version>
    </dependency>
    <!-- Required for perceptive hasher -->
    <dependency>
        <groupId>com.github.wendykierp</groupId>
        <artifactId>JTransforms</artifactId>
        <version>3.1</version>
        <classifier>with-dependencies</classifier>
    </dependency>