• wildfly10报错2:ID注释有错


    13:55:56,612 INFO  [org.jboss.modules] (main) JBoss Modules version 1.5.1.Final
    13:55:56,891 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final
    13:55:56,965 INFO  [org.jboss.as] (MSC service thread 1-6) WFLYSRV0049: WildFly Full 10.0.0.Final (WildFly Core 2.0.10.Final) starting
    13:55:58,707 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found zhuyr-rest.war in deployment directory. To trigger deployment create a file called zhuyr-rest.war.dodeploy
    13:55:58,740 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
    13:55:58,762 INFO  [org.xnio] (MSC service thread 1-8) XNIO version 3.3.4.Final
    13:55:58,762 INFO  [org.xnio.nio] (MSC service thread 1-8) XNIO NIO Implementation Version 3.3.4.Final
    13:55:58,855 INFO  [org.jboss.remoting] (MSC service thread 1-8) JBoss Remoting version 4.0.18.Final
    13:55:58,965 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 37) WFLYIO001: Worker 'default' has auto-configured to 8 core threads with 64 task threads based on your 4 available processors
    13:55:58,980 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 38) WFLYCLINF0001: Activating Infinispan subsystem.
    13:55:58,980 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 54) WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique.
    13:55:59,011 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 46) WFLYNAM0001: Activating Naming Subsystem
    13:55:59,011 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 53) WFLYSEC0002: Activating Security Subsystem
    13:55:59,027 INFO  [org.jboss.as.security] (MSC service thread 1-3) WFLYSEC0001: Current PicketBox version=4.9.4.Final
    13:55:59,058 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-5) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
    13:55:59,058 INFO  [org.jboss.as.naming] (MSC service thread 1-6) WFLYNAM0003: Starting Naming Service
    13:55:59,058 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 33) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
    13:55:59,074 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 33) WFLYJCA0005: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)
    13:55:59,382 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 56) WFLYWS0002: Activating WebServices Extension
    13:55:59,428 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 44) WFLYJSF0007: Activated the following JSF Implementations: [main]
    13:55:59,444 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0003: Undertow 1.3.15.Final starting
    13:55:59,444 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 55) WFLYUT0003: Undertow 1.3.15.Final starting
    13:55:59,506 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-8) WFLYJCA0018: Started Driver service with driver-name = h2
    13:55:59,506 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-8) WFLYJCA0018: Started Driver service with driver-name = mysql
    13:55:59,491 INFO  [org.jboss.as.connector] (MSC service thread 1-2) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.3.2.Final)
    13:55:59,853 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 55) WFLYUT0014: Creating file handler for path 'D:workwildfly-10.0.0.Final/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']
    13:55:59,868 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0012: Started server default-server.
    13:55:59,868 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0018: Host default-host starting
    13:55:59,996 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8080
    13:56:00,106 INFO  [org.jboss.as.ejb3] (MSC service thread 1-5) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 16 (per class), which is derived from the number of CPUs on this host.
    13:56:00,121 INFO  [org.jboss.as.ejb3] (MSC service thread 1-4) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 64 (per class), which is derived from thread worker pool sizing.
    13:56:01,031 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0027: Starting deployment of "zhuyr-rest.war" (runtime-name: "zhuyr-rest.war")
    13:56:01,031 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-7) WFLYDS0013: Started FileSystemDeploymentService for directory D:workwildfly-10.0.0.Finalstandalonedeployments
    13:56:01,439 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-3) ISPN000128: Infinispan version: Infinispan 'Mahou' 8.1.0.Final
    13:56:01,467 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
    13:56:01,488 INFO  [org.jboss.ws.common.management] (MSC service thread 1-4) JBWS022052: Starting JBossWS 5.1.3.Final (Apache CXF 3.1.4) 
    13:56:01,515 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-7) WFLYJCA0001: Bound data source [java:jboss/datasources/ZhuyrDS]
    13:56:01,999 WARN  [org.jboss.weld.deployer] (MSC service thread 1-4) WFLYWELD0018: Found both WEB-INF/beans.xml and WEB-INF/classes/META-INF/beans.xml. It is not portable to use both locations at the same time. Weld is going to use the former location for this deployment.
    13:56:02,040 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) WFLYJPA0002: Read persistence.xml for zhuyr-jpa-persistence-unit
    13:56:02,506 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 58) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'zhuyr-rest.war#zhuyr-jpa-persistence-unit'
    13:56:02,521 INFO  [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 58) HHH000204: Processing PersistenceUnitInfo [
        name: zhuyr-jpa-persistence-unit
        ...]
    13:56:02,615 INFO  [org.hibernate.Version] (ServerService Thread Pool -- 58) HHH000412: Hibernate Core {5.0.7.Final}
    13:56:02,615 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 58) HHH000206: hibernate.properties not found
    13:56:02,615 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 58) HHH000021: Bytecode provider name : javassist
    13:56:02,663 INFO  [org.hibernate.orm.deprecation] (ServerService Thread Pool -- 58) HHH90000001: Found usage of deprecated setting for specifying Scanner [hibernate.ejb.resource_scanner]; use [hibernate.archive.scanner] instead
    13:56:02,663 INFO  [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 58) HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
    13:56:02,788 INFO  [org.jboss.weld.deployer] (MSC service thread 1-3) WFLYWELD0003: Processing weld deployment zhuyr-rest.war
    13:56:02,835 INFO  [org.hibernate.validator.internal.util.Version] (MSC service thread 1-3) HV000001: Hibernate Validator 5.2.3.Final
    13:56:02,881 INFO  [org.hibernate.validator.internal.xml.ValidationXmlParser] (MSC service thread 1-3) HV000007: META-INF/validation.xml found. Parsing XML based configuration.
    13:56:03,115 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-3) WFLYEJB0473: JNDI bindings for session bean named 'CustomerJpaRepo' in deployment unit 'deployment "zhuyr-rest.war"' are as follows:
    
        java:global/zhuyr-rest/CustomerJpaRepo!com.zhuyr.core.CustomerRepo
        java:app/zhuyr-rest/CustomerJpaRepo!com.zhuyr.core.CustomerRepo
        java:module/CustomerJpaRepo!com.zhuyr.core.CustomerRepo
        java:global/zhuyr-rest/CustomerJpaRepo
        java:app/zhuyr-rest/CustomerJpaRepo
        java:module/CustomerJpaRepo
    
    13:56:03,273 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 58) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
    13:56:03,289 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 58) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
    13:56:03,289 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 58) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
    13:56:03,289 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 58) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
    13:56:03,305 INFO  [org.jboss.weld.deployer] (MSC service thread 1-7) WFLYWELD0006: Starting Services for CDI deployment: zhuyr-rest.war
    13:56:03,336 INFO  [org.jboss.weld.Version] (MSC service thread 1-7) WELD-000900: 2.3.2 (Final)
    13:56:03,487 INFO  [org.jboss.weld.deployer] (MSC service thread 1-4) WFLYWELD0009: Starting weld service for deployment zhuyr-rest.war
    13:56:03,794 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 59) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service 'zhuyr-rest.war#zhuyr-jpa-persistence-unit'
    13:56:03,911 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 58) WFLYCLINF0002: Started client-mappings cache from ejb container
    13:56:04,231 INFO  [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 59) HHH000400: Using dialect: org.hibernate.dialect.MySQLDialect
    13:56:04,279 INFO  [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 59) Envers integration enabled? : true
    13:56:04,551 INFO  [org.hibernate.validator.internal.xml.ValidationXmlParser] (ServerService Thread Pool -- 59) HV000007: META-INF/validation.xml found. Parsing XML based configuration.
    13:56:04,613 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 59) MSC000001: Failed to start service jboss.persistenceunit."zhuyr-rest.war#zhuyr-jpa-persistence-unit": org.jboss.msc.service.StartException in service jboss.persistenceunit."zhuyr-rest.war#zhuyr-jpa-persistence-unit": javax.persistence.PersistenceException: [PersistenceUnit: zhuyr-jpa-persistence-unit] Unable to build Hibernate SessionFactory
        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:172)
        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117)
        at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:667)
        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:182)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
        at org.jboss.threads.JBossThread.run(JBossThread.java:320)
    Caused by: javax.persistence.PersistenceException: [PersistenceUnit: zhuyr-jpa-persistence-unit] Unable to build Hibernate SessionFactory
        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.persistenceException(EntityManagerFactoryBuilderImpl.java:954)
        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:882)
        at org.jboss.as.jpa.hibernate5.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44)
        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:154)
        ... 7 more
    Caused by: org.hibernate.MappingException: Could not instantiate id generator [entity-name=com.zhuyr.core.Customer]
        at org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory.createIdentifierGenerator(DefaultIdentifierGeneratorFactory.java:121)
        at org.hibernate.mapping.SimpleValue.createIdentifierGenerator(SimpleValue.java:265)
        at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:287)
        at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:444)
        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:879)
        ... 9 more
    Caused by: org.hibernate.HibernateException: Unanticipated return type [java.lang.Integer] for UUID conversion
        at org.hibernate.id.UUIDGenerator.configure(UUIDGenerator.java:96)
        at org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory.createIdentifierGenerator(DefaultIdentifierGeneratorFactory.java:115)
        ... 13 more
    
    13:56:04,613 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "zhuyr-rest.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.persistenceunit."zhuyr-rest.war#zhuyr-jpa-persistence-unit"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit."zhuyr-rest.war#zhuyr-jpa-persistence-unit": javax.persistence.PersistenceException: [PersistenceUnit: zhuyr-jpa-persistence-unit] Unable to build Hibernate SessionFactory
        Caused by: javax.persistence.PersistenceException: [PersistenceUnit: zhuyr-jpa-persistence-unit] Unable to build Hibernate SessionFactory
        Caused by: org.hibernate.MappingException: Could not instantiate id generator [entity-name=com.zhuyr.core.Customer]
        Caused by: org.hibernate.HibernateException: Unanticipated return type [java.lang.Integer] for UUID conversion"}}
    13:56:04,662 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 34) WFLYSRV0010: Deployed "zhuyr-rest.war" (runtime-name : "zhuyr-rest.war")
    13:56:04,693 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
    WFLYCTL0186:   Services which failed to start:      service jboss.persistenceunit."zhuyr-rest.war#zhuyr-jpa-persistence-unit": org.jboss.msc.service.StartException in service jboss.persistenceunit."zhuyr-rest.war#zhuyr-jpa-persistence-unit": javax.persistence.PersistenceException: [PersistenceUnit: zhuyr-jpa-persistence-unit] Unable to build Hibernate SessionFactory
    
    13:56:04,818 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
    13:56:04,818 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
    13:56:04,834 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 10.0.0.Final (WildFly Core 2.0.10.Final) started (with errors) in 8586ms - Started 386 of 679 services (24 services failed or missing dependencies, 383 services are lazy, passive or on-demand)
    13:56:04,896 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 21) WFLYJPA0011: Stopping Persistence Unit (phase 1 of 2) Service 'zhuyr-rest.war#zhuyr-jpa-persistence-unit'
    13:56:04,912 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 7) WFLYCLINF0003: Stopped client-mappings cache from ejb container
    13:56:04,912 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0028: Stopped deployment zhuyr-rest.war (runtime-name: zhuyr-rest.war) in 47ms
    13:56:04,990 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV0009: Undeployed "zhuyr-rest.war" (runtime-name: "zhuyr-rest.war")
    13:56:04,990 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 1) WFLYCTL0183: Service status report
    WFLYCTL0184:    New missing/unsatisfied dependencies:
          service jboss.deployment.unit."zhuyr-rest.war".WeldBootstrapService (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".component.CustomerJpaRepo.WeldInstantiator, service jboss.deployment.unit."zhuyr-rest.war".component."com.sun.faces.config.ConfigureListener".WeldInstantiator, service jboss.deployment.unit."zhuyr-rest.war".component.CustomerJpaRepo.WeldInterceptorBindingsService, service jboss.deployment.unit."zhuyr-rest.war".component."org.jboss.weld.servlet.WeldInitialListener".WeldInstantiator, WFLYCTL0208: ... and 7 more ] 
          service jboss.deployment.unit."zhuyr-rest.war".WeldStartService (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".component.CustomerJpaRepo.WeldInstantiator, service jboss.deployment.unit."zhuyr-rest.war".component."com.sun.faces.config.ConfigureListener".WeldInstantiator, service jboss.deployment.unit."zhuyr-rest.war".component.CustomerJpaRepo.WeldInterceptorBindingsService, service jboss.undertow.deployment.default-server.default-host./zhuyr-rest.UndertowDeploymentInfoService, WFLYCTL0208: ... and 8 more ] 
          service jboss.deployment.unit."zhuyr-rest.war".component.CustomerJpaRepo.CREATE (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".component.CustomerJpaRepo.START] 
          service jboss.deployment.unit."zhuyr-rest.war".component.CustomerJpaRepo.JndiBindingsService (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".jndiDependencyService] 
          service jboss.deployment.unit."zhuyr-rest.war".component.CustomerJpaRepo.START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./zhuyr-rest.UndertowDeploymentInfoService, service jboss.deployment.unit."zhuyr-rest.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./zhuyr-rest, service jboss.deployment.unit."zhuyr-rest.war".moduleDeploymentRuntimeInformationStart] 
          service jboss.deployment.unit."zhuyr-rest.war".component.CustomerJpaRepo.VIEW."com.zhuyr.core.CustomerRepo".LOCAL (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".component.CustomerJpaRepo.START] 
          service jboss.deployment.unit."zhuyr-rest.war".component.CustomerJpaRepo.WeldInstantiator (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".component.CustomerJpaRepo.START] 
          service jboss.deployment.unit."zhuyr-rest.war".component.CustomerJpaRepo.WeldInterceptorBindingsService (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".component.CustomerJpaRepo.WeldInstantiator] 
          service jboss.deployment.unit."zhuyr-rest.war".component.CustomerJpaRepo.ejb.non-functional-timerservice (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".component.CustomerJpaRepo.START] 
          service jboss.deployment.unit."zhuyr-rest.war".component."com.sun.faces.config.ConfigureListener".CREATE (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".component."com.sun.faces.config.ConfigureListener".START] 
          service jboss.deployment.unit."zhuyr-rest.war".component."com.sun.faces.config.ConfigureListener".JndiBindingsService (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".jndiDependencyService] 
          service jboss.deployment.unit."zhuyr-rest.war".component."com.sun.faces.config.ConfigureListener".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./zhuyr-rest.UndertowDeploymentInfoService, service jboss.deployment.unit."zhuyr-rest.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./zhuyr-rest] 
          service jboss.deployment.unit."zhuyr-rest.war".component."com.sun.faces.config.ConfigureListener".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".component."com.sun.faces.config.ConfigureListener".START] 
          service jboss.deployment.unit."zhuyr-rest.war".component."javax.faces.webapp.FacetTag".CREATE (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".component."javax.faces.webapp.FacetTag".START] 
          service jboss.deployment.unit."zhuyr-rest.war".component."javax.faces.webapp.FacetTag".JndiBindingsService (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".jndiDependencyService] 
          service jboss.deployment.unit."zhuyr-rest.war".component."javax.faces.webapp.FacetTag".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./zhuyr-rest.UndertowDeploymentInfoService, service jboss.deployment.unit."zhuyr-rest.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./zhuyr-rest] 
          service jboss.deployment.unit."zhuyr-rest.war".component."javax.faces.webapp.FacetTag".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".component."javax.faces.webapp.FacetTag".START] 
          service jboss.deployment.unit."zhuyr-rest.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".CREATE (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START] 
          service jboss.deployment.unit."zhuyr-rest.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".JndiBindingsService (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".jndiDependencyService] 
          service jboss.deployment.unit."zhuyr-rest.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./zhuyr-rest.UndertowDeploymentInfoService, service jboss.deployment.unit."zhuyr-rest.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./zhuyr-rest] 
          service jboss.deployment.unit."zhuyr-rest.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START] 
          service jboss.deployment.unit."zhuyr-rest.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".CREATE (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START] 
          service jboss.deployment.unit."zhuyr-rest.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".JndiBindingsService (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".jndiDependencyService] 
          service jboss.deployment.unit."zhuyr-rest.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./zhuyr-rest.UndertowDeploymentInfoService, service jboss.deployment.unit."zhuyr-rest.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./zhuyr-rest] 
          service jboss.deployment.unit."zhuyr-rest.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START] 
          service jboss.deployment.unit."zhuyr-rest.war".component."org.jboss.weld.servlet.WeldInitialListener".CREATE (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".component."org.jboss.weld.servlet.WeldInitialListener".START] 
          service jboss.deployment.unit."zhuyr-rest.war".component."org.jboss.weld.servlet.WeldInitialListener".JndiBindingsService (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".jndiDependencyService] 
          service jboss.deployment.unit."zhuyr-rest.war".component."org.jboss.weld.servlet.WeldInitialListener".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./zhuyr-rest.UndertowDeploymentInfoService, service jboss.deployment.unit."zhuyr-rest.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./zhuyr-rest] 
          service jboss.deployment.unit."zhuyr-rest.war".component."org.jboss.weld.servlet.WeldInitialListener".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".component."org.jboss.weld.servlet.WeldInitialListener".START] 
          service jboss.deployment.unit."zhuyr-rest.war".component."org.jboss.weld.servlet.WeldTerminalListener".CREATE (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".component."org.jboss.weld.servlet.WeldTerminalListener".START] 
          service jboss.deployment.unit."zhuyr-rest.war".component."org.jboss.weld.servlet.WeldTerminalListener".JndiBindingsService (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".jndiDependencyService] 
          service jboss.deployment.unit."zhuyr-rest.war".component."org.jboss.weld.servlet.WeldTerminalListener".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./zhuyr-rest.UndertowDeploymentInfoService, service jboss.deployment.unit."zhuyr-rest.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./zhuyr-rest] 
          service jboss.deployment.unit."zhuyr-rest.war".component."org.jboss.weld.servlet.WeldTerminalListener".WeldInstantiator (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".component."org.jboss.weld.servlet.WeldTerminalListener".START] 
          service jboss.deployment.unit."zhuyr-rest.war".ee.ComponentRegistry (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./zhuyr-rest.UndertowDeploymentInfoService] 
          service jboss.deployment.unit."zhuyr-rest.war".jndiDependencyService (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".component."org.jboss.weld.servlet.WeldTerminalListener".START, service jboss.deployment.unit."zhuyr-rest.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START, service jboss.deployment.unit."zhuyr-rest.war".component.CustomerJpaRepo.START, service jboss.deployment.unit."zhuyr-rest.war".component."com.sun.faces.config.ConfigureListener".START, WFLYCTL0208: ... and 5 more ] 
          service jboss.deployment.unit."zhuyr-rest.war".moduleDeploymentRuntimeInformation (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".component.CustomerJpaRepo.START, service jboss.deployment.unit."zhuyr-rest.war".moduleDeploymentRuntimeInformationStart] 
          service jboss.naming.context.java.app.zhuyr-rest.env (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".jndiDependencyService] 
          service jboss.naming.context.java.module.zhuyr-rest.zhuyr-rest.BeanManager (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".jndiDependencyService] 
          service jboss.naming.context.java.module.zhuyr-rest.zhuyr-rest.DefaultContextService (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".jndiDependencyService] 
          service jboss.naming.context.java.module.zhuyr-rest.zhuyr-rest.DefaultDataSource (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".jndiDependencyService] 
          service jboss.naming.context.java.module.zhuyr-rest.zhuyr-rest.DefaultManagedExecutorService (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".jndiDependencyService] 
          service jboss.naming.context.java.module.zhuyr-rest.zhuyr-rest.DefaultManagedScheduledExecutorService (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".jndiDependencyService] 
          service jboss.naming.context.java.module.zhuyr-rest.zhuyr-rest.DefaultManagedThreadFactory (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".jndiDependencyService] 
          service jboss.naming.context.java.module.zhuyr-rest.zhuyr-rest.EJBContext (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".jndiDependencyService] 
          service jboss.naming.context.java.module.zhuyr-rest.zhuyr-rest.TimerService (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".jndiDependencyService] 
          service jboss.naming.context.java.module.zhuyr-rest.zhuyr-rest.TransactionSynchronizationRegistry (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".jndiDependencyService] 
          service jboss.naming.context.java.module.zhuyr-rest.zhuyr-rest.UserTransaction (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".jndiDependencyService] 
          service jboss.naming.context.java.module.zhuyr-rest.zhuyr-rest.env (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".jndiDependencyService] 
          service jboss.naming.context.java.module.zhuyr-rest.zhuyr-rest.env."com.zhuyr.jpa.CustomerJpaRepo".em (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".component.CustomerJpaRepo.START, service jboss.deployment.unit."zhuyr-rest.war".jndiDependencyService] 
          service jboss.persistenceunit."zhuyr-rest.war#zhuyr-jpa-persistence-unit" (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START, service jboss.undertow.deployment.default-server.default-host./zhuyr-rest.UndertowDeploymentInfoService, service jboss.deployment.unit."zhuyr-rest.war".component.CustomerJpaRepo.START, service jboss.deployment.unit."zhuyr-rest.war".deploymentCompleteService, WFLYCTL0208: ... and 7 more ] 
          service jboss.undertow.deployment.default-server.default-host./zhuyr-rest (missing) dependents: [service jboss.deployment.unit."zhuyr-rest.war".deploymentCompleteService] 
          service jboss.undertow.deployment.default-server.default-host./zhuyr-rest.UndertowDeploymentInfoService (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./zhuyr-rest] 
          service jboss.undertow.deployment.default-server.default-host./zhuyr-rest.codec (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./zhuyr-rest.UndertowDeploymentInfoService] 
          service jboss.undertow.deployment.default-server.default-host./zhuyr-rest.session (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./zhuyr-rest.UndertowDeploymentInfoService] 
          service org.wildfly.request-controller.control-point."zhuyr-rest.war".undertow (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./zhuyr-rest.UndertowDeploymentInfoService] 
    WFLYCTL0186:   Services which failed to start:      service jboss.persistenceunit."zhuyr-rest.war#zhuyr-jpa-persistence-unit"
    
    13:56:09,739 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found zhuyr-rest.war in deployment directory. To trigger deployment create a file called zhuyr-rest.war.dodeploy
        @Id
        @GeneratedValue(generator = "hibernateGen")
        @GenericGenerator(name = "hibernateGen", strategy = "uuid2")
        @Column(name = "id", updatable = false, nullable = false, length = 36)
        private Integer id;

    将以上内容改成,就可以了。

     @Id
     @GeneratedValue(strategy=GenerationType.AUTO)
    private Integer id;
  • 相关阅读:
    验证email的正则表达式
    时间管理的小技巧
    如何在项目中进行畅快的沟通
    为什么你总成为不了架构师?
    我的时间管理Color My Time
    《重来》值得你多看几遍
    程序员如何成为一位出色的项目经理?
    大学毕业后拉开差距的真正原因
    [精华] FreeBSD-FAQ集锦(一)
    awk 常用信息
  • 原文地址:https://www.cnblogs.com/amoyzhu/p/5710867.html
Copyright © 2020-2023  润新知