6 Replies Latest reply on Nov 26, 2008 9:56 AM by Olivier Thierry

    Could not create Component: org.jboss.seam.core.validators

    Michael Angelo Newbie

      I am using JBoss Tools just to create a basic CRUD against a mySQL database with just a few tables. I am trying to deploy against Tomcat 6.x as a WAR only. I have checked all of my JAR dependencies and they are all correct. I see this exception when Tomcat starts. It says it cannon create the seam validators and then below it says it can't find the Hibernate Validator Class Validator.



      java.lang.RuntimeException: Could not create Component: org.jboss.seam.core.validators
              at org.jboss.seam.init.Initialization.addComponent(Initialization.java:989)
              at org.jboss.seam.init.Initialization.installComponents(Initialization.java:911)
              at org.jboss.seam.init.Initialization.init(Initialization.java:589)
              at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
              at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
              at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
              at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
              at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
              at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
              at org.apache.catalina.core.StandardService.start(StandardService.java:516)
              at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
              at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.lang.reflect.Method.invoke(Unknown Source)
              at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
              at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      Caused by: java.lang.NoClassDefFoundError: org/hibernate/validator/ClassValidator
              at java.lang.Class.getDeclaredMethods0(Native Method)
              at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
              at java.lang.Class.privateGetPublicMethods(Unknown Source)
              at java.lang.Class.getMethods(Unknown Source)
              at org.jboss.seam.Component.hasAnnotation(Component.java:1070)
              at org.jboss.seam.Component.<init>(Component.java:229)
              at org.jboss.seam.Component.<init>(Component.java:217)
              at org.jboss.seam.init.Initialization.addComponent(Initialization.java:974)
              ... 18 more
      Caused by: java.lang.ClassNotFoundException: org.hibernate.validator.ClassValidator
              at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
              at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
              at java.lang.ClassLoader.loadClassInternal(Unknown Source)
              ... 26 more