1 Reply Latest reply on Dec 27, 2011 10:08 AM by Shams Mali

    NoClassDefFoundError: javax/xml/bind/JAXB

    motaz emad Newbie

      I am getting start with Richfaces 4

       

      So I followed the steps at http://community.jboss.org/docs/DOC-16484

       

       

      But I always have that Error

       

      SEVERE: Exception sending context initialized event to listener instance of class org.apache.myfaces.webapp.StartupServletContextListener

      java.lang.NoClassDefFoundError: javax/xml/bind/JAXB

                at org.richfaces.javascript.ClientServiceConfigParser.parse(ClientServiceConfigParser.java:59)

       

      and that

       

      SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener

      java.lang.NoClassDefFoundError: javax/xml/bind/JAXB

                at org.richfaces.javascript.ClientServiceConfigParser.parse(ClientServiceConfigParser.java:59)

       

      when running web app on tomcat 7

      and I do not know what to do ??

       

      I am using eclipse, tomcat 7, jsf 2 and Richfaces 4