javapathfinder / jpf-core

JPF is an extensible software analysis framework for Java bytecode. jpf-core is the basis for all JPF projects; you always need to install it. It contains the basic VM and model checking infrastructure, and can be used to check for concurrency defects like deadlocks, and unhandled exceptions like NullPointerExceptions and AssertionErrors.
517 stars 326 forks source link

Class not found: com.google.common.util.concurrent.ThreadFactoryBuilder #434

Open natasha-jeppu opened 4 months ago

natasha-jeppu commented 4 months ago

Hi,

I am running JPF on a concurrent implementation that uses ThreadFactoryBuilder. I get the following error while running:

gov.nasa.jpf.vm.NoUncaughtExceptionsProperty
java.lang.ClassNotFoundException: class not found: com.google.common.util.concurrent.ThreadFactoryBuilder

However, simply running main for this implementation works fine without any errors. Is this because the JPF vm does not recognise this class?

I am using openjdk version "1.8.0_292" and JavaPathfinder core system v8.0.

cyrille-artho commented 4 months ago

Hi, Without any details, it is difficult to see what goes wrong. Most likely, you have not configured your classpath correctly, so the library you're using is not found. What do you mean by "simply running main"?