Create the Java Project as per the structure given below:
package com.iiq;
import sailpoint.api.SailPointContext;
import sailpoint.api.SailPointFactory;
import sailpoint.object.Identity;
import sailpoint.spring.SpringStarter;
import sailpoint.tools.GeneralException;
public class Main {
public static SailPointContext context;
public static void main(String[] args) throws GeneralException {
SpringStarter starter = new SpringStarter("iiqBeans");
starter.start();
SailPointContext context = SailPointFactory.createContext();
Identity identity = context.getObject(Identity.class, "spadmin");
String displayName=identity.getDisplayName();
System.out.println("Identity Details " + identity.getFirstname() + identity.getLastname());
starter.close();
}
}
I am getting this error, please help
Error occurred during initialization of boot layer
java.lang.module.FindException: Module format not recognized: <CODE_PATH>\eclipse-workspace\SailpointIIQTests\resources\sailpoint.objects\AlertExtended.hbm.xml