0 Replies Latest reply on Jun 10, 2016 4:48 PM by lipeve

    Exception  Caused by: org.jboss.modules.ModuleNotFoundException: org.modeshape.connector.filesystem: main

    lipeve

      Hi, I need your help with this exception

       

           Caused by: org.jboss.modules.ModuleNotFoundException: org.modeshape.connector.filesystem: main

       

      I am using modeshape 3.8.1 on jboss eap 6.2, in the standalone.xml file I have a federated repository to a file system, I also use the class PicketBoxSecurityProvider and modeshape kit on the server (also I use maven) I added the file jboss-deployment-structure.xml so there is no conflict of jars.

       

       

      When I deploy my web application and I get the repository from my class

       

       

      InitCtx = new InitialContext ();

      repo = (org.modeshape.jcr.JcrRepository) initCtx.lookup ("jcr / federated-repository");

      SecurityFactory.prepare ();

      verifyAuthenticationAndAuthorization (repo, "admin", "admin", true, true);

       

       

      When it reaches the method verifyAuthenticationAndAuthorization throws the exception:

       

      Caused by: org.jboss.modules.ModuleNotFoundException: org.modeshape.connector.filesystem: main

       

       

      I hope I've explained.