我仍在尝试让 JavaFX-samples-2.2.25 DataApp 为我工作。我按照它的指示从头开始,没有改变/添加任何东西。我收到以下 glassfish 服务器错误:
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)
我需要做任何额外的配置或安装吗?
编辑:
glassfish 与 NetBeans 3.7.1 IDE 一起安装。