Error executing class using .jar files

0

I am trying to execute a class that uses .jar files, I already added them to the eclipse build path and it recognizes them, since I do not get an error in the instance, but when I try to run the application it gives me this error:

  

Check that you have the com.ibm.mq.pcf.jar in your classpath along   with any other jar files that may be needed. [Root exception is   java.lang.NoClassDefFoundError: com / ibm / disthub2 / spi / ClientTranslate]

I've already made sure the com.ibm.mq.pcf.jar file is there. I understand that maybe it could be the MANIFEST file of the jar.

Someone who can help me with this doubt? Greetings.

    
asked by jgarcia 17.08.2017 в 02:10
source

1 answer

0

The error tells you the problem, the class com.ibm.disthub2.spi.ClientTranslate.

Add the dhbcore.jar library

    
answered by 17.08.2017 / 08:35
source