java.lang.NoClassDefFoundError

org/jmock/internal/SearchingClassLoader

Solutions on the web19248

  • via Google Groups by Akshat Jain, 6 months ago
    org/mockito/internal/creation/jmock/ClassImposterizer$3
  • org/mockito/internal/creation/jmock/ClassImposterizer
  • Stack trace

    • java.lang.NoClassDefFoundError: org/jmock/internal/SearchingClassLoader at org.jmock.lib.legacy.ClassImposteriser.createProxyClass(ClassImposteriser.java:60) at org.jmock.lib.legacy.ClassImposteriser.imposterise(ClassImposteriser.java:54) at org.jmock.Mockery.mock(Mockery.java:122) at org.jmock.Mockery.mock(Mockery.java:109) at com.reflexsecurity.common.utils.io.LoggingOutputStreamTest.setUp(LoggingOutputStreamTest.java:25) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    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

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 2 years ago