- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在处理一个多模块 gradle 项目(12 个模块)。我继承了该项目,需要更新其中使用的一些库的版本。
我正在尝试切换到使用 hibernate-core 版本 5.4.10.Final。我无法理解这个错误的原因:
... 35 more
Caused by: java.lang.AbstractMethodError
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:286)
at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:462)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:708)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:724)
at org.springframework.orm.hibernate5.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:616)
at org.springframework.orm.hibernate5.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:600)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1855)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1792)
... 48 more
我有:
注册表:
构造函数的这一行
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:286)
包含调用“Integrator”接口(interface)的“integrate”方法的说明。
285 for ( Integrator integrator : serviceRegistry.getService( IntegratorService.class ).getIntegrators() ) {
286 integrator.integrate( metadata, this, this.serviceRegistry );
287 integratorObserver.integrators.add( integrator );
288 }
这些类(SessionFactoryImpl)和接口(interface)(Integrator)是“org.hibernate”库的“hibernate-core”模块的一部分。我正在尝试升级到其版本 5.4.10.Final。在崩溃站点,“integrator”变量是“HibernateSeearchIntegrator”类的实例。
“HibernateSearchIntegrator”类是“hibernate-search”模块的一部分。但是,根据我的项目的模块,包含此模块不会给出任何内容。该项目使用该模块的旧版本(5.3.0.Final),which had to be returned .
主应用程序模块的依赖关系树如下所示:
...$ gradle sa:dependencies --configuration compile
> Task :sa:dependencies
------------------------------------------------------------
Project :sa
------------------------------------------------------------
compile - Dependencies for source set 'main' (deprecated, use 'implementation' instead).
+--- project :wrath
| +--- project :domain
| | +--- project :model
| | | +--- org.springframework:spring-core:5.2.2.RELEASE
| | | | \--- org.springframework:spring-jcl:5.2.2.RELEASE
| | | +--- org.springframework:spring-context:5.2.2.RELEASE
| | | | +--- org.springframework:spring-aop:5.2.2.RELEASE
| | | | | +--- org.springframework:spring-beans:5.2.2.RELEASE
| | | | | | \--- org.springframework:spring-core:5.2.2.RELEASE (*)
| | | | | \--- org.springframework:spring-core:5.2.2.RELEASE (*)
| | | | +--- org.springframework:spring-beans:5.2.2.RELEASE (*)
| | | | +--- org.springframework:spring-core:5.2.2.RELEASE (*)
| | | | \--- org.springframework:spring-expression:5.2.2.RELEASE
| | | | \--- org.springframework:spring-core:5.2.2.RELEASE (*)
| | | +--- com.fasterxml.jackson.core:jackson-annotations:2.6.0
| | | +--- org.hibernate.validator:hibernate-validator:6.1.0.Final
| | | | +--- jakarta.validation:jakarta.validation-api:2.0.2
| | | | +--- org.jboss.logging:jboss-logging:3.3.2.Final
| | | | \--- com.fasterxml:classmate:1.3.4 -> 1.5.1
| | | \--- commons-beanutils:commons-beanutils:1.9.4
| | | +--- commons-logging:commons-logging:1.2
| | | \--- commons-collections:commons-collections:3.2.2
| | +--- project :bora
| | | +--- com.fasterxml.jackson.core:jackson-core:2.6.0
| | | +--- com.fasterxml.jackson.core:jackson-databind:2.6.0
| | | | +--- com.fasterxml.jackson.core:jackson-annotations:2.6.0
| | | | \--- com.fasterxml.jackson.core:jackson-core:2.6.0
| | | +--- com.fasterxml.jackson.core:jackson-annotations:2.6.0
| | | \--- commons-io:commons-io:2.6
| | +--- com.fasterxml.jackson.core:jackson-annotations:2.6.0
| | +--- commons-beanutils:commons-beanutils:1.9.4 (*)
| | +--- com.ibm.icu:icu4j:65.1
| | +--- com.google.gag:gag:1.0.1
| | +--- com.google.guava:guava:28.2-jre
| | | +--- com.google.guava:failureaccess:1.0.1
| | | +--- com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava
| | | +--- com.google.code.findbugs:jsr305:3.0.2
| | | +--- org.checkerframework:checker-qual:2.10.0
| | | +--- com.google.errorprone:error_prone_annotations:2.3.4
| | | \--- com.google.j2objc:j2objc-annotations:1.3
| | +--- joda-time:joda-time:2.1 -> 2.9.7
| | +--- org.apache.commons:commons-lang3:3.9
| | +--- org.springframework:spring-core:5.2.2.RELEASE (*)
| | +--- org.springframework:spring-tx:5.2.2.RELEASE
| | | +--- org.springframework:spring-beans:5.2.2.RELEASE (*)
| | | \--- org.springframework:spring-core:5.2.2.RELEASE (*)
| | +--- org.springframework:spring-context-support:5.2.2.RELEASE
| | | +--- org.springframework:spring-beans:5.2.2.RELEASE (*)
| | | +--- org.springframework:spring-context:5.2.2.RELEASE (*)
| | | \--- org.springframework:spring-core:5.2.2.RELEASE (*)
| | +--- org.springframework.data:spring-data-mongodb:1.10.22.RELEASE
| | | +--- org.springframework:spring-tx:4.3.24.RELEASE -> 5.2.2.RELEASE (*)
| | | +--- org.springframework:spring-context:4.3.24.RELEASE -> 5.2.2.RELEASE (*)
| | | +--- org.springframework:spring-beans:4.3.24.RELEASE -> 5.2.2.RELEASE (*)
| | | +--- org.springframework:spring-core:4.3.24.RELEASE -> 5.2.2.RELEASE (*)
| | | +--- org.springframework:spring-expression:4.3.24.RELEASE -> 5.2.2.RELEASE (*)
| | | +--- org.springframework.data:spring-data-commons:1.13.22.RELEASE
| | | | +--- org.springframework:spring-core:4.3.24.RELEASE -> 5.2.2.RELEASE (*)
| | | | +--- org.springframework:spring-beans:4.3.24.RELEASE -> 5.2.2.RELEASE (*)
| | | | +--- org.slf4j:slf4j-api:1.7.25 -> 1.7.30
| | | | \--- org.slf4j:jcl-over-slf4j:1.7.25
| | | | \--- org.slf4j:slf4j-api:1.7.25 -> 1.7.30
| | | +--- org.mongodb:mongo-java-driver:2.14.3
| | | +--- org.slf4j:slf4j-api:1.7.25 -> 1.7.30
| | | \--- org.slf4j:jcl-over-slf4j:1.7.25 (*)
|>>>>|>>>>+--- org.hibernate:hibernate-search:5.3.0.Final <<<<<<<<<<<<<<<<<<<<<<
| | | \--- org.hibernate:hibernate-search-orm:5.3.0.Final
| | | +--- org.hibernate:hibernate-search-engine:5.3.0.Final
| | | | +--- org.hibernate.common:hibernate-commons-annotations:4.0.5.Final -> 5.1.0.Final
| | | | | \--- org.jboss.logging:jboss-logging:3.3.2.Final
| | | | +--- org.apache.lucene:lucene-core:4.10.4
| | | | +--- org.apache.lucene:lucene-analyzers-common:4.10.4
| | | | | \--- org.apache.lucene:lucene-core:4.10.4
| | | | +--- org.apache.lucene:lucene-facet:4.10.4
| | | | | +--- org.apache.lucene:lucene-core:4.10.4
| | | | | \--- org.apache.lucene:lucene-queries:4.10.4
| | | | \--- org.jboss.logging:jboss-logging:3.1.4.GA -> 3.3.2.Final
| | | \--- org.hibernate:hibernate-core:4.3.10.Final -> 5.4.10.Final
| | | +--- org.jboss.logging:jboss-logging:3.3.2.Final
| | | +--- javax.persistence:javax.persistence-api:2.2
| | | +--- org.javassist:javassist:3.24.0-GA
| | | +--- net.bytebuddy:byte-buddy:1.10.2
| | | +--- antlr:antlr:2.7.7
| | | +--- org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:1.1.1.Final
| | | +--- org.jboss:jandex:2.1.1.Final
| | | +--- com.fasterxml:classmate:1.5.1
| | | +--- javax.activation:javax.activation-api:1.2.0
| | | +--- org.dom4j:dom4j:2.1.1
| | | +--- org.hibernate.common:hibernate-commons-annotations:5.1.0.Final (*)
| | | +--- javax.xml.bind:jaxb-api:2.3.1
| | | | \--- javax.activation:javax.activation-api:1.2.0
| | | \--- org.glassfish.jaxb:jaxb-runtime:2.3.1
| | | +--- javax.xml.bind:jaxb-api:2.3.1 (*)
| | | +--- org.glassfish.jaxb:txw2:2.3.1
| | | +--- com.sun.istack:istack-commons-runtime:3.0.7
| | | +--- org.jvnet.staxex:stax-ex:1.8
| | | +--- com.sun.xml.fastinfoset:FastInfoset:1.2.15
| | | \--- javax.activation:javax.activation-api:1.2.0
| | +--- org.slf4j:slf4j-log4j12:1.7.30
| | | +--- org.slf4j:slf4j-api:1.7.30
| | | \--- log4j:log4j:1.2.17
| | \--- uk.com.robust-it:cloning:1.9.12
| | \--- org.objenesis:objenesis:3.0.1
| +--- project :bora (*)
| +--- io.undertow:undertow-core:2.0.0.Final
| | +--- org.jboss.logging:jboss-logging:3.3.0.Final -> 3.3.2.Final
| | +--- org.jboss.xnio:xnio-api:3.3.8.Final
| | \--- org.jboss.xnio:xnio-nio:3.3.8.Final
| | \--- org.jboss.xnio:xnio-api:3.3.8.Final
| +--- io.undertow:undertow-servlet:2.0.0.Final
| | +--- io.undertow:undertow-core:2.0.0.Final (*)
| | +--- org.jboss.spec.javax.servlet:jboss-servlet-api_4.0_spec:1.0.0.Final
| | \--- org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec:1.0.2.Final
| +--- org.springframework:spring-webmvc:5.2.2.RELEASE
| | +--- org.springframework:spring-aop:5.2.2.RELEASE (*)
| | +--- org.springframework:spring-beans:5.2.2.RELEASE (*)
| | +--- org.springframework:spring-context:5.2.2.RELEASE (*)
| | +--- org.springframework:spring-core:5.2.2.RELEASE (*)
| | +--- org.springframework:spring-expression:5.2.2.RELEASE (*)
| | \--- org.springframework:spring-web:5.2.2.RELEASE
| | +--- org.springframework:spring-beans:5.2.2.RELEASE (*)
| | \--- org.springframework:spring-core:5.2.2.RELEASE (*)
| +--- org.springframework:spring-web:5.2.2.RELEASE (*)
| +--- org.springframework:spring-tx:5.2.2.RELEASE (*)
| +--- org.springframework:spring-orm:5.2.2.RELEASE
| | +--- org.springframework:spring-beans:5.2.2.RELEASE (*)
| | +--- org.springframework:spring-core:5.2.2.RELEASE (*)
| | +--- org.springframework:spring-jdbc:5.2.2.RELEASE
| | | +--- org.springframework:spring-beans:5.2.2.RELEASE (*)
| | | +--- org.springframework:spring-core:5.2.2.RELEASE (*)
| | | \--- org.springframework:spring-tx:5.2.2.RELEASE (*)
| | \--- org.springframework:spring-tx:5.2.2.RELEASE (*)
| +--- org.springframework:spring-context-support:5.2.2.RELEASE (*)
| +--- org.springframework.security:spring-security-config:3.2.10.RELEASE
| | +--- aopalliance:aopalliance:1.0
| | +--- org.springframework.security:spring-security-core:3.2.10.RELEASE
| | | +--- aopalliance:aopalliance:1.0
| | | +--- org.springframework:spring-aop:3.2.18.RELEASE -> 5.2.2.RELEASE (*)
| | | +--- org.springframework:spring-beans:3.2.18.RELEASE -> 5.2.2.RELEASE (*)
| | | +--- org.springframework:spring-context:3.2.18.RELEASE -> 5.2.2.RELEASE (*)
| | | +--- org.springframework:spring-core:3.2.18.RELEASE -> 5.2.2.RELEASE (*)
| | | \--- org.springframework:spring-expression:3.2.18.RELEASE -> 5.2.2.RELEASE (*)
| | +--- org.springframework:spring-aop:3.2.18.RELEASE -> 5.2.2.RELEASE (*)
| | +--- org.springframework:spring-beans:3.2.18.RELEASE -> 5.2.2.RELEASE (*)
| | +--- org.springframework:spring-context:3.2.18.RELEASE -> 5.2.2.RELEASE (*)
| | \--- org.springframework:spring-core:3.2.18.RELEASE -> 5.2.2.RELEASE (*)
| +--- org.springframework.security:spring-security-web:3.2.10.RELEASE
| | +--- aopalliance:aopalliance:1.0
| | +--- org.springframework.security:spring-security-core:3.2.10.RELEASE (*)
| | +--- org.springframework:spring-beans:3.2.18.RELEASE -> 5.2.2.RELEASE (*)
| | +--- org.springframework:spring-context:3.2.18.RELEASE -> 5.2.2.RELEASE (*)
| | +--- org.springframework:spring-core:3.2.18.RELEASE -> 5.2.2.RELEASE (*)
| | +--- org.springframework:spring-expression:3.2.18.RELEASE -> 5.2.2.RELEASE (*)
| | \--- org.springframework:spring-web:3.2.18.RELEASE -> 5.2.2.RELEASE (*)
| +--- com.vaadin:vaadin:6.8.4
| +--- javax:javaee-api:8.0.1
| | \--- com.sun.mail:javax.mail:1.6.2
| | \--- javax.activation:activation:1.1
| +--- org.slf4j:slf4j-log4j12:1.7.30 (*)
| \--- javax.xml.bind:jaxb-api:2.3.0 -> 2.3.1 (*)
+--- project :dataserver
| +--- project :domain (*)
| +--- project :serverside
| | +--- project :domain (*)
| | +--- project :bora (*)
| | +--- ru.leasoft.armspk:ostro-core:2.0.7
| | | \--- org.springframework:spring-web:4.1.7.RELEASE -> 5.2.2.RELEASE (*)
| | +--- ru.leasoft.armspk:ostro-api:2.0.7
| | | +--- ru.leasoft.armspk:ostro-core:2.0.7 (*)
| | | +--- org.springframework:spring-web:4.1.7.RELEASE -> 5.2.2.RELEASE (*)
| | | +--- org.springframework:spring-webmvc:4.1.7.RELEASE -> 5.2.2.RELEASE (*)
| | | +--- com.fasterxml.jackson.core:jackson-core:2.6.0
| | | \--- com.fasterxml.jackson.core:jackson-databind:2.6.0 (*)
| | +--- ru.leasoft.armspk:ostro-ui:2.0.7
| | +--- org.aspectj:aspectjweaver:1.9.5
| | +--- org.apache.poi:poi:3.12
| | | \--- commons-codec:commons-codec:1.9
| | +--- org.apache.poi:poi-ooxml:3.12
| | | +--- org.apache.poi:poi:3.12 (*)
| | | \--- org.apache.poi:poi-ooxml-schemas:3.12
| | | \--- org.apache.xmlbeans:xmlbeans:2.6.0
| | | \--- stax:stax-api:1.0.1
| | +--- org.springframework.security:spring-security-acl:3.2.10.RELEASE
| | | +--- aopalliance:aopalliance:1.0
| | | +--- org.springframework.security:spring-security-core:3.2.10.RELEASE (*)
| | | +--- org.springframework:spring-aop:3.2.18.RELEASE -> 5.2.2.RELEASE (*)
| | | +--- org.springframework:spring-context:3.2.18.RELEASE -> 5.2.2.RELEASE (*)
| | | +--- org.springframework:spring-core:3.2.18.RELEASE -> 5.2.2.RELEASE (*)
| | | +--- org.springframework:spring-jdbc:3.2.18.RELEASE -> 5.2.2.RELEASE (*)
| | | \--- org.springframework:spring-tx:3.2.18.RELEASE -> 5.2.2.RELEASE (*)
| | +--- org.springframework.security:spring-security-core:3.2.10.RELEASE (*)
| | +--- org.springframework:spring-tx:5.2.2.RELEASE (*)
| | +--- org.springframework:spring-context:5.2.2.RELEASE (*)
| | +--- net.sf.dozer:dozer:5.5.1
| | | +--- commons-beanutils:commons-beanutils:1.9.1 -> 1.9.4 (*)
| | | +--- org.apache.commons:commons-lang3:3.2.1 -> 3.9
| | | +--- org.slf4j:slf4j-api:1.7.5 -> 1.7.30
| | | \--- org.slf4j:jcl-over-slf4j:1.7.5 -> 1.7.25 (*)
| | +--- net.sf.dozer:dozer-spring:5.5.1
| | +--- org.javers:javers-core:5.3.4
| | | +--- org.slf4j:slf4j-api:1.7.25 -> 1.7.30
| | | +--- com.google.code.gson:gson:2.8.5
| | | +--- org.picocontainer:picocontainer:2.15
| | | +--- io.github.classgraph:classgraph:4.4.12
| | | +--- joda-time:joda-time:2.9.7
| | | \--- com.google.guava:guava:27.0-jre -> 28.2-jre (*)
| | +--- com.google.guava:guava:28.2-jre (*)
| | +--- com.lowagie:itext:4.2.1
| | | \--- com.itextpdf:itextpdf:5.5.6 -> 5.5.13.1
| | +--- com.jamesmurty.utils:java-xmlbuilder:1.1
| | | \--- net.iharder:base64:2.3.8
| | +--- org.jsoup:jsoup:1.7.2
| | +--- org.slf4j:slf4j-api:1.7.5 -> 1.7.30
| | \--- org.slf4j:slf4j-log4j12:1.7.30 (*)
| +--- project :migrations
| | \--- org.flywaydb:flyway-core:3.2.1
| +--- org.springframework:spring-beans:5.2.2.RELEASE (*)
| +--- org.springframework.security:spring-security-acl:3.2.10.RELEASE (*)
| +--- org.springframework:spring-context-support:5.2.2.RELEASE (*)
| +--- org.springframework.data:spring-data-mongodb:1.10.22.RELEASE (*)
| \--- org.slf4j:slf4j-log4j12:1.7.30 (*)
+--- project :webserver
| +--- project :domain (*)
| +--- project :sloth
| | +--- project :model (*)
| | +--- project :domain (*)
| | +--- com.google.gag:gag:1.0.1
| | +--- com.google.guava:guava:28.2-jre (*)
| | +--- org.springframework.security:spring-security-core:3.2.10.RELEASE (*)
| | +--- com.itextpdf:itextpdf:5.5.13.1
| | +--- com.vaadin:vaadin:6.8.4
| | +--- org.vaadin.addons:wizards-for-vaadin:0.4.5
| | +--- org.vaadin.addon:confirmdialog:1.2.1
| | | \--- com.vaadin:vaadin:6.5.7 -> 6.8.4
| | +--- org.vaadin.addons:contextmenu:3.1.0
| | +--- org.vaadin.addons:stepper:1.2.0
| | +--- org.vaadin.addons:easyuploads:0.5.3
| | +--- uk.com.robust-it:cloning:1.9.12 (*)
| | +--- org.jsoup:jsoup:1.7.2
| | +--- org.apache.poi:poi:3.12 (*)
| | \--- org.apache.poi:poi-ooxml:3.12 (*)
| +--- ru.leasoft.orgchart:orgchart:0.0.2
| +--- ru.leasoft.armspk:jasperfont:1.0.0
| +--- javax:javaee-api:8.0.1 (*)
| +--- org.dellroad:dellroad-stuff-vaadin:1.0.420
| +--- io.undertow:undertow-core:2.0.0.Final (*)
| +--- io.undertow:undertow-servlet:2.0.0.Final (*)
| +--- org.springframework:spring-context:5.2.2.RELEASE (*)
| +--- org.springframework:spring-web:5.2.2.RELEASE (*)
| +--- org.springframework.security:spring-security-core:3.2.10.RELEASE (*)
| +--- com.itextpdf:itextpdf:5.5.13.1
| +--- com.vaadin.addon:vaadin-charts-vaadin6:1.1.9
| | +--- com.google.code.gson:gson:2.2 -> 2.8.5
| | \--- commons-io:commons-io:1.4 -> 2.6
| +--- org.vaadin.addons:refresher:1.1.1
| +--- org.vaadin.addons:animator:1.6.6
| +--- org.vaadin.addons:wizards-for-vaadin:0.4.5
| +--- org.vaadin.addon:confirmdialog:1.2.1 (*)
| +--- org.vaadin.addons:contextmenu:3.1.0
| +--- com.google.gwt.google-apis:gwt-visualization:1.1.2
| +--- net.sf.jasperreports:jasperreports:5.5.0
| | +--- commons-beanutils:commons-beanutils:1.8.0 -> 1.9.4 (*)
| | +--- commons-collections:commons-collections:2.1 -> 3.2.2
| | +--- commons-digester:commons-digester:2.1
| | | +--- commons-beanutils:commons-beanutils:1.8.3 -> 1.9.4 (*)
| | | \--- commons-logging:commons-logging:1.1.1 -> 1.2
| | +--- commons-logging:commons-logging:1.1.1 -> 1.2
| | +--- com.lowagie:itext:2.1.7.js2 -> 4.2.1 (*)
| | +--- jfree:jcommon:1.0.15
| | +--- jfree:jfreechart:1.0.12
| | | \--- jfree:jcommon:1.0.15
| | +--- xml-apis:xml-apis:1.3.02
| | +--- eclipse:jdtcore:3.1.0
| | +--- org.codehaus.castor:castor:1.2
| | | \--- commons-logging:commons-logging:1.1.1 -> 1.2
| | +--- com.fasterxml.jackson.core:jackson-core:2.1.4 -> 2.6.0
| | +--- com.fasterxml.jackson.core:jackson-databind:2.1.4 -> 2.6.0 (*)
| | \--- com.fasterxml.jackson.core:jackson-annotations:2.1.4 -> 2.6.0
| +--- org.aspectj:aspectjweaver:1.9.5
| +--- org.jdom:jdom:2.0.2
| +--- org.jsoup:jsoup:1.7.2
| +--- org.apache.poi:poi:3.12 (*)
| +--- org.apache.poi:poi-ooxml:3.12 (*)
| +--- org.apache.poi:ooxml-schemas:1.0
| | \--- org.apache.xmlbeans:xmlbeans:2.3.0 -> 2.6.0 (*)
| +--- org.apache.poi:poi-scratchpad:3.12
| | \--- org.apache.poi:poi:3.12 (*)
| \--- org.slf4j:slf4j-log4j12:1.7.30 (*)
+--- org.springframework:spring-web:5.2.2.RELEASE (*)
+--- org.springframework:spring-webmvc:5.2.2.RELEASE (*)
+--- org.springframework:spring-tx:5.2.2.RELEASE (*)
+--- org.springframework:spring-orm:5.2.2.RELEASE (*)
+--- org.springframework:spring-context-support:5.2.2.RELEASE (*)
+--- org.hibernate:hibernate-ehcache:5.4.10.Final
| +--- org.jboss.logging:jboss-logging:3.3.2.Final
| +--- org.hibernate:hibernate-core:5.4.10.Final (*)
| \--- net.sf.ehcache:ehcache:2.10.6
| \--- org.slf4j:slf4j-api:1.7.25 -> 1.7.30
+--- org.hibernate:hibernate-c3p0:5.4.10.Final
| +--- org.jboss.logging:jboss-logging:3.3.2.Final
| +--- org.hibernate:hibernate-core:5.4.10.Final (*)
| \--- com.mchange:c3p0:0.9.5.3
| \--- com.mchange:mchange-commons-java:0.2.15
+--- org.hibernate:hibernate-entitymanager:5.4.10.Final
| +--- org.jboss.logging:jboss-logging:3.3.2.Final
| +--- org.hibernate:hibernate-core:5.4.10.Final (*)
| +--- org.dom4j:dom4j:2.1.1
| +--- org.hibernate.common:hibernate-commons-annotations:5.1.0.Final (*)
| +--- javax.persistence:javax.persistence-api:2.2
| +--- net.bytebuddy:byte-buddy:1.10.2
| \--- org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:1.1.1.Final
+--- javax.el:javax.el-api:3.0.0
+--- com.sun.el:el-ri:1.0
+--- net.sf.ehcache:ehcache-core:2.6.11
| \--- org.slf4j:slf4j-api:1.6.1 -> 1.7.30
+--- org.aspectj:aspectjweaver:1.9.5
+--- mysql:mysql-connector-java:5.1.33
\--- org.slf4j:slf4j-log4j12:1.7.30 (*)
(*) - dependencies omitted (listed previously)
A web-based, searchable dependency report is available by adding the --scan option.
BUILD SUCCESSFUL in 1s
1 actionable task: 1 executed
...$
在这里您可以看到,从项目模块可以访问“org.hibernate”库的“hibernate-search”模块。但由于某种原因,“HibernateSearchIntegrator”类中接口(interface)的实现无法从“hibernate-core”模块中获得。
第 1 版。
我尝试将 hibernate-search 模块的依赖直接添加到项目模块“sa”和“wrath”中,但没有成功。
最佳答案
感谢@StanislavL 的提示!如果将使用的 hibernate-search 模块的版本更改为“5.4.0.Final”,错误就会消失。我还没有测试过新版本。
关于java - 执行 "AbstractMethodError"构造函数时发生 "org.hibernate.internal.SessionFactoryImpl()"错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59768310/
我的转储中有大约 15,000 个相同的 SessionFactoryImpl 对象: 具有传入引用的对象之一: 具有出站引用的对象之一: 我没有配置以下参数,它们是默认设置的: hibernate.
我想将来自 postgres JDBC 的 CopyManager 用于我的一个项目。但是,我在从 Grails 项目中的 sessionFactory 获取此对象的实例时遇到问题。 这是我目前的做法
此行抛出根植于 SessionFactoryImpl#getReturnTypes 方法的 NPE: Query q = em.createQuery("DELETE FROM Table t
我正在使用 Spring/Hibernate 开发一个 Web 应用程序,经过几天的生产,它变得非常慢,所以我使用 visualvm 进行了堆转储,但我不太了解如何分析结果,我什至不知道在类似的开发堆
继续求解this problem ,我使用 MAT 发现了几个“org.hibernate.impl.SessionFactoryImpl”内存泄漏: 54 instances of "org.hib
我已经用 Java 制作了 MVC webapp,但是当我每天运行一次时,由于内存错误,它再次关闭。 这个错误是这样的:线程“http-apr-12136-exec-42”中的异常 java.lang
甚至不确定如何表达这一点,因为我不确定什么是空的。 我有一个像这样配置的 hbm.xml 文件: ` reser
下面是我的代码..我应用了Spring框架和hibernate JPA,除了一个保存它的函数之外,我的所有代码都可以工作..在其他类似的代码中,Makanan实体的服务工作得很好..我不知道在哪里错误
我们使用 Spring ORM 4.2.1.RELEASE 通过 JPA 与 Hibernate 进行交互。 Hibernate 4.3.11.Final 一切正常,但是当我们尝试升级到 Hibern
我正在处理一个多模块 gradle 项目(12 个模块)。我继承了该项目,需要更新其中使用的一些库的版本。 我正在尝试切换到使用 hibernate-core 版本 5.4.10.Final。我无法理
我每次使用 Hibernate 更新实体时都会出错。这是我的故事: 我有一个带有注解@Transactional 的服务,并且正在调用 DAO.update 方法。 @Service @Transac
最近,我将我的 hibernate 更新到版本 5.2.1.Final(目前最新),将 spring 框架更新到 4.3.0.RELEASE。当我在类 StartUp 中启动应用程序时 @Servic
最近我正在将一个简单的 Grails 应用程序与 Searchable 插件集成。我发现 Searchable 插件不适用于 Hibernate 4 库。 在这里您可以找到一个示例应用程序,它仅包含干
我有一个非常简单的 Spring Boot 1.3 应用程序,我正在尝试升级到 1.4 RC1。没有什么不是开箱即用的配置。当我尝试启动应用程序或运行测试时,我得到以下信息: 12:06:27.237
我是一名优秀的程序员,十分优秀!