title: TypeError: jQuery.atmosphere is undefined packed.js:2261
body: <p>Does someone already had this error : </p>
  
  <p>TypeError: jQuery.atmosphere is undefined packed.js:2261 ?</p>
  
  <p>I didn't find any documentation about this and no way to find a issue.(I added all dependencies needed)</p>
  
  <p>Here is my test.xhtml :</p>
  
  <pre><code>&lt;ui:composition template="/pages/template/template.xhtml"
  xmlns="http://www.w3.org/1999/xhtml"
  xmlns:ui="http://java.sun.com/jsf/facelets"
  xmlns:h="http://java.sun.com/jsf/html"
  xmlns:f="http://java.sun.com/jsf/core"
  xmlns:a4j="http://richfaces.org/a4j"
  xmlns:rich="http://richfaces.org/rich"
  xmlns:c="http://java.sun.com/jsp/jstl/core" 
  xmlns:b="http://richfaces.org/sandbox/bootstrap"
  lang="fr"&gt;
  
  &lt;ui:define name="body"&gt;
    &lt;h:head&gt;
  
      &lt;h:outputScript name="javax.faces:jsf.js" /&gt;
  
      &lt;h:outputScript name="jquery.js" /&gt;
  
  &lt;/h:head&gt;
  &lt;h:form&gt;
      &lt;h:panelGrid columns="4"&gt;
          &lt;h:outputLabel value="Message:" /&gt;
          &lt;h:inputText id="messageInput" styleClass="message" value="#    {richBean.message}"&gt;
          &lt;/h:inputText&gt;
  
          &lt;a4j:commandButton value="Send" action="#{richBean.sendMessage()}"
              execute="@form" render="messageInput" /&gt;
  
          &lt;rich:messages for="messageInput" /&gt;
      &lt;/h:panelGrid&gt;
  
  
  &lt;/h:form&gt;
  
  &lt;h:form&gt;
     &lt;h:panelGrid columns="3"&gt;
          &lt;a4j:push address="pushCdi"
              ondataavailable="jQuery('&amp;lt;li /&amp;gt;').prependTo('#messages').text(event.rf.data)" /&gt;
  
          &lt;ul id="messages" /&gt;
      &lt;/h:panelGrid&gt; 
  
  
  &lt;/h:form&gt;
  
  &lt;/ui:define&gt;
  </code></pre>
  
  <p></p>
  
  <p>My RichBean.java :</p>
  
  <pre><code>import javax.annotation.PostConstruct;
  import javax.enterprise.event.Event;
  import javax.faces.bean.ManagedBean;
  import javax.inject.Inject;
  
  import org.richfaces.application.push.TopicKey;
  import org.richfaces.application.push.TopicsContext;
  import org.richfaces.cdi.push.Push;
  import org.springframework.beans.factory.annotation.Autowired;
  import org.springframework.beans.factory.annotation.Qualifier;
  import org.springframework.context.annotation.Scope;
  import org.springframework.stereotype.Component;
  import org.springframework.stereotype.Service;
  
  import com.ocpsoft.pretty.faces.annotation.URLMapping;
  import com.ocpsoft.pretty.faces.annotation.URLMappings;
  import javax.inject.Named;
  import org.richfaces.application.push.TopicKey;
  import org.richfaces.application.push.TopicsContext;
  import org.richfaces.log.Logger;
  import org.richfaces.log.RichfacesLogger;
  
  @ManagedBean(name = "richBean")
  @Scope(value = "session")
  @URLMappings(mappings = { @URLMapping(id = "rich", pattern = "/test", viewId = "/test.xhtml") })
  @Named
  public class RichBean {
  
      public static final String PUSH_CDI_TOPIC = "pushCdi";
  
      private String message;
  
     @Push(topic = PUSH_CDI_TOPIC)
     @Inject
     Event&lt;String&gt; pushEvent;
  
       public void sendMessage() {
         pushEvent.fire(message);
         message = "";
      }
  
  }
  </code></pre>
  
  <p>And Template.xhtml :</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;f:view xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:c="http://java.sun.com/jsp/jstl/core" lang="fr"&gt;
  
      &lt;ui:remove&gt; 
  
      &lt;/ui:remove&gt;
  
      &lt;html&gt;
          &lt;c:set var="ctx" value="#{facesContext.externalContext.requestContextPath}" scope="request"/&gt;
          &lt;c:set var="myContext" value="#{request.serverName}:#{request.serverPort}#{request.contextPath}" scope="request" /&gt;
  
          &lt;h:head&gt;
  
              &lt;title&gt;#{messages['title']}&lt;ui:insert name="title"&gt;&lt;/ui:insert&gt;&lt;/title&gt;
  
              &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&gt;
              &lt;meta http-equiv="X-UA-Compatible" content="IE=8;IE=7,chrome=1" /&gt;
              &lt;meta name="viewport" content="width=device-width, initial-scale=1.0" /&gt;
              &lt;meta charset="utf-8" /&gt;
  
              &lt;meta http-equiv="Expires" content="0" /&gt;
              &lt;meta http-equiv="Pragma" content="no-cache" /&gt;
              &lt;meta http-equiv="Cache-Control" content="no-cache" /&gt;
              &lt;meta http-equiv="Cache-Control" content="private" /&gt;
              &lt;meta http-equiv="Cache-Control" content="no-store" /&gt;
              &lt;meta http-equiv="Cache-Control" content="max-stale=0" /&gt;
  
              &lt;link rel="shortcut icon" href="${ctx}/favicon.ico" /&gt;
              &lt;link rel="icon" type="image/ico" href="${ctx}/favicon.ico" /&gt;
  
              &lt;!-- CSS --&gt;
  
              &lt;h:outputStylesheet library="css" name="style.css" /&gt;
  
              &lt;link href="${ctx}/resources/css/jquery-ui.css" rel="stylesheet"
                  type="text/css" media="screen" /&gt;
  
              &lt;link href="${ctx}/resources/css/bootstrap.min.css" rel="stylesheet"
                  type="text/css" media="screen" /&gt;
  
              &lt;link href="${ctx}/resources/css/bootstrap-theme.min.css" rel="stylesheet"
                  type="text/css" media="screen" /&gt;
  
              &lt;link href="${ctx}/resources/css/theme.css" rel="stylesheet"
                  type="text/css" media="screen" /&gt;
  
              &lt;link href="${ctx}/resources/css/footer.css" rel="stylesheet"
                  type="text/css" media="screen" /&gt;
  
              &lt;link href="${ctx}/resources/css/bootstrap-datetimepicker.min.css" rel="stylesheet"
                  type="text/css" media="screen" /&gt;
  
              &lt;!-- CSS end --&gt;
  
              &lt;ui:insert name="headAdd" /&gt;
  
              &lt;ui:remove&gt;
                  &lt;!--  Enable usage of html5 with old browsers --&gt;
              &lt;/ui:remove&gt;
  
              &lt;h:outputText value="&amp;lt;!--[if lt IE 9]&amp;gt;" escape="false" /&gt;
              &lt;h:outputScript library="js" name="html5.js" /&gt;
              &lt;h:outputText value="&amp;lt;![endif]--&amp;gt;" escape="false" /&gt;
  
              &lt;ui:remove&gt;
              &lt;/ui:remove&gt;
              &lt;h:outputText value="&amp;lt;!--[if lte IE 7]&amp;gt;" escape="false" /&gt;
              &lt;link rel="stylesheet" type="text/css" href="#{resource['css:styleIE.css']}" /&gt;
              &lt;h:outputText value="&amp;lt;![endif]--&amp;gt;" escape="false" /&gt;
  
          &lt;/h:head&gt;       
          &lt;h:body&gt;
  
              &lt;div id="container" class="wrapper"&gt;
                  &lt;header&gt;
                      &lt;ui:insert name="header"&gt;
                          &lt;ui:include src="parts/header.xhtml" /&gt;
                      &lt;/ui:insert&gt;
                  &lt;/header&gt;
  
                  &lt;ui:insert name="body"&gt;
                      &lt;ui:include src="parts/body.xhtml" /&gt;
                  &lt;/ui:insert&gt;
  
                  &lt;div class="push"&gt;&lt;/div&gt;
              &lt;/div&gt;
              &lt;div style="padding: 0px 15px 0px 15px;"&gt;
                  &lt;div class="footer"&gt;
                      &lt;ui:insert name="footer"&gt;
                          &lt;ui:include src="parts/footer.xhtml" /&gt;
                      &lt;/ui:insert&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
  
              &lt;h:outputScript library="jquery" name="jquery.js" target="head" /&gt;
              &lt;h:outputScript library="jquery" name="jquery-ui.js" target="head" /&gt;
              &lt;h:outputScript library="js" name="bootstrap.min.js" /&gt;
              &lt;h:outputScript library="js" name="moment.min.js" /&gt;
              &lt;h:outputScript library="js" name="bootstrap-datetimepicker.min.js" /&gt;
              &lt;h:outputScript library="js" name="table.js" /&gt;
  
          &lt;rich:jQuery selector=".stable tr:odd" query="addClass('odd-row')" /&gt;
          &lt;rich:jQuery selector=".stable tr:even" query="addClass('even-row')" /&gt;
          &lt;rich:jQuery selector=".stable tr" event="mouseover"
              query="jQuery(this).addClass('active-row')" /&gt;
          &lt;rich:jQuery selector=".stable tr" event="mouseout"
              query="jQuery(this).removeClass('active-row')" /&gt;
          &lt;rich:jQuery selector=".stable tr" event="click"
              query="jQuery('.click-row').removeClass('click-row');jQuery(this).addClass('click-row')" /&gt;
  
          &lt;rich:notifyMessages showDetail="true" globalOnly="true" styleClass="my-alert alert-info" style="margin-top:15px;" stayTime="5000" nonblocking="true" /&gt;
  &lt;/h:body&gt;
      &lt;/html&gt;
  &lt;/f:view&gt;
  </code></pre>
  
  <p>My pom.xml :</p>
  
  <pre><code>    &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt;
          &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
          &lt;artifactId&gt;barApp&lt;/artifactId&gt;
          &lt;packaging&gt;war&lt;/packaging&gt;
          &lt;name&gt;barApp&lt;/name&gt;
  
          &lt;properties&gt;
              &lt;spring.version&gt;3.0.5.RELEASE&lt;/spring.version&gt;
              &lt;richfaces.version&gt;4.3.5.Final&lt;/richfaces.version&gt;
              &lt;hibernate.version&gt;3.6.0.Final&lt;/hibernate.version&gt;
              &lt;cxf.version&gt;2.6.1&lt;/cxf.version&gt;
          &lt;/properties&gt;
  
          &lt;reporting&gt;
              &lt;plugins&gt;
                  &lt;plugin&gt;
                      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                      &lt;artifactId&gt;maven-javadoc-plugin&lt;/artifactId&gt;
                      &lt;version&gt;2.6.1&lt;/version&gt;
                  &lt;/plugin&gt;
              &lt;/plugins&gt;
          &lt;/reporting&gt;
  
          &lt;dependencyManagement&gt;
              &lt;dependencies&gt;
                  &lt;dependency&gt;
                      &lt;groupId&gt;org.richfaces&lt;/groupId&gt;
  &lt;artifactId&gt;richfaces-bom&lt;/artifactId&gt;
  &lt;version&gt;${richfaces.version}&lt;/version&gt;
  &lt;scope&gt;import&lt;/scope&gt;
      &lt;type&gt;pom&lt;/type&gt;
                  &lt;/dependency&gt;
              &lt;/dependencies&gt;
          &lt;/dependencyManagement&gt;
          &lt;version&gt;0.0.1-Snapshot&lt;/version&gt;
          &lt;build&gt;
              &lt;pluginManagement&gt;
                  &lt;plugins&gt;
                      &lt;plugin&gt;
  &lt;artifactId&gt;maven-resources-plugin&lt;/artifactId&gt;
    &lt;version&gt;2.5&lt;/version&gt;
                      &lt;/plugin&gt;
                  &lt;/plugins&gt;
              &lt;/pluginManagement&gt;
              &lt;filters&gt;
                  &lt;filter&gt;src/main/filters/application-${env}.properties&lt;/filter&gt;
              &lt;/filters&gt;
              &lt;resources&gt;
  &lt;resource&gt;
          &lt;directory&gt;src/main/resources&lt;/directory&gt;
                      &lt;filtering&gt;true&lt;/filtering&gt;
                  &lt;/resource&gt;
                  &lt;resource&gt;
                      &lt;directory&gt;src/main/jks&lt;/directory&gt;
                      &lt;filtering&gt;false&lt;/filtering&gt;
                  &lt;/resource&gt;
              &lt;/resources&gt;
              &lt;plugins&gt;
                  &lt;plugin&gt;
                      &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
                      &lt;configuration&gt;
                          &lt;warSourceDirectory&gt;src/main/webapp/&lt;/warSourceDirectory&gt;
                          &lt;archive&gt;
                              &lt;manifest&gt;
                                  &lt;addDefaultImplementationEntries&gt;true&lt;/addDefaultImplementationEntries&gt;
                              &lt;/manifest&gt;
                              &lt;manifestEntries&gt;
                                  &lt;Implementation-Environment&gt;${env}&lt;/Implementation-Environment&gt;
                                  &lt;Implementation-Build&gt;${buildNumber}&lt;/Implementation-Build&gt;
                              &lt;/manifestEntries&gt;
                          &lt;/archive&gt;
                      &lt;/configuration&gt;
                  &lt;/plugin&gt;
                  &lt;plugin&gt;
                      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                      &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                      &lt;configuration&gt;
                          &lt;source&gt;1.6&lt;/source&gt;
                          &lt;target&gt;1.6&lt;/target&gt;
                      &lt;/configuration&gt;
                  &lt;/plugin&gt;
  
              &lt;/plugins&gt;
  
              &lt;finalName&gt;barApp&lt;/finalName&gt;
          &lt;/build&gt;
          &lt;profiles&gt;
              &lt;profile&gt;
                  &lt;id&gt;tc6&lt;/id&gt;
                  &lt;properties&gt;
                      &lt;env&gt;dev&lt;/env&gt;
                  &lt;/properties&gt;
                  &lt;activation&gt;
                      &lt;activeByDefault&gt;true&lt;/activeByDefault&gt;
                  &lt;/activation&gt;
                  &lt;dependencies&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
                          &lt;artifactId&gt;cxf-rt-frontend-jaxws&lt;/artifactId&gt;
                          &lt;version&gt;${cxf.version}&lt;/version&gt;
                      &lt;/dependency&gt;       
                  &lt;/dependencies&gt;
              &lt;/profile&gt;
              &lt;profile&gt;
                  &lt;id&gt;jboss6&lt;/id&gt;
                  &lt;properties&gt;
                      &lt;env&gt;dev&lt;/env&gt;
                  &lt;/properties&gt;
                  &lt;dependencies&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                          &lt;artifactId&gt;spring-tx&lt;/artifactId&gt;
                          &lt;version&gt;${spring.version}&lt;/version&gt;
                          &lt;scope&gt;provided&lt;/scope&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                          &lt;artifactId&gt;spring-beans&lt;/artifactId&gt;
                          &lt;version&gt;${spring.version}&lt;/version&gt;
                          &lt;scope&gt;provided&lt;/scope&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                          &lt;artifactId&gt;spring-context&lt;/artifactId&gt;
                          &lt;version&gt;${spring.version}&lt;/version&gt;
                          &lt;scope&gt;provided&lt;/scope&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                          &lt;artifactId&gt;spring-core&lt;/artifactId&gt;
                          &lt;version&gt;${spring.version}&lt;/version&gt;
                          &lt;scope&gt;provided&lt;/scope&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                          &lt;artifactId&gt;spring-expression&lt;/artifactId&gt;
                          &lt;version&gt;${spring.version}&lt;/version&gt;
                          &lt;scope&gt;provided&lt;/scope&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
                          &lt;artifactId&gt;cxf-rt-transports-http-jetty&lt;/artifactId&gt;
      &lt;version&gt;${cxf.version}&lt;/version&gt;
                          &lt;scope&gt;provided&lt;/scope&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
                          &lt;artifactId&gt;hibernate-core&lt;/artifactId&gt;
                          &lt;version&gt;${hibernate.version}&lt;/version&gt;
  &lt;scope&gt;provided&lt;/scope&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
  &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
  &lt;artifactId&gt;hibernate-entitymanager&lt;/artifactId&gt;
  &lt;version&gt;${hibernate.version}&lt;/version&gt;
  &lt;scope&gt;provided&lt;/scope&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
  &lt;artifactId&gt;hibernate-commons-annotations&lt;/artifactId&gt;
                          &lt;version&gt;3.2.0.Final&lt;/version&gt;
                          &lt;scope&gt;provided&lt;/scope&gt;
   &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
  &lt;artifactId&gt;hibernate-validator&lt;/artifactId&gt;
      &lt;version&gt;4.0.2.GA&lt;/version&gt;
                          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;exclusions&gt;
                              &lt;exclusion&gt;
  &lt;artifactId&gt;stax-api&lt;/artifactId&gt;
     &lt;groupId&gt;javax.xml.stream&lt;/groupId&gt;
                              &lt;/exclusion&gt;
                          &lt;/exclusions&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;cglib&lt;/groupId&gt;
                          &lt;artifactId&gt;cglib-nodep&lt;/artifactId&gt;
                          &lt;version&gt;2.2&lt;/version&gt;
                          &lt;scope&gt;provided&lt;/scope&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;log4j&lt;/groupId&gt;
                          &lt;artifactId&gt;log4j&lt;/artifactId&gt;
                          &lt;version&gt;1.2.12&lt;/version&gt;
                          &lt;!-- &lt;scope&gt;provided&lt;/scope&gt; --&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
                          &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt;
                          &lt;version&gt;1.6.1&lt;/version&gt;
                          &lt;scope&gt;provided&lt;/scope&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
                          &lt;artifactId&gt;slf4j-log4j12&lt;/artifactId&gt;
                          &lt;version&gt;1.6.1&lt;/version&gt;
                          &lt;scope&gt;provided&lt;/scope&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;xalan&lt;/groupId&gt;
                          &lt;artifactId&gt;xalan&lt;/artifactId&gt;
                          &lt;version&gt;2.7.1&lt;/version&gt;
                          &lt;scope&gt;provided&lt;/scope&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;xerces&lt;/groupId&gt;
                          &lt;artifactId&gt;xercesImpl&lt;/artifactId&gt;
                          &lt;version&gt;2.9.1&lt;/version&gt;
                          &lt;scope&gt;provided&lt;/scope&gt;
                      &lt;/dependency&gt;
                      &lt;!-- XML --&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;xml-apis&lt;/groupId&gt;
                          &lt;artifactId&gt;xml-apis&lt;/artifactId&gt;
                          &lt;version&gt;1.3.04&lt;/version&gt;
                          &lt;scope&gt;provided&lt;/scope&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;artifactId&gt;xml-resolver&lt;/artifactId&gt;
                          &lt;groupId&gt;xml-resolver&lt;/groupId&gt;
                          &lt;version&gt;1.2&lt;/version&gt;
                          &lt;scope&gt;provided&lt;/scope&gt;
                      &lt;/dependency&gt;
                  &lt;/dependencies&gt;
              &lt;/profile&gt;
          &lt;/profiles&gt;
  
          &lt;dependencies&gt;
  
              &lt;!-- SPRING --&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-tx&lt;/artifactId&gt;
                  &lt;version&gt;${spring.version}&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-beans&lt;/artifactId&gt;
                  &lt;version&gt;${spring.version}&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-aop&lt;/artifactId&gt;
                  &lt;version&gt;${spring.version}&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-asm&lt;/artifactId&gt;
                  &lt;version&gt;${spring.version}&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-aspects&lt;/artifactId&gt;
                  &lt;version&gt;${spring.version}&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-context&lt;/artifactId&gt;
                  &lt;version&gt;${spring.version}&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-context-support&lt;/artifactId&gt;
                  &lt;version&gt;${spring.version}&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-core&lt;/artifactId&gt;
                  &lt;version&gt;${spring.version}&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-expression&lt;/artifactId&gt;
                  &lt;version&gt;${spring.version}&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-test&lt;/artifactId&gt;
                  &lt;version&gt;${spring.version}&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-webmvc&lt;/artifactId&gt;
                  &lt;version&gt;${spring.version}&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-jdbc&lt;/artifactId&gt;
                  &lt;version&gt;${spring.version}&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-jms&lt;/artifactId&gt;
                  &lt;version&gt;${spring.version}&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-orm&lt;/artifactId&gt;
                  &lt;version&gt;${spring.version}&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-web&lt;/artifactId&gt;
                  &lt;version&gt;${spring.version}&lt;/version&gt;
              &lt;/dependency&gt;
  
              &lt;!-- HIBERNATE --&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
                  &lt;artifactId&gt;hibernate-core&lt;/artifactId&gt;
                  &lt;version&gt;${hibernate.version}&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
                  &lt;artifactId&gt;hibernate-ehcache&lt;/artifactId&gt;
                  &lt;version&gt;${hibernate.version}&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
                  &lt;artifactId&gt;hibernate-entitymanager&lt;/artifactId&gt;
                  &lt;version&gt;${hibernate.version}&lt;/version&gt;
                  &lt;exclusions&gt;
                      &lt;exclusion&gt;
    &lt;artifactId&gt;cglib&lt;/artifactId&gt;
      &lt;groupId&gt;cglib&lt;/groupId&gt;
                      &lt;/exclusion&gt;
                  &lt;/exclusions&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
                  &lt;artifactId&gt;hibernate-c3p0&lt;/artifactId&gt;
                  &lt;version&gt;${hibernate.version}&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
                  &lt;artifactId&gt;hibernate-validator&lt;/artifactId&gt;
                  &lt;version&gt;4.0.2.GA&lt;/version&gt;
                  &lt;exclusions&gt;
                      &lt;exclusion&gt;
                          &lt;artifactId&gt;stax-api&lt;/artifactId&gt;
                          &lt;groupId&gt;javax.xml.stream&lt;/groupId&gt;
                      &lt;/exclusion&gt;
                  &lt;/exclusions&gt;
              &lt;/dependency&gt;
  
              &lt;!-- JSF --&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;com.sun.faces&lt;/groupId&gt;
                  &lt;artifactId&gt;jsf-api&lt;/artifactId&gt;
                  &lt;version&gt;2.1.0-b09&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;com.sun.faces&lt;/groupId&gt;
                  &lt;artifactId&gt;jsf-impl&lt;/artifactId&gt;
                  &lt;version&gt;2.1.0-b09&lt;/version&gt;
              &lt;/dependency&gt;
  
              &lt;!-- RICHFACES --&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.richfaces.core&lt;/groupId&gt;
                  &lt;artifactId&gt;richfaces-core-impl&lt;/artifactId&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.richfaces.ui&lt;/groupId&gt;
                  &lt;artifactId&gt;richfaces-components-ui&lt;/artifactId&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;commons-beanutils&lt;/groupId&gt;
                  &lt;artifactId&gt;commons-beanutils&lt;/artifactId&gt;
                  &lt;version&gt;1.8.0&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;commons-httpclient&lt;/groupId&gt;
                  &lt;artifactId&gt;commons-httpclient&lt;/artifactId&gt;
                  &lt;version&gt;3.1&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;javax.servlet.jsp&lt;/groupId&gt;
                  &lt;artifactId&gt;jsp-api&lt;/artifactId&gt;
                  &lt;version&gt;2.2&lt;/version&gt;
                  &lt;scope&gt;provided&lt;/scope&gt;
              &lt;/dependency&gt;
  
              &lt;dependency&gt;
                  &lt;groupId&gt;javax.enterprise&lt;/groupId&gt;
              &lt;artifactId&gt;cdi-api&lt;/artifactId&gt;
                  &lt;version&gt;1.1&lt;/version&gt;
              &lt;/dependency&gt;
      &lt;dependency&gt;
            &lt;groupId&gt;org.atmosphere&lt;/groupId&gt;
            &lt;artifactId&gt;atmosphere-jquery&lt;/artifactId&gt;
            &lt;version&gt;1.0.2&lt;/version&gt;
            &lt;type&gt;war&lt;/type&gt;
          &lt;/dependency&gt;
  
          &lt;/dependencies&gt;
      &lt;/project&gt;
  </code></pre>
  
  <p>HTML Generated :</p>
  
  <pre><code>    &lt;!DOCTYPE html&gt;
          &lt;html&gt;&lt;head&gt;
  
                  &lt;title&gt;ITcketing&lt;/title&gt;
  
                  &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&gt;
                  &lt;meta http-equiv="X-UA-Compatible" content="IE=8;IE=7,chrome=1" /&gt;
                  &lt;meta name="viewport" content="width=device-width, initial-scale=1.0" /&gt;
                  &lt;meta charset="utf-8" /&gt;
  
                  &lt;meta http-equiv="Expires" content="0" /&gt;
                  &lt;meta http-equiv="Pragma" content="no-cache" /&gt;
                  &lt;meta http-equiv="Cache-Control" content="no-cache" /&gt;
                  &lt;meta http-equiv="Cache-Control" content="private" /&gt;
                  &lt;meta http-equiv="Cache-Control" content="no-store" /&gt;
                  &lt;meta http-equiv="Cache-Control" content="max-stale=0" /&gt;
  
  
                  &lt;link href="/barApp/resources/css/jquery-ui.css" rel="stylesheet" type="text/css" media="screen" /&gt;
  
                  &lt;link href="/barApp/resources/css/bootstrap.min.css" rel="stylesheet" type="text/css" media="screen" /&gt;
                  &lt;link href="/barApp/resources/css/footer.css" rel="stylesheet" type="text/css" media="screen" /&gt;
                  &lt;link rel="stylesheet" type="text/css" href="/barApp/javax.faces.resource/styleIE.css.xhtml?ln=css" /&gt;&lt;![endif]--&gt;&lt;link type="text/css" rel="stylesheet" href="/barApp/javax.faces.resource/style.css.xhtml?ln=css" /&gt;&lt;script type="text/javascript" src="/barApp/javax.faces.resource/jsf.js.xhtml?ln=javax.faces"&gt;&lt;/script&gt;&lt;script type="text/javascript" src="/barApp/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/4.3.5.Final/PackedCompressed/jquery.js"&gt;&lt;/script&gt;&lt;script type="text/javascript" src="/barApp/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/4.3.5.Final/PackedCompressed/packed/packed.js"&gt;&lt;/script&gt;&lt;link type="text/css" rel="stylesheet" href="/barApp/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/4.3.5.Final/PackedCompressed/plain/packed/packed.css" /&gt;&lt;script type="text/javascript" src="/barApp/javax.faces.resource/jquery.js.xhtml?ln=jquery"&gt;&lt;/script&gt;&lt;script type="text/javascript" src="/barApp/javax.faces.resource/jquery-ui.js.xhtml?ln=jquery"&gt;&lt;/script&gt;&lt;/head&gt;&lt;body&gt;
  
                  &lt;div id="container" class="wrapper"&gt;
                      &lt;header&gt;
  
          &lt;table class="hidden-sm hidden-xs" width="100%" style="margin-top:-20px;"&gt;
              &lt;tr&gt;
                  &lt;td width="33%"&gt;&lt;img src="/barApp/resources/css/images/logo.png" height="100px" /&gt;
                  &lt;/td&gt;
                  &lt;td valign="middle"&gt;
  
                          &lt;h1 style="color: #003561;"&gt;ITcketing&lt;/h1&gt;
  
                  &lt;/td&gt;
              &lt;/tr&gt;
          &lt;/table&gt;
                      &lt;/header&gt;&lt;head&gt;&lt;script type="text/javascript" src="RES_NOT_FOUND"&gt;&lt;/script&gt;&lt;/head&gt;
      &lt;form id="j_idt25" name="j_idt25" method="post" action="/barApp/test" enctype="application/x-www-form-urlencoded"&gt;
  &lt;input type="hidden" name="j_idt25" value="j_idt25" /&gt;
  &lt;table&gt;
  &lt;tbody&gt;
  &lt;tr&gt;
  &lt;td&gt;&lt;label&gt;
  Message:&lt;/label&gt;&lt;/td&gt;
   &lt;td&gt;&lt;input id="j_idt25:messageInput" type="text" name="j_idt25:messageInput" value="32" class="message" /&gt;&lt;/td&gt;
  &lt;td&gt;&lt;input id="j_idt25:j_idt28" name="j_idt25:j_idt28" onclick="RichFaces.ajax(&amp;quot;j_idt25:j_idt28&amp;quot;,event,{&amp;quot;incId&amp;quot;:&amp;quot;1&amp;quot;} );return false;" value="Send" type="submit" /&gt;&lt;/td&gt;
      &lt;td&gt;&lt;span class="rf-msgs " id="j_idt25:j_idt29"&gt;&lt;/span&gt;&lt;/td&gt;
      &lt;/tr&gt;
      &lt;/tbody&gt;
      &lt;/table&gt;
      &lt;input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="-2268432026713773464:4752734078205348919" autocomplete="off" /&gt;
      &lt;/form&gt;
      &lt;form id="j_idt30" name="j_idt30" method="post" action="/barApp/test" enctype="application/x-www-form-urlencoded"&gt;
      &lt;input type="hidden" name="j_idt30" value="j_idt30" /&gt;
      &lt;span id="j_idt30:pushJms"&gt;&lt;script type="text/javascript"&gt;RichFaces.Push.setPushResourceUrl("/barApp/rfRes/org.richfaces.resource.PushResource.xhtml");new RichFaces.ui.Push("j_idt30:pushJms",{"address":"pushTopicsContext","ondataavailable":function(event){RichFaces.ajax(this,event,{"parameters":{"javax.faces.behavior.event":"dataavailable","org.richfaces.ajax.component":"j_idt30:pushJms"} ,"sourceId":this} )}} );&lt;/script&gt;&lt;/span&gt;&lt;table&gt;
      &lt;tbody&gt;
      &lt;tr&gt;
      &lt;td&gt;&lt;label&gt;
      New UUID:&lt;/label&gt;&lt;/td&gt;
      &lt;td&gt;&lt;div id="j_idt30:uuid"&gt;  
  &lt;/div&gt;&lt;/td&gt;
      &lt;/tr&gt;
      &lt;/tbody&gt;
      &lt;/table&gt;
      &lt;input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="-2268432026713773464:4752734078205348919" autocomplete="off" /&gt;
      &lt;/form&gt;
  &lt;div class="push"&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div style="padding: 0px 15px 0px 15px;"&gt;
  &lt;div class="footer"&gt;
  &lt;footer class="bs-docs-footer" role="contentinfo"&gt;
  &lt;div class="container"&gt;&lt;img src="/barApp/resources/css/images/logo.png" height="80px" /&gt;    
  &lt;/div&gt;
  &lt;/footer&gt;
  &lt;/div&gt;
  &lt;/div&gt;&lt;script type="text/javascript" src="/barApp/javax.faces.resource/bootstrap.min.js.xhtml?ln=js"&gt;&lt;/script&gt;&lt;script type="text/javascript" src="/barApp/javax.faces.resource/moment.min.js.xhtml?ln=js"&gt;&lt;/script&gt;&lt;script type="text/javascript" src="/barApp/javax.faces.resource/bootstrap-datetimepicker.min.js.xhtml?ln=js"&gt;&lt;/script&gt;&lt;script type="text/javascript" src="/barApp/javax.faces.resource/table.js.xhtml?ln=js"&gt;&lt;/script&gt;&lt;script type="text/javascript" src="RES_NOT_FOUND"&gt;&lt;/script&gt;&lt;span id="j_idt46" style="display: none;"&gt;&lt;script type="text/javascript"&gt;RichFaces.jQuery.query({"selector":".stable tr:odd","query":"addClass('odd\u002Drow')"} );&lt;/script&gt;&lt;/span&gt;&lt;span id="j_idt47" style="display: none;"&gt;&lt;script type="text/javascript"&gt;RichFaces.jQuery.query({"selector":".stable tr:even","query":"addClass('even\u002Drow')"} );&lt;/script&gt;&lt;/span&gt;&lt;span id="j_idt48" style="display: none;"&gt;&lt;script type="text/javascript"&gt;RichFaces.jQuery.query({"selector":".stable tr","event":"mouseover","query":"jQuery(this).addClass('active\u002Drow')"} );&lt;/script&gt;&lt;/span&gt;&lt;span id="j_idt49" style="display: none;"&gt;&lt;script type="text/javascript"&gt;RichFaces.jQuery.query({"selector":".stable tr","event":"mouseout","query":"jQuery(this).removeClass('active\u002Drow')"} );&lt;/script&gt;&lt;/span&gt;&lt;span id="j_idt50" style="display: none;"&gt;&lt;script type="text/javascript"&gt;RichFaces.jQuery.query({"selector":".stable tr","event":"click","query":"jQuery('.click\u002Drow').removeClass('click\u002Drow');jQuery(this).addClass('click\u002Drow')"} );&lt;/script&gt;&lt;/span&gt;&lt;span class="rf-ntf-msgs my-alert alert-info" id="j_idt51" style="margin-top:15px;"&gt;&lt;/span&gt;&lt;script type="text/javascript"&gt;$(document).ready(function() {
      new RichFaces.ui.Message("j_idt25:j_idt29",{"forComponentId":"j_idt25:messageInput","isMessages":true} )
      new RichFaces.ui.NotifyMessage("j_idt51",{"showDetail":true,"globalOnly":true,"isMessages":true} ,{"nonblocking":true,"stayTime":5000,"styleClass":"my\u002Dalert alert\u002Dinfo"} )
      });
      &lt;/script&gt;&lt;/body&gt;
          &lt;/html&gt;
  </code></pre>
  
  <p>Thanks</p>