Create a new mixin in sling
问题 I am having trouble create a new custom type to the jackrabbit in apache sling using the below code. This worked fine straight on Jackrabbit but not on Apache Sling. Am I doing this correctly for sling? Thanks The following code gives me a "javax.jcr.InvalidItemStateException: Conflict". I am using a standalone sling and am the only user so there is definitely no conflict. Repository repository = JcrUtils.getRepository("http://localhost:8080/server"); Session session = repository.login(new