Closed gruberrolandvaltech closed 4 years ago
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.805 s <<< FAILURE! - in de.valtech.aecu.core.groovy.console.bindings.filters.FilterByHasPropertyTest [ERROR] de.valtech.aecu.core.groovy.console.bindings.filters.FilterByHasPropertyTest Time elapsed: 0.803 s <<< ERROR! org.mockito.exceptions.base.MockitoException:
Mockito cannot mock this class: interface org.apache.sling.api.resource.Resource.
Mockito can only mock non-private & non-final classes. If you're not sure why you're getting this error, please report to the mailing list.
Java : 11 JVM vendor name : Oracle Corporation JVM vendor version : 11.0.4+10-LTS JVM name : Java HotSpot(TM) 64-Bit Server VM JVM version : 11.0.4+10-LTS JVM info : mixed mode OS name : Mac OS X OS version : 10.15.3
Underlying exception : java.lang.UnsupportedOperationException: Cannot define class using reflection Caused by: java.lang.UnsupportedOperationException: Cannot define class using reflection Caused by: java.lang.IllegalArgumentException: Unknown Java version: 11
Tests are failing.