0 Replies Latest reply: Jun 25, 2013 9:17 AM by 1009156 RSS

    JavaFX-samples-2.2.25 cannot run

    1009156

      I am trying to make JavaFX-samples-2.2.25 DataApp work for me. I started from scratch by follow its instruction and didn't change/add anything. I got the following glassfish server error:


      INFO:  EJB5181:Portable JNDI names for EJB CumulativeLiveSalesFacadeREST: [java:global/DataAppServer/CumulativeLiveSalesFacadeREST, java:global/DataAppServer/CumulativeLiveSalesFacadeREST!com.javafx.experiments.dataapp.server.service.CumulativeLiveSalesFacadeREST]
      INFO
      :  EJB5181:Portable JNDI names for EJB RegionFacadeREST: [java:global/DataAppServer/RegionFacadeREST!com.javafx.experiments.dataapp.server.service.RegionFacadeREST, java:global/DataAppServer/RegionFacadeREST]
      INFO
      :  EJB5181:Portable JNDI names for EJB LiveSalesListFacadeREST: [java:global/DataAppServer/LiveSalesListFacadeREST!com.javafx.experiments.dataapp.server.service.LiveSalesListFacadeREST, java:global/DataAppServer/LiveSalesListFacadeREST]
      INFO
      :  WELD-000900 2.0.0 (SP1)
      WARNING
      :   Class 'javax.ejb.PostActivate' not found, interception based on it is not enabled
      WARNING
      :   Class 'javax.ejb.PrePassivate' not found, interception based on it is not enabled
      INFO
      :   WebModule[null] ServletContext.log():Marking servlet ServletAdaptor as unavailable
      SEVERE
      :   WebModule[/DataAppServer]Error loading WebappClassLoader (delegate=true; repositories=WEB-INF/classes/) com.sun.jersey.spi.container.servlet.ServletContainer
      java
      .lang.ClassNotFoundException: com.sun.jersey.spi.container.servlet.ServletContainer
        at org
      .glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1761)
        at org
      .glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1611)
        at org
      .apache.catalina.core.StandardWrapper.loadServletClass(StandardWrapper.java:1533)
        at org
      .apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1399)
        at org
      .apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1381)
        at org
      .apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5670)
        at org
      .apache.catalina.core.StandardContext.start(StandardContext.java:5912)
        at com
      .sun.enterprise.web.WebModule.start(WebModule.java:691)



      I am using Windows7, JDK is latest 1.7.0.25. My NetBeans is 3.7.1. The glassfish comes with NetBeans.  I cannot find the complained class in all jersey jar files in glassfish v4. Anybody can help me?