Issue #46 new

Springockito fails to compile with Mockito 1.9.5

Thibault Kruse
created an issue

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'profileController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: ... ...; nested exception is java.lang.NoClassDefFoundError: org/mockito/internal/MockitoInvocationHandler

Comments (1)

  1. d_serdiuk
    • This is a runtime exception, not a compilation problem
    • It's also the case with Mockito 1.10.5
    • The issue is not present in springockito 1.0.8
  2. Log in to comment