2 Replies Latest reply on Jun 9, 2009 8:04 AM by Diego Manilla Suárez

    Problems with scoped class loading

    Diego Manilla Suárez Newbie

      Hi everyone. I have an app that uses a few Hibernate 3 jars. I'm trying to deploy it to a JBoss EAP 4.3, whose default AS instance has already Hibernate 3 JARs on its lib dir.

      When I start the server, I get a NoSuchMethodException on org.hibernate.validator.ClassValidator class. I created a jboss-app.xml file inside the META-INF directory of my EAR deployment, with these contents:


      It didn't work. I also tryed setting java2ParentDelegaton to true with no luck.

      If I remove the Hibernate 3 JARs from the server/lib directory, then my app starts fine. What am I doing wrong?

      Thanks in advance