junit.framework.ComparisonFailure

expected:<foo bar> but was:<Uncaught exception in main:java.lang.NoClassDefFoundError: FooPropertyPrinterCaused by: java.lang.ClassNotFoundException: FooPropertyPrinter at java.net.URLClassLoader.findClass(URLClassLoader.java:894) at java.lang.ClassLoader.loadClass(ClassLoader.java:575) at java.lang.ClassLoader$SystemClassLoader.loadClass(ClassLoader.java:963) at java.lang.ClassLoader.loadClass(ClassLoader.java:319)FAILED to invoke JVM.>

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web812

  • via harmony-alerts by nomail@intel.com, 11 months ago
    expected:<foo bar> but was:<Uncaught exception in main:java.lang.NoClassDefFoundError: FooPropertyPrinterCaused by: java.lang.ClassNotFoundException: FooPropertyPrinter at java.net.URLClassLoader.findClass(URLClassLoader.java:894) at
  • via apache.org by Unknown author, 1 year ago
    expected:<foo bar> but was:<Uncaught exception in main:java.lang.NoClassDefFoundError: FooPropertyPrinterCaused by: java.lang.ClassNotFoundException: FooPropertyPrinter at java.net.URLClassLoader.findClass(URLClassLoader.java:894) at
  • expected:<...k...> but was:<......>
  • Stack trace

    • junit.framework.ComparisonFailure: expected:<foo bar> but was:<Uncaught exception in main:java.lang.NoClassDefFoundError: FooPropertyPrinterCaused by: java.lang.ClassNotFoundException: FooPropertyPrinter at java.net.URLClassLoader.findClass(URLClassLoader.java:894) at java.lang.ClassLoader.loadClass(ClassLoader.java:575) at java.lang.ClassLoader$SystemClassLoader.loadClass(ClassLoader.java:963) at java.lang.ClassLoader.loadClass(ClassLoader.java:319)FAILED to invoke JVM.> at org.eclipse.jdt.debug.tests.core.ArgumentTests.testOutput(ArgumentTests.java:339) at org.eclipse.jdt.debug.tests.core.ArgumentTests.testWithVMArg(ArgumentTests.java:276) at org.eclipse.jdt.debug.tests.core.ArgumentTests.testVMArgWorkaroundQuotes(ArgumentTests.java:160) at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java) at org.eclipse.jdt.debug.tests.DebugSuite$1.run(DebugSuite.java:53) at java.lang.Thread.run(Thread.java:662)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.