Skip to content

MockitoException during Maven install #73

@timbrigham-oc

Description

@timbrigham-oc

Minor issue.. when installing with Maven I'm getting an error from Mockito with recent versions of Java.

Underlying exception : org.mockito.exceptions.base.MockitoException: 
Could not modify all classes [interface sailpoint.tools.xml.PersistentXmlObject, class sailpoint.tools.xml.AbstractXmlObject, 
class java.lang.Object, class sailpoint.object.SailPointObject, class sailpoint.object.Application, interface sailpoint.tools.xml.XMLReferenceTarget,
interface java.io.Serializable]
....
Caused by: java.lang.IllegalStateException:
Byte Buddy could not instrument all classes within the mock's type hierarchy
...
Caused by: java.lang.IllegalArgumentException: Java 24 (68) is not supported by the current version of Byte Buddy which 
officially supports Java 21 (65) - update Byte Buddy or set net.bytebuddy.experimental as a VM property

I updated pom.xml to the current release, 1.17.6

Probably a good idea to get that tested and done officially for the project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions