Uploaded image for project: 'Apache Hop'
  1. Apache Hop
  2. HOP-3183

Fuzzy match - Unable to load class 'com.wcohen.ss.JaroWinkler'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.70
    • Not applicable
    • Actions
    • None

    Description

      Fuzzy Match with Jaro Winkler Algorithm that worked in PDI throws error in Apache Hop:

       

       Fuzzy match.0 - ERROR: Unexpected error Fuzzy match.0 - ERROR: Unexpected error Fuzzy match.0 - ERROR: java.lang.NoClassDefFoundError: com/wcohen/ss/JaroWinkler Fuzzy match.0 - at org.apache.hop.pipeline.transforms.fuzzymatch.FuzzyMatch.doSimilarity(FuzzyMatch.java:392) Fuzzy match.0 - at org.apache.hop.pipeline.transforms.fuzzymatch.FuzzyMatch.getFromCache(FuzzyMatch.java:220) Fuzzy match.0 - at org.apache.hop.pipeline.transforms.fuzzymatch.FuzzyMatch.lookupValues(FuzzyMatch.java:182) Fuzzy match.0 - at org.apache.hop.pipeline.transforms.fuzzymatch.FuzzyMatch.processRow(FuzzyMatch.java:477) Fuzzy match.0 - at org.apache.hop.pipeline.transform.RunThread.run(RunThread.java:60) Fuzzy match.0 - at java.lang.Thread.run(Thread.java:745) Fuzzy match.0 - Caused by: java.lang.ClassNotFoundException: Unable to load class 'com.wcohen.ss.JaroWinkler' in this classloader or in the parent Fuzzy match.0 - at org.apache.hop.core.plugins.HopURLClassLoader.loadClass(HopURLClassLoader.java:112) Fuzzy match.0 - at java.lang.ClassLoader.loadClass(ClassLoader.java:357) Fuzzy match.0 - ... 6 more Fuzzy match.0 - Caused by: java.lang.ClassNotFoundException: com.wcohen.ss.JaroWinkler Fuzzy match.0 - at java.net.URLClassLoader.findClass(URLClassLoader.java:381) Fuzzy match.0 - at org.apache.hop.core.plugins.HopURLClassLoader.loadClassFromThisLoader(HopURLClassLoader.java:76) Fuzzy match.0 - at org.apache.hop.core.plugins.HopURLClassLoader.loadClass(HopURLClassLoader.java:101) Fuzzy match.0 - ... 7 more 

      Attachments

        1. image-2021-08-12-01-54-13-435.png
          91 kB
          Christiain Gutknecht

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Christian Gutknecht Christiain Gutknecht
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: