- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我使用@Entity 对一个小类进行了测试,该类有 4 个变量,所有变量都是由 hibernate 构建的,但是当我添加另一个具有超过 20 个变量的类时,hibernate 只返回此错误:
23:34:58,100 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) JBAS010418: Stopped Driver service with driver-name = Projeto01.war_org.postgresql.Driver_9_0
23:34:58,144 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 236) JBAS011410: Stopping Persistence Unit (phase 1 of 2) Service 'Projeto01.war#cartorio'
23:34:58,175 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015877: Stopped deployment Projeto01.war (runtime-name: Projeto01.war) in 78ms
23:34:58,176 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015876: Starting deployment of "Projeto01.war" (runtime-name: "Projeto01.war")
23:34:58,708 INFO [org.jboss.as.jpa] (MSC service thread 1-5) JBAS011401: Read persistence.xml for cartorio
23:34:58,748 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 236) JBAS011409: Starting Persistence Unit (phase 1 of 2) Service 'Projeto01.war#cartorio'
23:34:58,748 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 236) HHH000204: Processing PersistenceUnitInfo [
name: cartorio
...]
23:34:58,875 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) JBAS010404: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 9.0)
23:34:58,876 WARN [org.jboss.weld.deployer] (MSC service thread 1-2) JBAS016012: Deployment deployment "Projeto01.war" contains CDI annotations but no bean archive was not found. (No beans.xml nor class with bean defining annotations)
23:34:58,878 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-8) JBAS010417: Started Driver service with driver-name = Projeto01.war_org.postgresql.Driver_9_0
23:34:58,879 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 236) JBAS011409: Starting Persistence Unit (phase 2 of 2) Service 'Projeto01.war#cartorio'
23:34:58,883 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 236) HHH000400: Using dialect: org.hibernate.dialect.PostgreSQLDialect
23:34:58,885 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 236) MSC000001: Failed to start service jboss.persistenceunit."Projeto01.war#cartorio": org.jboss.msc.service.StartException in service jboss.persistenceunit."Projeto01.war#cartorio": javax.persistence.PersistenceException: [PersistenceUnit: cartorio] Unable to build Hibernate SessionFactory
at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:172) [wildfly-jpa-8.0.0.CR1.jar:8.0.0.CR1]
at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117) [wildfly-jpa-8.0.0.CR1.jar:8.0.0.CR1]
at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_51]
at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:463)
at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:182) [wildfly-jpa-8.0.0.CR1.jar:8.0.0.CR1]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [rt.jar:1.7.0_51]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.7.0_51]
at java.lang.Thread.run(Unknown Source) [rt.jar:1.7.0_51]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
Caused by: javax.persistence.PersistenceException: [PersistenceUnit: cartorio] Unable to build Hibernate SessionFactory
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.persistenceException(EntityManagerFactoryBuilderImpl.java:1225) [hibernate-entitymanager-4.3.0.Final.jar:4.3.0.Final]
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.access$600(EntityManagerFactoryBuilderImpl.java:119) [hibernate-entitymanager-4.3.0.Final.jar:4.3.0.Final]
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:853) [hibernate-entitymanager-4.3.0.Final.jar:4.3.0.Final]
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:843) [hibernate-entitymanager-4.3.0.Final.jar:4.3.0.Final]
at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.withTccl(ClassLoaderServiceImpl.java:399) [hibernate-core-4.3.0.Final.jar:4.3.0.Final]
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:842) [hibernate-entitymanager-4.3.0.Final.jar:4.3.0.Final]
at org.jboss.as.jpa.hibernate4.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44) [jipijapa-hibernate4-3-1.0.0.Final.jar:]
at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:154) [wildfly-jpa-8.0.0.CR1.jar:8.0.0.CR1]
... 8 more
Caused by: org.hibernate.AnnotationException: No identifier specified for entity: cartorio.com.br.indicar_PessoaFISICA
at org.hibernate.cfg.InheritanceState.determineDefaultAccessType(InheritanceState.java:277) [hibernate-core-4.3.0.Final.jar:4.3.0.Final]
at org.hibernate.cfg.InheritanceState.getElementsToProcess(InheritanceState.java:224) [hibernate-core-4.3.0.Final.jar:4.3.0.Final]
at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:732) [hibernate-core-4.3.0.Final.jar:4.3.0.Final]
at org.hibernate.cfg.Configuration$MetadataSourceQueue.processAnnotatedClassesQueue(Configuration.java:3762) [hibernate-core-4.3.0.Final.jar:4.3.0.Final]
at org.hibernate.cfg.Configuration$MetadataSourceQueue.processMetadata(Configuration.java:3716) [hibernate-core-4.3.0.Final.jar:4.3.0.Final]
at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1410) [hibernate-core-4.3.0.Final.jar:4.3.0.Final]
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1844) [hibernate-core-4.3.0.Final.jar:4.3.0.Final]
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:850) [hibernate-entitymanager-4.3.0.Final.jar:4.3.0.Final]
... 13 more
23:34:58,889 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) JBAS014613: Operation ("full-replace-deployment") failed - address: ([]) - failure description: {"JBAS014671: Failed services" => {"jboss.persistenceunit.\"Projeto01.war#cartorio\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"Projeto01.war#cartorio\": javax.persistence.PersistenceException: [PersistenceUnit: cartorio] Unable to build Hibernate SessionFactory
Caused by: javax.persistence.PersistenceException: [PersistenceUnit: cartorio] Unable to build Hibernate SessionFactory
Caused by: org.hibernate.AnnotationException: No identifier specified for entity: cartorio.com.br.indicar_PessoaFISICA"}}
23:34:58,892 WARN [org.jboss.as.jpa] (DeploymentScanner-threads - 1) JBAS011411: Unexpected problem gathering statistics: java.lang.IllegalStateException: JBAS011477: Persistence unit 'Projeto01.war#cartorio' is not available
at org.jboss.as.jpa.management.EntityManagerFactoryLookup.entityManagerFactory(EntityManagerFactoryLookup.java:44)
at org.jboss.as.jpa.hibernate4.management.HibernateEntityStatistics.getDynamicChildrenNames(HibernateEntityStatistics.java:145)
at org.jboss.as.jpa.management.DynamicManagementStatisticsResource.getChildren(DynamicManagementStatisticsResource.java:204)
at org.jboss.as.controller.registry.AbstractModelResource$DelegateResource.getChildren(AbstractModelResource.java:254) [wildfly-controller-8.0.0.CR1.jar:8.0.0.CR1]
...jboss.deployment.unit."Projeto01.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./Projeto01, service jboss.undertow.deployment.default-server.default-host./Projeto01.UndertowDeploymentInfoService]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.fmt.ParamTag".CREATE (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.fmt.ParamTag".START]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.fmt.ParamTag".START (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./Projeto01, service jboss.undertow.deployment.default-server.default-host./Projeto01.UndertowDeploymentInfoService]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.fmt.ParseDateTag".CREATE (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.fmt.ParseDateTag".START]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.fmt.ParseDateTag".START (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./Projeto01, service jboss.undertow.deployment.default-server.default-host./Projeto01.UndertowDeploymentInfoService]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.fmt.ParseNumberTag".CREATE (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.fmt.ParseNumberTag".START]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.fmt.ParseNumberTag".START (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./Projeto01, service jboss.undertow.deployment.default-server.default-host./Projeto01.UndertowDeploymentInfoService]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.fmt.RequestEncodingTag".CREATE (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.fmt.RequestEncodingTag".START]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.fmt.RequestEncodingTag".START (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./Projeto01, service jboss.undertow.deployment.default-server.default-host./Projeto01.UndertowDeploymentInfoService]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.fmt.SetBundleTag".CREATE (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.fmt.SetBundleTag".START]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.fmt.SetBundleTag".START (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./Projeto01]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.fmt.SetLocaleTag".CREATE (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.fmt.SetLocaleTag".START]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.fmt.SetLocaleTag".START (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./Projeto01, service jboss.undertow.deployment.default-server.default-host./Projeto01.UndertowDeploymentInfoService]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.fmt.SetTimeZoneTag".CREATE (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.fmt.SetTimeZoneTag".START]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.fmt.SetTimeZoneTag".START (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./Projeto01, service jboss.undertow.deployment.default-server.default-host./Projeto01.UndertowDeploymentInfoService]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.fmt.TimeZoneTag".CREATE (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.fmt.TimeZoneTag".START]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.fmt.TimeZoneTag".START (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./Projeto01]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.sql.DateParamTag".CREATE (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.sql.DateParamTag".START]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.sql.DateParamTag".START (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./Projeto01, service jboss.undertow.deployment.default-server.default-host./Projeto01.UndertowDeploymentInfoService]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.sql.ParamTag".CREATE (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.sql.ParamTag".START]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.sql.ParamTag".START (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./Projeto01, service jboss.undertow.deployment.default-server.default-host./Projeto01.UndertowDeploymentInfoService]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.sql.QueryTag".CREATE (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.sql.QueryTag".START]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.sql.QueryTag".START (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./Projeto01]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.sql.SetDataSourceTag".CREATE (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.sql.SetDataSourceTag".START]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.sql.SetDataSourceTag".START (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./Projeto01, service jboss.undertow.deployment.default-server.default-host./Projeto01.UndertowDeploymentInfoService]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.sql.TransactionTag".CREATE (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.sql.TransactionTag".START]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.sql.TransactionTag".START (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./Projeto01, service jboss.undertow.deployment.default-server.default-host./Projeto01.UndertowDeploymentInfoService]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.sql.UpdateTag".CREATE (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.sql.UpdateTag".START]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.sql.UpdateTag".START (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./Projeto01]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.xml.ExprTag".CREATE (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.xml.ExprTag".START]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.xml.ExprTag".START (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./Projeto01, service jboss.undertow.deployment.default-server.default-host./Projeto01.UndertowDeploymentInfoService]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.xml.ParamTag".START (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./Projeto01, service jboss.undertow.deployment.default-server.default-host./Projeto01.UndertowDeploymentInfoService]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.xml.ParseTag".CREATE (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.xml.ParseTag".START]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.xml.ParseTag".START (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./Projeto01, service jboss.undertow.deployment.default-server.default-host./Projeto01.UndertowDeploymentInfoService]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.xml.TransformTag".CREATE (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.xml.TransformTag".START]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.el.xml.TransformTag".START (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./Projeto01, service jboss.undertow.deployment.default-server.default-host./Projeto01.UndertowDeploymentInfoService]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.rt.core.ForEachTag".START (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./Projeto01, service jboss.undertow.deployment.default-server.default-host./Projeto01.UndertowDeploymentInfoService]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.rt.core.ForTokensTag".CREATE (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.rt.core.ForTokensTag".START]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.rt.core.ForTokensTag".START (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./Projeto01, service jboss.undertow.deployment.default-server.default-host./Projeto01.UndertowDeploymentInfoService]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.rt.core.IfTag".CREATE (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.rt.core.IfTag".START]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.rt.core.IfTag".START (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./Projeto01, service jboss.undertow.deployment.default-server.default-host./Projeto01.UndertowDeploymentInfoService]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.rt.core.ImportTag".CREATE (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.rt.core.ImportTag".START]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.rt.core.ImportTag".START (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./Projeto01, service jboss.undertow.deployment.default-server.default-host./Projeto01.UndertowDeploymentInfoService]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.rt.core.OutTag".CREATE (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.rt.core.OutTag".START]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.rt.core.OutTag".START (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./Projeto01, service jboss.undertow.deployment.default-server.default-host./Projeto01.UndertowDeploymentInfoService]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.rt.core.ParamTag".CREATE (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.rt.core.ParamTag".START]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.rt.core.ParamTag".START (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./Projeto01]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.rt.core.RedirectTag".CREATE (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.rt.core.RedirectTag".START]
service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.rt.core.RedirectTag".START (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./Projeto01, service jboss.undertow.deployment.default-server.default-host./Projeto01.UndertowDeploymentInfoService]
service jboss.deployment.unit."Projeto01.war".jndiDependencyService (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.rt.sql.ParamTag".START, service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.rt.core.IfTag".START, service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.rt.core.OutTag".START, service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.common.xml.IfTag".START, JBAS014799: ... and 77 more ]
service jboss.persistenceunit."Projeto01.war#cartorio" (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.rt.sql.ParamTag".START, service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.rt.core.IfTag".START, service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.rt.core.OutTag".START, service jboss.deployment.unit."Projeto01.war".component."org.apache.taglibs.standard.tag.common.xml.IfTag".START, JBAS014799: ... and 78 more ]
service jboss.undertow.deployment.default-server.default-host./Projeto01 (unavailable) dependents: [service jboss.deployment.unit."Projeto01.war".deploymentCompleteService]
service jboss.undertow.deployment.default-server.default-host./Projeto01.UndertowDeploymentInfoService (unavailable) dependents: [service jboss.undertow.deployment.default-server.default-host./Projeto01]
JBAS014777: Services which failed to start: service jboss.persistenceunit."Projeto01.war#cartorio"
service jboss.persistenceunit."Projeto01.war#cartorio": org.jboss.msc.service.StartException in service jboss.persistenceunit."Projeto01.war#cartorio": javax.persistence.PersistenceException: [PersistenceUnit: cartorio] Unable to build Hibernate SessionFactory
最佳答案
每个@Entity
必须有一个@Id
字段。您的新类(class)中可能没有它。
关于java - 添加@Entity时 hibernate 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21667715/
SQLite、Content provider 和 Shared Preference 之间的所有已知区别。 但我想知道什么时候需要根据情况使用 SQLite 或 Content Provider 或
警告:我正在使用一个我无法完全控制的后端,所以我正在努力解决 Backbone 中的一些注意事项,这些注意事项可能在其他地方更好地解决......不幸的是,我别无选择,只能在这里处理它们! 所以,我的
我一整天都在挣扎。我的预输入搜索表达式与远程 json 数据完美配合。但是当我尝试使用相同的 json 数据作为预取数据时,建议为空。点击第一个标志后,我收到预定义消息“无法找到任何内容...”,结果
我正在制作一个模拟 NHL 选秀彩票的程序,其中屏幕右侧应该有一个 JTextField,并且在左侧绘制弹跳的选秀球。我创建了一个名为 Ball 的类,它实现了 Runnable,并在我的主 Draf
这个问题已经有答案了: How can I calculate a time span in Java and format the output? (18 个回答) 已关闭 9 年前。 这是我的代码
我有一个 ASP.NET Web API 应用程序在我的本地 IIS 实例上运行。 Web 应用程序配置有 CORS。我调用的 Web API 方法类似于: [POST("/API/{foo}/{ba
我将用户输入的时间和日期作为: DatePicker dp = (DatePicker) findViewById(R.id.datePicker); TimePicker tp = (TimePic
放宽“邻居”的标准是否足够,或者是否有其他标准行动可以采取? 最佳答案 如果所有相邻解决方案都是 Tabu,则听起来您的 Tabu 列表的大小太长或您的释放策略太严格。一个好的 Tabu 列表长度是
我正在阅读来自 cppreference 的代码示例: #include #include #include #include template void print_queue(T& q)
我快疯了,我试图理解工具提示的行为,但没有成功。 1. 第一个问题是当我尝试通过插件(按钮 1)在点击事件中使用它时 -> 如果您转到 Fiddle,您会在“内容”内看到该函数' 每次点击都会调用该属
我在功能组件中有以下代码: const [ folder, setFolder ] = useState([]); const folderData = useContext(FolderContex
我在使用预签名网址和 AFNetworking 3.0 从 S3 获取图像时遇到问题。我可以使用 NSMutableURLRequest 和 NSURLSession 获取图像,但是当我使用 AFHT
我正在使用 Oracle ojdbc 12 和 Java 8 处理 Oracle UCP 管理器的问题。当 UCP 池启动失败时,我希望关闭它创建的连接。 当池初始化期间遇到 ORA-02391:超过
关闭。此题需要details or clarity 。目前不接受答案。 想要改进这个问题吗?通过 editing this post 添加详细信息并澄清问题. 已关闭 9 年前。 Improve
引用这个plunker: https://plnkr.co/edit/GWsbdDWVvBYNMqyxzlLY?p=preview 我在 styles.css 文件和 src/app.ts 文件中指定
为什么我的条形这么细?我尝试将宽度设置为 1,它们变得非常厚。我不知道还能尝试什么。默认厚度为 0.8,这是应该的样子吗? import matplotlib.pyplot as plt import
当我编写时,查询按预期执行: SELECT id, day2.count - day1.count AS diff FROM day1 NATURAL JOIN day2; 但我真正想要的是右连接。当
我有以下时间数据: 0 08/01/16 13:07:46,335437 1 18/02/16 08:40:40,565575 2 14/01/16 22:2
一些背景知识 -我的 NodeJS 服务器在端口 3001 上运行,我的 React 应用程序在端口 3000 上运行。我在 React 应用程序 package.json 中设置了一个代理来代理对端
我面临着一个愚蠢的问题。我试图在我的 Angular 应用程序中延迟加载我的图像,我已经尝试过这个2: 但是他们都设置了 src attr 而不是 data-src,我在这里遗漏了什么吗?保留 d
我是一名优秀的程序员,十分优秀!