0

I am trying to run a Java application on Linux that uses Tibco RV but I constantly get the following error logged:

ERROR: Uncaught exception
java.lang.NoClassDefFoundError: com/tibco/tibrv/TibrvException
        at com.bet.blues.as.MessagingServer.loadRVTransports(MessagingServer.java:681)
        at com.bet.blues.as.MessagingServer.main(MessagingServer.java:382)
Caused by: java.lang.ClassNotFoundException: com.tibco.tibrv.TibrvException

I verified my environment variables and they are set correctly: my CLASSPATH contains: /opt/tibco/tibrv/8.2/lib and my PATH: /opt/tibco/tibrv/8.2/bin. At both location I have the tibrvj.jar with permissions to read, write and execute. Did I miss something when setting up the paths? How can I get rid of this exception?

kinga93
  • 33
  • 6

1 Answers1

-1

Your question has already been answered here, if I'm not mistaken: Why am I getting a NoClassDefFoundError in Java?

This is caused when there is a class file that your code depends on and it is present at compile time but not found at runtime. Look for differences in your build time and runtime classpaths.

Community
  • 1
  • 1
Maslor
  • 1,540
  • 2
  • 18
  • 43