- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
这些是我的 pom.xml 中的依赖项:
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-api</artifactId>
<version>2.1.19</version>
</dependency>
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-impl</artifactId>
<version>2.1.19</version>
</dependency>
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
<version>6.0</version>
</dependency>
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-api</artifactId>
<version>2.2.0</version>
</dependency>
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-impl</artifactId>
<version>2.2.0</version>
</dependency>
Jul 5, 2013 12:00:50 AM com.sun.enterprise.admin.launcher.GFLauncherLogger info
INFO: JVM invocation command line:
-XX:+UnlockDiagnosticVMOptions
-XX:PermSize=64m
-XX:MaxPermSize=192m
-XX:NewRatio=2
-Xmx512m
-client
-javaagent:C:/glassfish3/glassfish/lib/monitor/flashlight-agent.jar
-Dosgi.shell.telnet.maxconn=1
-Dfelix.fileinstall.disableConfigSave=false
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Dfelix.fileinstall.dir=C:\glassfish3\glassfish/modules/autostart/
-Djavax.net.ssl.keyStore=C:\glassfish3\glassfish\domains\domain1/config/keystore.jks
-Dosgi.shell.telnet.port=6666
-Djava.security.policy=C:\glassfish3\glassfish\domains\domain1/config/server.policy
-Djava.awt.headless=true
-Dfelix.fileinstall.log.level=2
-Dfelix.fileinstall.poll=5000
-Dcom.sun.aas.instanceRoot=C:\glassfish3\glassfish\domains\domain1
-Dosgi.shell.telnet.ip=127.0.0.1
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Djava.endorsed.dirs=C:\glassfish3\glassfish/modules/endorsed;C:\glassfish3\glassfish/lib/endorsed
-Dcom.sun.aas.installRoot=C:\glassfish3\glassfish
-Dfelix.fileinstall.bundles.startTransient=true
-Djava.ext.dirs=C:\Program Files\Java\jdk1.6.0_43/lib/ext;C:\Program Files\Java\jdk1.6.0_43/jre/lib/ext;C:\glassfish3\glassfish\domains\domain1/lib/ext
-Dfelix.fileinstall.bundles.new.start=true
-Djavax.net.ssl.trustStore=C:\glassfish3\glassfish\domains\domain1/config/cacerts.jks
-Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as
-Djava.security.auth.login.config=C:\glassfish3\glassfish\domains\domain1/config/login.conf
-DANTLR_USE_DIRECT_CLASS_LOADING=true
-Dgosh.args=--nointeractive
Jul 5, 2013 12:00:50 AM com.sun.enterprise.admin.launcher.GFLauncherLogger info
INFO: Successfully launched in 3 msec.
[#|2013-07-05T00:00:52.216+0300|INFO|glassfish3.1.2|com.sun.enterprise.server.logging.GFFileHandler|_ThreadID=1;_ThreadName=Thread-2;|Running GlassFish Version: GlassFish Server Open Source Edition 3.1.2.2 (build 5)|#]
[#|2013-07-05T00:00:52.287+0300|INFO|glassfish3.1.2|org.glassfish.ha.store.spi.BackingStoreFactoryRegistry|_ThreadID=10;_ThreadName=Thread-2;|Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry|#]
[#|2013-07-05T00:00:52.497+0300|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=11;_ThreadName=Thread-2;|Grizzly Framework 1.9.50 started in: 6ms - bound to [0.0.0.0:3700]|#]
[#|2013-07-05T00:00:52.497+0300|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=14;_ThreadName=Thread-2;|Grizzly Framework 1.9.50 started in: 36ms - bound to [0.0.0.0:8080]|#]
[#|2013-07-05T00:00:52.497+0300|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=13;_ThreadName=Thread-2;|Grizzly Framework 1.9.50 started in: 13ms - bound to [0.0.0.0:4848]|#]
[#|2013-07-05T00:00:52.497+0300|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=12;_ThreadName=Thread-2;|Grizzly Framework 1.9.50 started in: 19ms - bound to [0.0.0.0:8181]|#]
[#|2013-07-05T00:00:52.500+0300|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=15;_ThreadName=Thread-2;|Grizzly Framework 1.9.50 started in: 2ms - bound to [0.0.0.0:7676]|#]
[#|2013-07-05T00:00:52.589+0300|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.admin.adapter|_ThreadID=10;_ThreadName=Thread-2;|The Admin Console is already installed, but not yet loaded.|#]
[#|2013-07-05T00:00:52.796+0300|SEVERE|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=10;_ThreadName=Thread-2;|CORE10012: Application previously deployed is not at its original location any more: file:/D:/MyDev/6june/target/6june/|#]
[#|2013-07-05T00:00:52.800+0300|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=10;_ThreadName=Thread-2;|GlassFish Server Open Source Edition 3.1.2.2 (5) startup time : Felix (1,414ms), startup services(794ms), total(2,208ms)|#]
[#|2013-07-05T00:00:53.411+0300|INFO|glassfish3.1.2|javax.enterprise.system.jmx.org.glassfish.admin.mbeanserver|_ThreadID=16;_ThreadName=Thread-2;|JMX005: JMXStartupService had Started JMXConnector on JMXService URL service:jmx:rmi://192.168.1.3:8686/jndi/rmi://192.168.1.3:8686/jmxrmi|#]
[#|2013-07-05T00:00:53.676+0300|INFO|glassfish3.1.2|org.hibernate.validator.internal.util.Version|_ThreadID=17;_ThreadName=Thread-2;|HV000001: Hibernate Validator 4.3.0.Final|#]
[#|2013-07-05T00:00:55.184+0300|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=17;_ThreadName=Thread-2;|Created EjbThreadPoolExecutor with thread-core-pool-size 16 thread-max-pool-size 32 thread-keep-alive-seconds 60 thread-queue-capacity 2147483647 allow-core-thread-timeout false |#]
[#|2013-07-05T00:00:55.206+0300|INFO|glassfish3.1.2|javax.enterprise.system.core.security.com.sun.enterprise.security|_ThreadID=17;_ThreadName=Thread-2;|SEC1002: Security Manager is OFF.|#]
[#|2013-07-05T00:00:55.283+0300|INFO|glassfish3.1.2|javax.enterprise.system.core.security.com.sun.enterprise.security|_ThreadID=17;_ThreadName=Thread-2;|SEC1010: Entering Security Startup Service|#]
[#|2013-07-05T00:00:55.285+0300|INFO|glassfish3.1.2|javax.enterprise.system.core.security.com.sun.enterprise.security|_ThreadID=17;_ThreadName=Thread-2;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]
[#|2013-07-05T00:00:55.311+0300|INFO|glassfish3.1.2|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=17;_ThreadName=Thread-2;|SEC1115: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.|#]
[#|2013-07-05T00:00:55.312+0300|INFO|glassfish3.1.2|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=17;_ThreadName=Thread-2;|SEC1115: Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.|#]
[#|2013-07-05T00:00:55.315+0300|INFO|glassfish3.1.2|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=17;_ThreadName=Thread-2;|SEC1115: Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created.|#]
[#|2013-07-05T00:00:55.320+0300|INFO|glassfish3.1.2|javax.enterprise.system.core.security.com.sun.enterprise.security|_ThreadID=17;_ThreadName=Thread-2;|SEC1011: Security Service(s) Started Successfully|#]
[#|2013-07-05T00:00:55.479+0300|INFO|glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=17;_ThreadName=Thread-2;|WEB0169: Created HTTP listener [http-listener-1] on host/port [0.0.0.0:8080]|#]
[#|2013-07-05T00:00:55.486+0300|INFO|glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=17;_ThreadName=Thread-2;|WEB0169: Created HTTP listener [http-listener-2] on host/port [0.0.0.0:8181]|#]
[#|2013-07-05T00:00:55.492+0300|INFO|glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=17;_ThreadName=Thread-2;|WEB0169: Created HTTP listener [admin-listener] on host/port [0.0.0.0:4848]|#]
[#|2013-07-05T00:00:55.517+0300|INFO|glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=17;_ThreadName=Thread-2;|WEB0171: Created virtual server [server]|#]
[#|2013-07-05T00:00:55.519+0300|INFO|glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=17;_ThreadName=Thread-2;|WEB0171: Created virtual server [__asadmin]|#]
[#|2013-07-05T00:00:55.643+0300|INFO|glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=17;_ThreadName=Thread-2;|WEB0172: Virtual server [server] loaded default web module []|#]
[#|2013-07-05T00:00:57.037+0300|INFO|glassfish3.1.2|org.eclipse.persistence.session.file:/C:/Development/sak/sakillaa-webapp/target/sakillaa-webapp/WEB-INF/lib/sakkillaa-1.0-SNAPSHOT.jar_Persistence|_ThreadID=17;_ThreadName=Thread-2;|EclipseLink, version: Eclipse Persistence Services - 2.3.2.v20111125-r10461|#]
[#|2013-07-05T00:00:57.347+0300|INFO|glassfish3.1.2|org.eclipse.persistence.session.file:/C:/Development/sak/sakillaa-webapp/target/sakillaa-webapp/WEB-INF/lib/sakkillaa-1.0-SNAPSHOT.jar_Persistence|_ThreadID=17;_ThreadName=Thread-2;|file:/C:/Development/sak/sakillaa-webapp/target/sakillaa-webapp/WEB-INF/lib/sakkillaa-1.0-SNAPSHOT.jar_Persistence login successful|#]
[#|2013-07-05T00:00:57.347+0300|WARNING|glassfish3.1.2|org.eclipse.persistence.session.file:/C:/Development/sak/sakillaa-webapp/target/sakillaa-webapp/WEB-INF/lib/sakkillaa-1.0-SNAPSHOT.jar_Persistence.server|_ThreadID=17;_ThreadName=Thread-2;|Multiple [2] JMX MBeanServer instances exist, we will use the server at index [0] : [com.sun.enterprise.v3.admin.DynamicInterceptor@328b1323].|#]
[#|2013-07-05T00:00:57.348+0300|WARNING|glassfish3.1.2|org.eclipse.persistence.session.file:/C:/Development/sak/sakillaa-webapp/target/sakillaa-webapp/WEB-INF/lib/sakkillaa-1.0-SNAPSHOT.jar_Persistence.server|_ThreadID=17;_ThreadName=Thread-2;|JMX MBeanServer in use: [com.sun.enterprise.v3.admin.DynamicInterceptor@328b1323] from index [0] |#]
[#|2013-07-05T00:00:57.348+0300|WARNING|glassfish3.1.2|org.eclipse.persistence.session.file:/C:/Development/sak/sakillaa-webapp/target/sakillaa-webapp/WEB-INF/lib/sakkillaa-1.0-SNAPSHOT.jar_Persistence.server|_ThreadID=17;_ThreadName=Thread-2;|JMX MBeanServer in use: [com.sun.jmx.mbeanserver.JmxMBeanServer@6ebbd7d] from index [1] |#]
[#|2013-07-05T00:00:57.492+0300|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=17;_ThreadName=Thread-2;|EJB5181:Portable JNDI names for EJB ActorDao: [java:global/sakillaa-webapp/ActorDao!com.tugay.sakkillaa.dao.ActorDao, java:global/sakillaa-webapp/ActorDao]|#]
[#|2013-07-05T00:00:57.528+0300|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=17;_ThreadName=Thread-2;|EJB5181:Portable JNDI names for EJB GeneralDao: [java:global/sakillaa-webapp/GeneralDao!com.tugay.sakkillaa.dao.GeneralDao, java:global/sakillaa-webapp/GeneralDao]|#]
[#|2013-07-05T00:00:57.570+0300|INFO|glassfish3.1.2|org.jboss.weld.Version|_ThreadID=17;_ThreadName=Thread-2;|WELD-000900 1.1.8 (Final)|#]
[#|2013-07-05T00:00:58.018+0300|WARNING|glassfish3.1.2|org.glassfish.weld.BeanDeploymentArchiveImpl|_ThreadID=17;_ThreadName=Thread-2;|Error while trying to load Bean Class com.sun.faces.facelets.tag.composite.PropertyHandlerManager$DefaultPropertyHandler : java.lang.IllegalAccessError: class com.sun.faces.facelets.tag.composite.PropertyHandlerManager$DefaultPropertyHandler cannot access its superinterface com.sun.faces.facelets.tag.composite.PropertyHandler|#]
[#|2013-07-05T00:00:58.037+0300|WARNING|glassfish3.1.2|org.glassfish.weld.BeanDeploymentArchiveImpl|_ThreadID=17;_ThreadName=Thread-2;|Error while trying to load Bean Class com.sun.faces.facelets.tag.AbstractTagLibrary$CompositeComponentTagFactory : java.lang.IllegalAccessError: class com.sun.faces.facelets.tag.AbstractTagLibrary$CompositeComponentTagFactory cannot access its superinterface com.sun.faces.facelets.tag.TagHandlerFactory|#]
[#|2013-07-05T00:00:58.371+0300|WARNING|glassfish3.1.2|org.glassfish.weld.BeanDeploymentArchiveImpl|_ThreadID=17;_ThreadName=Thread-2;|Error while trying to load Bean Class com.sun.faces.application.annotation.ResourceHandler : java.lang.IllegalAccessError: class com.sun.faces.application.annotation.JndiHandler cannot access its superinterface com.sun.faces.application.annotation.RuntimeAnnotationHandler|#]
[#|2013-07-05T00:00:58.374+0300|WARNING|glassfish3.1.2|org.glassfish.weld.BeanDeploymentArchiveImpl|_ThreadID=17;_ThreadName=Thread-2;|Error while trying to load Bean Class com.sun.faces.application.annotation.PersistenceUnitHandler : java.lang.IllegalAccessError: class com.sun.faces.application.annotation.JndiHandler cannot access its superinterface com.sun.faces.application.annotation.RuntimeAnnotationHandler|#]
[#|2013-07-05T00:00:58.377+0300|WARNING|glassfish3.1.2|org.glassfish.weld.BeanDeploymentArchiveImpl|_ThreadID=17;_ThreadName=Thread-2;|Error while trying to load Bean Class com.sun.faces.application.annotation.WebServiceRefHandler : java.lang.IllegalAccessError: class com.sun.faces.application.annotation.JndiHandler cannot access its superinterface com.sun.faces.application.annotation.RuntimeAnnotationHandler|#]
[#|2013-07-05T00:00:58.379+0300|WARNING|glassfish3.1.2|org.glassfish.weld.BeanDeploymentArchiveImpl|_ThreadID=17;_ThreadName=Thread-2;|Error while trying to load Bean Class com.sun.faces.application.annotation.DelegatedEJBScanner : java.lang.IllegalAccessError: class com.sun.faces.application.annotation.DelegatedEJBScanner cannot access its superinterface com.sun.faces.application.annotation.Scanner|#]
[#|2013-07-05T00:00:58.382+0300|WARNING|glassfish3.1.2|org.glassfish.weld.BeanDeploymentArchiveImpl|_ThreadID=17;_ThreadName=Thread-2;|Error while trying to load Bean Class com.sun.faces.application.annotation.EJBHandler : java.lang.IllegalAccessError: class com.sun.faces.application.annotation.JndiHandler cannot access its superinterface com.sun.faces.application.annotation.RuntimeAnnotationHandler|#]
[#|2013-07-05T00:00:58.385+0300|WARNING|glassfish3.1.2|org.glassfish.weld.BeanDeploymentArchiveImpl|_ThreadID=17;_ThreadName=Thread-2;|Error while trying to load Bean Class com.sun.faces.application.annotation.DelegatedResourceScanner : java.lang.IllegalAccessError: class com.sun.faces.application.annotation.DelegatedResourceScanner cannot access its superinterface com.sun.faces.application.annotation.Scanner|#]
[#|2013-07-05T00:00:58.387+0300|WARNING|glassfish3.1.2|org.glassfish.weld.BeanDeploymentArchiveImpl|_ThreadID=17;_ThreadName=Thread-2;|Error while trying to load Bean Class com.sun.faces.application.annotation.DelegatedPersistenceContextScanner : java.lang.IllegalAccessError: class com.sun.faces.application.annotation.DelegatedPersistenceContextScanner cannot access its superinterface com.sun.faces.application.annotation.Scanner|#]
[#|2013-07-05T00:00:58.388+0300|WARNING|glassfish3.1.2|org.glassfish.weld.BeanDeploymentArchiveImpl|_ThreadID=17;_ThreadName=Thread-2;|Error while trying to load Bean Class com.sun.faces.application.annotation.JndiHandler : java.lang.IllegalAccessError: class com.sun.faces.application.annotation.JndiHandler cannot access its superinterface com.sun.faces.application.annotation.RuntimeAnnotationHandler|#]
[#|2013-07-05T00:00:58.391+0300|WARNING|glassfish3.1.2|org.glassfish.weld.BeanDeploymentArchiveImpl|_ThreadID=17;_ThreadName=Thread-2;|Error while trying to load Bean Class com.sun.faces.application.annotation.ResourceScanner : java.lang.IllegalAccessError: class com.sun.faces.application.annotation.ResourceScanner cannot access its superinterface com.sun.faces.application.annotation.Scanner|#]
[#|2013-07-05T00:00:58.393+0300|WARNING|glassfish3.1.2|org.glassfish.weld.BeanDeploymentArchiveImpl|_ThreadID=17;_ThreadName=Thread-2;|Error while trying to load Bean Class com.sun.faces.application.annotation.WebServiceRefScanner : java.lang.IllegalAccessError: class com.sun.faces.application.annotation.WebServiceRefScanner cannot access its superinterface com.sun.faces.application.annotation.Scanner|#]
[#|2013-07-05T00:00:58.396+0300|WARNING|glassfish3.1.2|org.glassfish.weld.BeanDeploymentArchiveImpl|_ThreadID=17;_ThreadName=Thread-2;|Error while trying to load Bean Class com.sun.faces.application.annotation.DelegatedPersistenceUnitScanner : java.lang.IllegalAccessError: class com.sun.faces.application.annotation.DelegatedPersistenceUnitScanner cannot access its superinterface com.sun.faces.application.annotation.Scanner|#]
[#|2013-07-05T00:00:58.400+0300|WARNING|glassfish3.1.2|org.glassfish.weld.BeanDeploymentArchiveImpl|_ThreadID=17;_ThreadName=Thread-2;|Error while trying to load Bean Class com.sun.faces.application.annotation.PersistenceContextScanner : java.lang.IllegalAccessError: class com.sun.faces.application.annotation.PersistenceContextScanner cannot access its superinterface com.sun.faces.application.annotation.Scanner|#]
[#|2013-07-05T00:00:58.405+0300|WARNING|glassfish3.1.2|org.glassfish.weld.BeanDeploymentArchiveImpl|_ThreadID=17;_ThreadName=Thread-2;|Error while trying to load Bean Class com.sun.faces.application.annotation.EJBScanner : java.lang.IllegalAccessError: class com.sun.faces.application.annotation.EJBScanner cannot access its superinterface com.sun.faces.application.annotation.Scanner|#]
[#|2013-07-05T00:00:58.407+0300|WARNING|glassfish3.1.2|org.glassfish.weld.BeanDeploymentArchiveImpl|_ThreadID=17;_ThreadName=Thread-2;|Error while trying to load Bean Class com.sun.faces.application.annotation.PersistenceContextHandler : java.lang.IllegalAccessError: class com.sun.faces.application.annotation.JndiHandler cannot access its superinterface com.sun.faces.application.annotation.RuntimeAnnotationHandler|#]
[#|2013-07-05T00:00:58.410+0300|WARNING|glassfish3.1.2|org.glassfish.weld.BeanDeploymentArchiveImpl|_ThreadID=17;_ThreadName=Thread-2;|Error while trying to load Bean Class com.sun.faces.application.annotation.DelegatedWebServiceRefScanner : java.lang.IllegalAccessError: class com.sun.faces.application.annotation.DelegatedWebServiceRefScanner cannot access its superinterface com.sun.faces.application.annotation.Scanner|#]
[#|2013-07-05T00:00:58.412+0300|WARNING|glassfish3.1.2|org.glassfish.weld.BeanDeploymentArchiveImpl|_ThreadID=17;_ThreadName=Thread-2;|Error while trying to load Bean Class com.sun.faces.application.annotation.PersistenceUnitScanner : java.lang.IllegalAccessError: class com.sun.faces.application.annotation.PersistenceUnitScanner cannot access its superinterface com.sun.faces.application.annotation.Scanner|#]
[#|2013-07-05T00:01:00.018+0300|SEVERE|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=17;_ThreadName=Thread-2;|Exception while loading the app|#]
[#|2013-07-05T00:01:00.500+0300|INFO|glassfish3.1.2|org.eclipse.persistence.session.file:/C:/Development/sak/sakillaa-webapp/target/sakillaa-webapp/WEB-INF/lib/sakkillaa-1.0-SNAPSHOT.jar_Persistence|_ThreadID=18;_ThreadName=Thread-2;|file:/C:/Development/sak/sakillaa-webapp/target/sakillaa-webapp/WEB-INF/lib/sakkillaa-1.0-SNAPSHOT.jar_Persistence logout successful|#]
[#|2013-07-05T00:01:00.507+0300|SEVERE|glassfish3.1.2|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=17;_ThreadName=Thread-2;|Exception while loading the app : FLOW
java.lang.NoSuchFieldError: FLOW
at com.sun.faces.flow.FlowDiscoveryCDIExtension.<clinit>(FlowDiscoveryCDIExtension.java:90)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.jboss.weld.util.ServiceLoader.prepareInstance(ServiceLoader.java:235)
at org.jboss.weld.util.ServiceLoader.loadService(ServiceLoader.java:209)
at org.jboss.weld.util.ServiceLoader.loadServiceFile(ServiceLoader.java:177)
at org.jboss.weld.util.ServiceLoader.reload(ServiceLoader.java:149)
at org.jboss.weld.util.ServiceLoader.iterator(ServiceLoader.java:292)
at org.glassfish.weld.DeploymentImpl.getExtensions(DeploymentImpl.java:368)
at org.jboss.weld.bootstrap.WeldBootstrap.startInitialization(WeldBootstrap.java:325)
at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:177)
at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:128)
at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:277)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:460)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1259)
at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:461)
at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:212)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
at com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable.call(ContainerMapper.java:354)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:662)
|#]
[#|2013-07-05T00:02:11.096+0300|INFO|glassfish3.1.2|javax.enterprise.system.tools.admin.com.sun.enterprise.v3.admin|_ThreadID=19;_ThreadName=Thread-2;|Server shutdown initiated|#]
[#|2013-07-05T00:02:11.122+0300|INFO|glassfish3.1.2|javax.enterprise.resource.resourceadapter.com.sun.enterprise.connectors.service|_ThreadID=20;_ThreadName=Thread-2;|RAR7094: __cp_jdbc_ra shutdown successful.|#]
[#|2013-07-05T00:02:13.510+0300|INFO|glassfish3.1.2|javax.enterprise.system.jmx.org.glassfish.admin.mbeanserver|_ThreadID=19;_ThreadName=Thread-2;|JMX002: JMXStartupService: Stopped JMXConnectorServer: null|#]
[#|2013-07-05T00:02:13.511+0300|INFO|glassfish3.1.2|javax.enterprise.system.jmx.org.glassfish.admin.mbeanserver|_ThreadID=19;_ThreadName=Thread-2;|JMX001: JMXStartupService and JMXConnectors have been shut down.|#]
[#|2013-07-05T00:02:13.512+0300|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=19;_ThreadName=Thread-2;|Shutdown procedure finished|#]
最佳答案
科瑞,
您已经在这里回答了您自己的问题,正如您所展示的那样,部署时出现错误,这与 Glassfish 库中不提供“Flow”类有关。
java.lang.NoSuchFieldError: FLOW
在 com.sun.faces.flow.FlowDiscoveryCDIExtension.(FlowDiscoveryCDIExtension.java:90)。
您没有做错任何事情,只是您的网络应用程序和 glassfish 之间的版本不匹配。您表明,通过将 jsf 的 api 版本从 2.1.19 增加到 2.2.0 ,您的部署会中断。
我没有 glassfish,但如果您查看它的库,您会发现 com.sun.faces.flow.Flow 不在此 jsf-api 库的 Glassfish 版本中。
你需要我们这个库的 2.2.0 吗,如果是,你可以尝试添加一个提供的范围( <scope>provided</scope>
)到依赖项,看看 glassfish 是否会使用它自己的。我不确定这是否可行,这取决于 Glassfish 的类加载器。
关于JSF 项目不会从 JSF 实现 2.2.0 开始,但可以从 2.1.19 开始,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17478099/
我试图了解 JSF 实现如何识别用户的各种可能操作。在我放在一起的简单应用程序中,我在 login.xhtml 页面中配置了以下字段。 用户名 - 输入字段 密码 - 密码字段 登录按钮 取消按钮 登
我已经开始学习 JSF,我想知道在我们的类路径中包含什么 JAR 以开始使用 JSF。是jsf-api或 jsf-impl ?或者我们必须同时包含两者?如果两者都是,那么为什么它们不合并? 最佳答案
我是 java server faces (JSF) 的初学者,我需要将文本输入的内容传递到第二页以显示它,同样适用于第二页:我想将单选按钮值传递到第三页。我搜索并尝试了很多但没有成功。例如我试过
我有一个 JSF 页面。我的 CommandButton 操作方法值取决于 bean 变量值。 例子: Bean headerBean 具有可变的 actionValue,值为“someBean.do
我有两个 JSF 页面,假设 A 和 B。从这两个页面 A 和 BI 可以导航到页面 C。现在页面 C 中有一个按钮(确定按钮),单击它应该导航回 A 或 B,具体取决于从哪里(A 或 B)调用 C
我可以在没有 JSTL 标签的情况下使用 JSF 执行条件逻辑吗? 例如,我制作了一个复合组件,并想说明,如果指定了“id”属性,则定义“id”属性,但如果未指定“id”属性,则不要指定“id”属性。
我有一个应用程序,用户可以在其中从我的应用程序的欢迎页面动态切换语言环境。我看到早期的开发人员(在没有太多文档的情况下继承了代码)已经从 ViewHandler 覆盖了以下三个方法,并告诉我这是动态切
关闭。这个问题不满足Stack Overflow guidelines .它目前不接受答案。 想改善这个问题吗?更新问题,使其成为 on-topic对于堆栈溢出。 7年前关闭。 Improve thi
有没有一种方法可以在我的 JSF 2.0 应用程序中处理浏览器刷新事件,以便在浏览器刷新页面时将用户导航到欢迎页面? 这让我想到了另一个问题,即如何在托管 bean 中进行页面导航? 干杯, 最佳答案
我有两页。搜索页面是第一个接受用户输入的页面。第二页显示数据表中的结果集。第二页有 3 个面板,用于结果集、更新和在单个页面中创建。根据单击的按钮,我将面板呈现为真和假。 . . . . . .
由于我们在 Asp.Net 中有 comparevalidator,我们在 JSF 中有什么来验证两个字段的值是否相同?我想验证密码和确认密码字段。 最佳答案 不,这样的验证器在基本的 JSF 实现中
我想构建一个自定义 JSF 组件。现在我从 oracle 阅读了一些文档并看到了一些代码示例。问题是我有点困惑: 似乎有两种方法可以使用 JSF 2.0+ 构建自定义组件。据我了解,自 JSF 2.0
我遇到了与 user1598186 在他的问题中提到的相同的问题:p:commandButton doesn't call bean's method in an page 但是,没有给出解决方案(
这个问题在这里已经有了答案: Ajax update/render does not work on a component which has rendered attribute (1 个回答)
是否有内置机制可以有条件地重定向到另一个 View ?如果他/她已经登录,我希望用户从登录页面重定向到“主页”。 我已经有两种基本方法,但对于第一种我不知道如何实现,第二种是一种肮脏的解决方法。 添加
如何在 JSF 中格式化值 我需要格式化一个数字,如:12345.67 到 12,345.67 可以用模式吗? 最佳答案 尝试使用: 关于jsf - 用逗号格式化为数字 JSF,我们在Sta
根据this blog JSF 正在走向无状态。使用 JSF 的全部意义不在于它使保存和恢复状态成为一件苦差事。 JSF 成为无状态的有什么意义?您能否提供一个有用的示例。 最佳答案 首先,我想澄清
我读到某个地方(不再找到它),可以在资源包中使用EL Expresions,然后在不更改* .xhtml文件的情况下使用它。 some.text=#{someBean.stepsLeft} more
我想看一个简单的登录应用程序,不像this那么简单尽管。 我想要实现的是对 JSF 的工作原理的理解,我开发了很多 ASP.NET,您可以在其中隐藏代码,并且您可以在其中检查是否在登录时创建了 ses
如果#{myBean.birthdate}是java.util.Calendar或java.util.Date类型,我可以格式化吗this 在 EL 本身内部可能使用现有函数,其输出类似于 DateF
我是一名优秀的程序员,十分优秀!