java.lang.NoClassDefFoundError: ca/uhn/hl7v2/parser/Parser

Pentaho BI Platform Tracking | Golda David | 6 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola , poroszd and rafael . Or join the community to write better ones.
  1. 0

    Download the archive build, edit the metadataeditor.bat script to open a command console. execute the script. notice the following error in the console.(not sure if this is a local issue or universal) everything else works fine. DEBUG: Using JAVA_HOME DEBUG: _PENTAHO_JAVA_HOME=C:\PROGRA~1\JAVA\JDK1.6.0_20 DEBUG: _PENTAHO_JAVA=C:\PROGRA~1\JAVA\JDK1.6.0_20\bin\java DEBUG: PENTAHO_INSTALLED_LICENSE_PATH= "C:\PROGRA~1\JAVA\JDK1.6.0_20\bin\java" java.lang.NoClassDefFoundError: ca/uhn/hl7v2/parser/Parser at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:297) at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:240) at org.pentaho.di.ui.core.gui.GUIResource.loadJobEntryImages(GUIResource.java:821) at org.pentaho.di.ui.core.gui.GUIResource.getResources(GUIResource.java:380) at org.pentaho.di.ui.core.gui.GUIResource.<init>(GUIResource.java:313) at org.pentaho.di.ui.core.gui.GUIResource.getInstance(GUIResource.java:330) at org.pentaho.di.ui.core.PropsUI.init(PropsUI.java:124) at org.pentaho.pms.ui.MetaEditor.main(MetaEditor.java:3536) Caused by: java.lang.ClassNotFoundException: ca.uhn.hl7v2.parser.Parser at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 10 more ERROR 08-06 13:56:36,281 - GUIResource - Unable to find required job entry image file [ui/images/mllp-ack.png] for id [HL7MLLPAcknowledge] : org.pentaho.di.core.exception.KettlePluginException: Unexpected error loading class: ca/uhn/hl7v2/parser/Parser java.lang.NoClassDefFoundError: ca/uhn/hl7v2/parser/Parser at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:297) at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:240) at org.pentaho.di.ui.core.gui.GUIResource.loadJobEntryImages(GUIResource.java:821) at org.pentaho.di.ui.core.gui.GUIResource.getResources(GUIResource.java:380) at org.pentaho.di.ui.core.gui.GUIResource.<init>(GUIResource.java:313) at org.pentaho.di.ui.core.gui.GUIResource.getInstance(GUIResource.java:330) at org.pentaho.di.ui.core.PropsUI.init(PropsUI.java:124) at org.pentaho.pms.ui.MetaEditor.main(MetaEditor.java:3536) Caused by: java.lang.ClassNotFoundException: ca.uhn.hl7v2.parser.Parser at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 10 more ERROR 08-06 13:56:36,317 - GUIResource - Unable to find required job entry image file [ui/images/mllp-in.png] for id [HL7MLLPInput] : org.pentaho.di.core.exception.KettlePluginException: Unexpected error loading class: ca/uhn/hl7v2/parser/Parser

    Pentaho BI Platform Tracking | 6 years ago | Golda David
    java.lang.NoClassDefFoundError: ca/uhn/hl7v2/parser/Parser
  2. 0

    Download the archive build, edit the metadataeditor.bat script to open a command console. execute the script. notice the following error in the console.(not sure if this is a local issue or universal) everything else works fine. DEBUG: Using JAVA_HOME DEBUG: _PENTAHO_JAVA_HOME=C:\PROGRA~1\JAVA\JDK1.6.0_20 DEBUG: _PENTAHO_JAVA=C:\PROGRA~1\JAVA\JDK1.6.0_20\bin\java DEBUG: PENTAHO_INSTALLED_LICENSE_PATH= "C:\PROGRA~1\JAVA\JDK1.6.0_20\bin\java" java.lang.NoClassDefFoundError: ca/uhn/hl7v2/parser/Parser at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:297) at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:240) at org.pentaho.di.ui.core.gui.GUIResource.loadJobEntryImages(GUIResource.java:821) at org.pentaho.di.ui.core.gui.GUIResource.getResources(GUIResource.java:380) at org.pentaho.di.ui.core.gui.GUIResource.<init>(GUIResource.java:313) at org.pentaho.di.ui.core.gui.GUIResource.getInstance(GUIResource.java:330) at org.pentaho.di.ui.core.PropsUI.init(PropsUI.java:124) at org.pentaho.pms.ui.MetaEditor.main(MetaEditor.java:3536) Caused by: java.lang.ClassNotFoundException: ca.uhn.hl7v2.parser.Parser at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 10 more ERROR 08-06 13:56:36,281 - GUIResource - Unable to find required job entry image file [ui/images/mllp-ack.png] for id [HL7MLLPAcknowledge] : org.pentaho.di.core.exception.KettlePluginException: Unexpected error loading class: ca/uhn/hl7v2/parser/Parser java.lang.NoClassDefFoundError: ca/uhn/hl7v2/parser/Parser at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:297) at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:240) at org.pentaho.di.ui.core.gui.GUIResource.loadJobEntryImages(GUIResource.java:821) at org.pentaho.di.ui.core.gui.GUIResource.getResources(GUIResource.java:380) at org.pentaho.di.ui.core.gui.GUIResource.<init>(GUIResource.java:313) at org.pentaho.di.ui.core.gui.GUIResource.getInstance(GUIResource.java:330) at org.pentaho.di.ui.core.PropsUI.init(PropsUI.java:124) at org.pentaho.pms.ui.MetaEditor.main(MetaEditor.java:3536) Caused by: java.lang.ClassNotFoundException: ca.uhn.hl7v2.parser.Parser at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 10 more ERROR 08-06 13:56:36,317 - GUIResource - Unable to find required job entry image file [ui/images/mllp-in.png] for id [HL7MLLPInput] : org.pentaho.di.core.exception.KettlePluginException: Unexpected error loading class: ca/uhn/hl7v2/parser/Parser

    Pentaho BI Platform Tracking | 6 years ago | Golda David
    java.lang.NoClassDefFoundError: ca/uhn/hl7v2/parser/Parser
  3. 0
    samebug tip
    org.apache.http.config.Lookup class is in httpcore-4.3.jar not in httpclient-4.3.1.jar
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    Upgrade play-plugins-redis to play-modules-redis. You may have to delete com.typesafe.plugin.RedisPlugin from play.plugins
  6. 0
    samebug tip
    You might have to readd your libraries if you just upgraded intelliJ. Try readding the netty library to the SDK.
    via GitHub by EBatTiVo

  1. johnxfly 3 times, last 2 weeks ago
  2. jf-ast 1 times, last 1 month ago
  3. jokester 2 times, last 4 months ago
  4. andyglick 1 times, last 4 months ago
  5. rlovtangen 2 times, last 5 months ago
9 more registered users
86 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    ca.uhn.hl7v2.parser.Parser

    at java.net.URLClassLoader$1.run()
  2. Java RT
    Class.forName
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    2. java.security.AccessController.doPrivileged(Native Method)
    3. java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    5. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    6. java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    7. java.lang.Class.forName0(Native Method)
    8. java.lang.Class.forName(Class.java:169)
    8 frames
  3. org.pentaho.di
    PropsUI.init
    1. org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:297)
    2. org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:240)
    3. org.pentaho.di.ui.core.gui.GUIResource.loadJobEntryImages(GUIResource.java:821)
    4. org.pentaho.di.ui.core.gui.GUIResource.getResources(GUIResource.java:380)
    5. org.pentaho.di.ui.core.gui.GUIResource.<init>(GUIResource.java:313)
    6. org.pentaho.di.ui.core.gui.GUIResource.getInstance(GUIResource.java:330)
    7. org.pentaho.di.ui.core.PropsUI.init(PropsUI.java:124)
    7 frames
  4. org.pentaho.pms
    MetaEditor.main
    1. org.pentaho.pms.ui.MetaEditor.main(MetaEditor.java:3536)
    1 frame