TravaOpenJDK / trava-jdk-11-dcevm

dcevm-11 built on Travis
Apache License 2.0
407 stars 56 forks source link

DuplicateMemberExcepiton - any config tips to avoid this? #3

Closed espre05 closed 4 years ago

espre05 commented 5 years ago

image

> /Volumes/data/apps/devtools/java_hotswap/dcevm-11.0.1.jdk/Contents/Home/bin/java -javaagent:/Volumes/data/apps/devtools/java_hotswap/jdk11.trava-hotswap-dcevm.jdk/lib/hotswap/hotswap-agent.jar "-javaagent:/Volumes/data/apps/devtools/IntelliJ IDEA CE.app/Contents/lib/idea_rt.jar=58969:/Volumes/data/apps/devtools/IntelliJ IDEA CE.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath /Volumes/data/temp/camunda-bpm-examples/spring-boot-starter/example-webapp/target/classes:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/camunda/bpm/springboot/camunda-bpm-spring-boot-starter-webapp/3.2.0/camunda-bpm-spring-boot-starter-webapp-3.2.0.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/camunda/bpm/springboot/camunda-bpm-spring-boot-starter-webapp-core/3.2.0/camunda-bpm-spring-boot-starter-webapp-core-3.2.0.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/camunda/bpm/springboot/camunda-bpm-spring-boot-starter/3.2.0/camunda-bpm-spring-boot-starter-3.2.0.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/camunda/bpm/camunda-engine-spring/7.10.0/camunda-engine-spring-7.10.0.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/camunda/bpm/camunda-engine/7.10.0/camunda-engine-7.10.0.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/camunda/bpm/model/camunda-bpmn-model/7.10.0/camunda-bpmn-model-7.10.0.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/camunda/bpm/model/camunda-xml-model/7.10.0/camunda-xml-model-7.10.0.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/camunda/bpm/model/camunda-cmmn-model/7.10.0/camunda-cmmn-model-7.10.0.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/camunda/bpm/dmn/camunda-engine-dmn/7.10.0/camunda-engine-dmn-7.10.0.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/camunda/commons/camunda-commons-utils/1.6.0/camunda-commons-utils-1.6.0.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/camunda/bpm/model/camunda-dmn-model/7.10.0/camunda-dmn-model-7.10.0.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/camunda/bpm/dmn/camunda-engine-feel-api/7.10.0/camunda-engine-feel-api-7.10.0.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/camunda/bpm/dmn/camunda-engine-feel-juel/7.10.0/camunda-engine-feel-juel-7.10.0.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/camunda/commons/camunda-commons-logging/1.6.1/camunda-commons-logging-1.6.1.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/camunda/commons/camunda-commons-typed-values/1.6.1/camunda-commons-typed-values-1.6.1.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/apache/commons/commons-email/1.5/commons-email-1.5.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/com/sun/mail/javax.mail/1.6.2/javax.mail-1.6.2.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/javax/activation/activation/1.1/activation-1.1.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/mybatis/mybatis/3.4.4/mybatis-3.4.4.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/joda-time/joda-time/2.10.1/joda-time-2.10.1.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/springframework/spring-orm/5.1.3.RELEASE/spring-orm-5.1.3.RELEASE.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/commons-dbcp/commons-dbcp/1.4/commons-dbcp-1.4.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/commons-pool/commons-pool/1.6/commons-pool-1.6.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/com/fasterxml/uuid/java-uuid-generator/3.1.2/java-uuid-generator-3.1.2.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/camunda/bpm/webapp/camunda-webapp/7.10.0/camunda-webapp-7.10.0-classes.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/camunda/bpm/camunda-engine-rest-core/7.10.0/camunda-engine-rest-core-7.10.0.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/commons-fileupload/commons-fileupload/1.3.3/commons-fileupload-1.3.3.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/commons-io/commons-io/2.2/commons-io-2.2.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/com/fasterxml/jackson/jaxrs/jackson-jaxrs-json-provider/2.9.7/jackson-jaxrs-json-provider-2.9.7.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/com/fasterxml/jackson/jaxrs/jackson-jaxrs-base/2.9.7/jackson-jaxrs-base-2.9.7.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/springframework/boot/spring-boot-starter-web/2.1.1.RELEASE/spring-boot-starter-web-2.1.1.RELEASE.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/springframework/boot/spring-boot-starter-json/2.1.1.RELEASE/spring-boot-starter-json-2.1.1.RELEASE.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/com/fasterxml/jackson/core/jackson-databind/2.9.7/jackson-databind-2.9.7.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/com/fasterxml/jackson/core/jackson-core/2.9.7/jackson-core-2.9.7.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.9.7/jackson-datatype-jdk8-2.9.7.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.9.7/jackson-datatype-jsr310-2.9.7.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/com/fasterxml/jackson/module/jackson-module-parameter-names/2.9.7/jackson-module-parameter-names-2.9.7.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/springframework/boot/spring-boot-starter-tomcat/2.1.1.RELEASE/spring-boot-starter-tomcat-2.1.1.RELEASE.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/apache/tomcat/embed/tomcat-embed-core/9.0.13/tomcat-embed-core-9.0.13.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/apache/tomcat/embed/tomcat-embed-el/9.0.13/tomcat-embed-el-9.0.13.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/apache/tomcat/embed/tomcat-embed-websocket/9.0.13/tomcat-embed-websocket-9.0.13.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/hibernate/validator/hibernate-validator/6.0.13.Final/hibernate-validator-6.0.13.Final.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/javax/validation/validation-api/2.0.1.Final/validation-api-2.0.1.Final.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/jboss/logging/jboss-logging/3.3.2.Final/jboss-logging-3.3.2.Final.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/com/fasterxml/classmate/1.4.0/classmate-1.4.0.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/springframework/spring-web/5.1.3.RELEASE/spring-web-5.1.3.RELEASE.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/springframework/spring-webmvc/5.1.3.RELEASE/spring-webmvc-5.1.3.RELEASE.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/springframework/spring-aop/5.1.3.RELEASE/spring-aop-5.1.3.RELEASE.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/springframework/spring-expression/5.1.3.RELEASE/spring-expression-5.1.3.RELEASE.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/springframework/boot/spring-boot-starter-jersey/2.1.1.RELEASE/spring-boot-starter-jersey-2.1.1.RELEASE.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/springframework/boot/spring-boot-starter-validation/2.1.1.RELEASE/spring-boot-starter-validation-2.1.1.RELEASE.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/glassfish/jersey/core/jersey-server/2.27/jersey-server-2.27.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/glassfish/jersey/core/jersey-common/2.27/jersey-common-2.27.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/glassfish/hk2/osgi-resource-locator/1.0.1/osgi-resource-locator-1.0.1.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/glassfish/jersey/core/jersey-client/2.27/jersey-client-2.27.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/javax/ws/rs/javax.ws.rs-api/2.1/javax.ws.rs-api-2.1.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/glassfish/jersey/media/jersey-media-jaxb/2.27/jersey-media-jaxb-2.27.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/glassfish/jersey/containers/jersey-container-servlet-core/2.27/jersey-container-servlet-core-2.27.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/glassfish/jersey/containers/jersey-container-servlet/2.27/jersey-container-servlet-2.27.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/glassfish/jersey/ext/jersey-bean-validation/2.27/jersey-bean-validation-2.27.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/glassfish/jersey/ext/jersey-spring4/2.27/jersey-spring4-2.27.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/glassfish/jersey/inject/jersey-hk2/2.27/jersey-hk2-2.27.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/glassfish/hk2/hk2-locator/2.5.0-b42/hk2-locator-2.5.0-b42.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/glassfish/hk2/external/aopalliance-repackaged/2.5.0-b42/aopalliance-repackaged-2.5.0-b42.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/javassist/javassist/3.22.0-CR2/javassist-3.22.0-CR2.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/glassfish/hk2/hk2/2.5.0-b42/hk2-2.5.0-b42.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/glassfish/hk2/hk2-utils/2.5.0-b42/hk2-utils-2.5.0-b42.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/glassfish/hk2/hk2-api/2.5.0-b42/hk2-api-2.5.0-b42.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/glassfish/hk2/config-types/2.5.0-b42/config-types-2.5.0-b42.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/glassfish/hk2/hk2-core/2.5.0-b42/hk2-core-2.5.0-b42.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/glassfish/hk2/hk2-config/2.5.0-b42/hk2-config-2.5.0-b42.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/glassfish/hk2/hk2-runlevel/2.5.0-b42/hk2-runlevel-2.5.0-b42.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/glassfish/hk2/class-model/2.5.0-b42/class-model-2.5.0-b42.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/glassfish/hk2/external/asm-all-repackaged/2.5.0-b42/asm-all-repackaged-2.5.0-b42.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/glassfish/hk2/spring-bridge/2.5.0-b42/spring-bridge-2.5.0-b42.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/glassfish/jersey/media/jersey-media-json-jackson/2.27/jersey-media-json-jackson-2.27.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/glassfish/jersey/ext/jersey-entity-filtering/2.27/jersey-entity-filtering-2.27.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/com/fasterxml/jackson/core/jackson-annotations/2.9.0/jackson-annotations-2.9.0.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/com/fasterxml/jackson/module/jackson-module-jaxb-annotations/2.9.7/jackson-module-jaxb-annotations-2.9.7.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/camunda/bpm/webapp/camunda-webapp-webjar/7.10.0/camunda-webapp-webjar-7.10.0.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/springframework/boot/spring-boot-starter-jdbc/2.1.1.RELEASE/spring-boot-starter-jdbc-2.1.1.RELEASE.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/springframework/boot/spring-boot-starter/2.1.1.RELEASE/spring-boot-starter-2.1.1.RELEASE.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/springframework/boot/spring-boot/2.1.1.RELEASE/spring-boot-2.1.1.RELEASE.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/springframework/spring-context/5.1.3.RELEASE/spring-context-5.1.3.RELEASE.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/springframework/boot/spring-boot-autoconfigure/2.1.1.RELEASE/spring-boot-autoconfigure-2.1.1.RELEASE.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/springframework/boot/spring-boot-starter-logging/2.1.1.RELEASE/spring-boot-starter-logging-2.1.1.RELEASE.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/apache/logging/log4j/log4j-to-slf4j/2.11.1/log4j-to-slf4j-2.11.1.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/apache/logging/log4j/log4j-api/2.11.1/log4j-api-2.11.1.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/slf4j/jul-to-slf4j/1.7.25/jul-to-slf4j-1.7.25.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/springframework/spring-core/5.1.3.RELEASE/spring-core-5.1.3.RELEASE.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/springframework/spring-jcl/5.1.3.RELEASE/spring-jcl-5.1.3.RELEASE.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/yaml/snakeyaml/1.23/snakeyaml-1.23.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/com/zaxxer/HikariCP/3.2.0/HikariCP-3.2.0.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/springframework/spring-jdbc/5.1.3.RELEASE/spring-jdbc-5.1.3.RELEASE.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/springframework/spring-beans/5.1.3.RELEASE/spring-beans-5.1.3.RELEASE.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/springframework/spring-tx/5.1.3.RELEASE/spring-tx-5.1.3.RELEASE.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/org/postgresql/postgresql/42.2.2/postgresql-42.2.2.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/com/sun/xml/bind/jaxb-impl/2.2.3/jaxb-impl-2.2.3.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/javax/xml/bind/jaxb-api/2.3.1/jaxb-api-2.3.1.jar:/Volumes/data/apps/devtools_archive/m2_repo/repository/javax/activation/javax.activation-api/1.2.0/javax.activation-api-1.2.0.jar org.camunda.bpm.spring.boot.example.webapp.WebappExampleApplication
> HOTSWAP AGENT: 15:26:18.019 INFO (org.hotswap.agent.HotswapAgent) - Loading Hotswap agent {1.3.1-SNAPSHOT} - unlimited runtime class redefinition.
> HOTSWAP AGENT: 15:26:18.556 INFO (org.hotswap.agent.config.PluginRegistry) - Discovered plugins: [Hotswapper, JdkPlugin, WatchResources, ClassInitPlugin, AnonymousClassPatch, Hibernate, Hibernate3JPA, Hibernate3, Spring, Jersey1, Jersey2, Jetty, Tomcat, ZK, Logback, Log4j2, MyFaces, Mojarra, Omnifaces, Seam, ELResolver, WildFlyELResolver, OsgiEquinox, Owb, Proxy, WebObjects, Weld, JBossModules, ResteasyRegistry, Deltaspike, GlassFish, Vaadin]
> HOTSWAP AGENT: 15:26:18.603 INFO (org.hotswap.agent.HotswapAgent) - Loading Hotswap agent {1.3.1-SNAPSHOT} - unlimited runtime class redefinition.
> HOTSWAP AGENT: 15:26:18.986 INFO (org.hotswap.agent.config.PluginRegistry) - Discovered plugins: [Wicket]
> Starting HotswapAgent '/Volumes/data/apps/devtools/java_hotswap/dcevm-11.0.1.jdk/Contents/Home/lib/hotswap/hotswap-agent.jar'
> 
>  ____                                 _         ____  ____  __  __
> / ___| __ _ _ __ ___  _   _ _ __   __| | __ _  | __ )|  _ \|  \/  |
> | |   / _` | '_ ` _ \| | | | '_ \ / _` |/ _` | |  _ \| |_) | |\/| |
> | |__| (_| | | | | | | |_| | | | | (_| | (_| | | |_) |  __/| |  | |
> \____/\__,_|_| |_| |_|\__,_|_| |_|\__,_|\__,_| |____/|_|   |_|  |_|
> 
>   Spring-Boot:  (v2.1.1.RELEASE)
>   Camunda BPM: (v7.10.0)
>   Camunda BPM Spring Boot Starter: (v3.2.0)
> 
> HOTSWAP AGENT: 15:26:21.091 INFO (org.hotswap.agent.config.PluginRegistry) - Plugin 'org.hotswap.agent.plugin.spring.SpringPlugin' initialized in ClassLoader 'jdk.internal.loader.ClassLoaders$AppClassLoader@512ddf17'.
> HOTSWAP AGENT: 15:26:21.092 INFO (org.hotswap.agent.plugin.spring.SpringPlugin) - Spring plugin initialized - Spring core version '5.1.3.RELEASE'
> HOTSWAP AGENT: 15:26:21.092 INFO (org.hotswap.agent.plugin.spring.SpringPlugin) - Spring plugin initialized - Spring core version '5.1.3.RELEASE'
> 2018-12-13 15:26:21.267  INFO 23205 --- [           main] o.c.b.s.b.e.w.WebappExampleApplication   : Starting WebappExampleApplication on ML02 with PID 23205 (/Volumes/data/temp/camunda-bpm-examples/spring-boot-starter/example-webapp/target/classes started by pro in /Volumes/data/temp/camunda-bpm-examples)
> 2018-12-13 15:26:21.274  INFO 23205 --- [           main] o.c.b.s.b.e.w.WebappExampleApplication   : No active profile set, falling back to default profiles: default
> HOTSWAP AGENT: 15:26:21.374 ERROR (org.hotswap.agent.annotation.handler.PluginClassFileTransformer) - InvocationTargetException in transform method on plugin 'class org.hotswap.agent.plugin.hibernate.HibernatePlugin' class 'org/hibernate/validator/internal/metadata/BeanMetaDataManager'.
> java.lang.reflect.InvocationTargetException
>   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>   at org.hotswap.agent.annotation.handler.PluginClassFileTransformer.transform(PluginClassFileTransformer.java:193)
>   at org.hotswap.agent.annotation.handler.PluginClassFileTransformer.transform(PluginClassFileTransformer.java:89)
>   at org.hotswap.agent.util.HotswapTransformer.transform(HotswapTransformer.java:184)
>   at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:246)
>   at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
>   at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:563)
>   at java.base/java.lang.ClassLoader.defineClass1(Native Method)
>   at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016)
>   at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
>   at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:802)
>   at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:700)
>   at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:623)
>   at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
>   at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
>   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
>   at org.hibernate.validator.internal.engine.ValidatorFactoryImpl.createValidator(ValidatorFactoryImpl.java:343)
>   at org.hibernate.validator.internal.engine.ValidatorFactoryImpl.getValidator(ValidatorFactoryImpl.java:245)
>   at org.springframework.boot.autoconfigure.BackgroundPreinitializer$ValidationInitializer.run(BackgroundPreinitializer.java:156)
>   at org.springframework.boot.autoconfigure.BackgroundPreinitializer$1.runSafely(BackgroundPreinitializer.java:106)
>   at org.springframework.boot.autoconfigure.BackgroundPreinitializer$1.run(BackgroundPreinitializer.java:96)
>   at java.base/java.lang.Thread.run(Thread.java:834)
> Caused by: org.hotswap.agent.javassist.bytecode.DuplicateMemberException: duplicate method: __resetCache in org.hibernate.validator.internal.metadata.BeanMetaDataManager
>   at org.hotswap.agent.javassist.bytecode.ClassFile.testExistingMethod(ClassFile.java:685)
>   at org.hotswap.agent.javassist.bytecode.ClassFile.addMethod(ClassFile.java:660)
>   at org.hotswap.agent.javassist.CtClassType.addMethod(CtClassType.java:1512)
>   at org.hotswap.agent.plugin.hibernate.HibernateTransformers.beanMetaDataManagerRegisterVariable(HibernateTransformers.java:106)
>   ... 25 more
> 
> HOTSWAP AGENT: 15:26:21.922 INFO (org.hotswap.agent.plugin.spring.SpringPlugin) - Registering basePackage org.camunda.bpm.spring.boot.example.webapp
> HOTSWAP AGENT: 15:26:21.933 INFO (org.hotswap.agent.plugin.spring.SpringPlugin) - Registering basePackage org.camunda.bpm.spring.boot.example.webapp
> HOTSWAP AGENT: 15:26:22.066 ERROR (org.hotswap.agent.annotation.handler.PluginClassFileTransformer) - InvocationTargetException in transform method on plugin 'class org.hotswap.agent.plugin.hibernate.HibernatePlugin' class 'org/hibernate/validator/internal/metadata/provider/AnnotationMetaDataProvider'.
> java.lang.reflect.InvocationTargetException
>   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>   at org.hotswap.agent.annotation.handler.PluginClassFileTransformer.transform(PluginClassFileTransformer.java:193)
>   at org.hotswap.agent.annotation.handler.PluginClassFileTransformer.transform(PluginClassFileTransformer.java:89)
>   at org.hotswap.agent.util.HotswapTransformer.transform(HotswapTransformer.java:184)
>   at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:246)
>   at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
>   at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:563)
>   at java.base/java.lang.ClassLoader.defineClass1(Native Method)
>   at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016)
>   at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
>   at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:802)
>   at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:700)
>   at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:623)
>   at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
>   at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
>   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
>   at org.hibernate.validator.internal.metadata.BeanMetaDataManager.<init>(BeanMetaDataManager.java:145)
>   at org.hibernate.validator.internal.engine.ValidatorFactoryImpl.lambda$createValidator$0(ValidatorFactoryImpl.java:351)
>   at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1705)
>   at org.hibernate.validator.internal.engine.ValidatorFactoryImpl.createValidator(ValidatorFactoryImpl.java:342)
>   at org.hibernate.validator.internal.engine.ValidatorFactoryImpl.getValidator(ValidatorFactoryImpl.java:245)
>   at org.springframework.boot.autoconfigure.BackgroundPreinitializer$ValidationInitializer.run(BackgroundPreinitializer.java:156)
>   at org.springframework.boot.autoconfigure.BackgroundPreinitializer$1.runSafely(BackgroundPreinitializer.java:106)
>   at org.springframework.boot.autoconfigure.BackgroundPreinitializer$1.run(BackgroundPreinitializer.java:96)
>   at java.base/java.lang.Thread.run(Thread.java:834)
> Caused by: org.hotswap.agent.javassist.bytecode.DuplicateMemberException: duplicate method: __resetCache in org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider
>   at org.hotswap.agent.javassist.bytecode.ClassFile.testExistingMethod(ClassFile.java:685)
>   at org.hotswap.agent.javassist.bytecode.ClassFile.addMethod(ClassFile.java:660)
>   at org.hotswap.agent.javassist.CtClassType.addMethod(CtClassType.java:1512)
>   at org.hotswap.agent.plugin.hibernate.HibernateTransformers.annotationMetaDataProviderRegisterVariable(HibernateTransformers.java:131)
>   ... 28 more
> 
> HOTSWAP AGENT: 15:26:22.121 INFO (org.hotswap.agent.config.PluginRegistry) - Plugin 'org.hotswap.agent.plugin.hibernate.HibernatePlugin' initialized in ClassLoader 'jdk.internal.loader.ClassLoaders$AppClassLoader@512ddf17'.
> 2018-12-13 15:26:24.760  INFO 23205 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8080 (http)
> 2018-12-13 15:26:24.796  INFO 23205 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
> 2018-12-13 15:26:24.797  INFO 23205 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet Engine: Apache Tomcat/9.0.13
> 2018-12-13 15:26:24.813  INFO 23205 --- [           main] o.a.catalina.core.AprLifecycleListener   : The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/Users/pro/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.]
> HOTSWAP AGENT: 15:26:25.227 INFO (org.hotswap.agent.config.PluginRegistry) - Plugin 'org.hotswap.agent.plugin.tomcat.TomcatPlugin' initialized in ClassLoader 'TomcatEmbeddedWebappClassLoader
>   context: ROOT
>   delegate: true
> ----------> Parent Classloader:
> jdk.internal.loader.ClassLoaders$AppClassLoader@512ddf17
> '.
> HOTSWAP AGENT: 15:26:25.227 INFO (org.hotswap.agent.plugin.tomcat.TomcatPlugin) - Tomcat plugin initialized - Tomcat version '9.0.13.0'
> HOTSWAP AGENT: 15:26:25.227 INFO (org.hotswap.agent.plugin.tomcat.TomcatPlugin) - Tomcat plugin initialized - Tomcat version '9.0.13.0'
> 2018-12-13 15:26:25.293  INFO 23205 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
> 2018-12-13 15:26:25.293  INFO 23205 --- [           main] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 3852 ms
> HOTSWAP AGENT: 15:26:25.631 INFO (org.hotswap.agent.plugin.jersey2.Jersey2Plugin) - org.glassfish.jersey.servlet.ServletContainer enhanced with plugin initialization.
> HOTSWAP AGENT: 15:26:25.640 INFO (org.hotswap.agent.plugin.jersey2.Jersey2Plugin) - org.glassfish.jersey.servlet.ServletContainer enhanced with plugin initialization.
> 2018-12-13 15:26:25.907  INFO 23205 --- [           main] org.camunda.bpm.spring.boot              : STARTER-SB040 Setting up jobExecutor with corePoolSize=3, maxPoolSize:10
> 2018-12-13 15:26:25.911  INFO 23205 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService 'camundaTaskExecutor'
> 2018-12-13 15:26:26.035  INFO 23205 --- [           main] org.camunda.bpm.engine.cfg               : ENGINE-12003 Plugin 'CompositeProcessEnginePlugin[genericPropertiesConfiguration, camundaProcessEngineConfiguration, camundaDatasourceConfiguration, camundaJobConfiguration, camundaHistoryConfiguration, camundaMetricsConfiguration, camundaAuthorizationConfiguration, CreateAdminUserConfiguration[adminUser=AdminUserProperty[id=admin, firstName=Admin, lastName=Admin, email=admin@localhost, password=admin]], failedJobConfiguration, disableDeploymentResourcePattern]' activated on process engine 'default'
> 2018-12-13 15:26:26.041  INFO 23205 --- [           main] org.camunda.bpm.spring.boot              : STARTER-SB020 ProcessApplication enabled: autoDeployment via springConfiguration#deploymentResourcePattern is disabled
> 2018-12-13 15:26:26.376  INFO 23205 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
> 2018-12-13 15:26:26.571  INFO 23205 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
> 2018-12-13 15:26:30.613  INFO 23205 --- [           main] org.camunda.bpm.engine                   : ENGINE-00001 Process Engine default created.
> 2018-12-13 15:26:30.743  INFO 23205 --- [           main] org.camunda.bpm.spring.boot              : STARTER-SB011 skip creating initial Admin User, user does exist: UserEntity[id=admin, revision=1, firstName=Admin, lastName=Admin, email=admin@localhost, password={SHA-512}RKZqlvRZrb/1UQcuW4hLmDUEmQGKIDJ1q99xCp6thvu9ebEM2hscEqxZrIvXFRixX4RbZGHx35ApCewn7j3x8g==, salt=ak/2oq3tbsMF7qnr/IKFsQ==, lockExpirationTime=null, attempts=0]
> 2018-12-13 15:26:31.602  INFO 23205 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService 'applicationTaskExecutor'
> 2018-12-13 15:26:32.593  INFO 23205 --- [           main] o.c.b.s.b.s.w.f.LazyInitRegistration     : lazy initialized org.camunda.bpm.spring.boot.starter.webapp.filter.LazyProcessEnginesFilter@4e4395c
> 2018-12-13 15:26:32.700  INFO 23205 --- [           main] o.c.b.s.b.s.w.f.LazyInitRegistration     : lazy initialized org.camunda.bpm.spring.boot.starter.webapp.filter.LazySecurityFilter@6c9a3661
> 2018-12-13 15:26:33.044  INFO 23205 --- [           main] org.camunda.bpm.container                : ENGINE-08024 Found processes.xml file at file:/Volumes/data/temp/camunda-bpm-examples/spring-boot-starter/example-webapp/target/classes/META-INF/processes.xml
> 2018-12-13 15:26:33.046  INFO 23205 --- [           main] org.camunda.bpm.container                : ENGINE-08025 Detected empty processes.xml file, using default values
> 2018-12-13 15:26:33.055  INFO 23205 --- [           main] org.camunda.bpm.container                : ENGINE-08023 Deployment summary for process archive 'webappExampleApplication': 
> 
>         bpmn/sample.bpmn
> 
> 2018-12-13 15:26:33.776  INFO 23205 --- [           main] org.camunda.bpm.application              : ENGINE-07021 ProcessApplication 'webappExampleApplication' registered for DB deployments [22d04db5-fdd8-11e8-913f-7642b652610f, ea0a3d4d-fdce-11e8-8118-7642b652610f]. Will execute process definitions 
> 
>         Sample[version: 2, id: Sample:2:22eab387-fdd8-11e8-913f-7642b652610f]
>         Sample[version: 1, id: Sample:1:ea253f5f-fdce-11e8-8118-7642b652610f]
> Deployment does not provide any case definitions.
> 2018-12-13 15:26:33.814  INFO 23205 --- [           main] org.camunda.bpm.container                : ENGINE-08050 Process application webappExampleApplication successfully deployed
> 2018-12-13 15:26:33.887  INFO 23205 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8080 (http) with context path ''
> 2018-12-13 15:26:33.894  INFO 23205 --- [           main] o.c.b.s.b.e.w.WebappExampleApplication   : Started WebappExampleApplication in 14.366 seconds (JVM running for 16.307)
> 2018-12-13 15:26:33.901  INFO 23205 --- [           main] org.camunda.bpm.engine.jobexecutor       : ENGINE-14014 Starting up the JobExecutor[org.camunda.bpm.engine.spring.components.jobexecutor.SpringJobExecutor].
> 2018-12-13 15:26:33.905  INFO 23205 --- [ingJobExecutor]] org.camunda.bpm.engine.jobexecutor       : ENGINE-14018 JobExecutor[org.camunda.bpm.engine.spring.components.jobexecutor.SpringJobExecutor] starting to acquire jobs
> 2018-12-13 15:26:42.629  INFO 23205 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'
> 2018-12-13 15:26:42.630  INFO 23205 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
> 2018-12-13 15:26:42.644  INFO 23205 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 14 ms
> HOTSWAP AGENT: 15:26:43.270 INFO (org.hotswap.agent.config.PluginRegistry) - Plugin 'org.hotswap.agent.plugin.jersey2.Jersey2Plugin' initialized in ClassLoader 'jdk.internal.loader.ClassLoaders$AppClassLoader@512ddf17'.
> HOTSWAP AGENT: 15:26:44.251 INFO (org.hotswap.agent.plugin.jersey2.Jersey2Plugin) - registerJerseyContainer : org.glassfish.jersey.servlet.ServletContainer
> HOTSWAP AGENT: 15:26:44.251 INFO (org.hotswap.agent.plugin.jersey2.Jersey2Plugin) - registerJerseyContainer : org.glassfish.jersey.servlet.ServletContainer
> HOTSWAP AGENT: 15:26:44.260 INFO (org.hotswap.agent.plugin.jersey2.Jersey2Plugin) - registerJerseyContainer : org.glassfish.jersey.servlet.ServletContainer
> HOTSWAP AGENT: 15:26:44.260 INFO (org.hotswap.agent.plugin.jersey2.Jersey2Plugin) - registerJerseyContainer : org.glassfish.jersey.servlet.ServletContainer
> 2018-12-13 15:26:46.863  WARN 23205 --- [nio-8080-exec-7] o.glassfish.jersey.servlet.WebComponent  : A servlet request to the URI http://localhost:8080/api/admin/auth/user/default/login/welcome contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.
> HOTSWAP AGENT: 15:26:49.183 INFO (org.hotswap.agent.plugin.jersey2.Jersey2Plugin) - registerJerseyContainer : org.glassfish.jersey.servlet.ServletContainer
> HOTSWAP AGENT: 15:26:49.183 INFO (org.hotswap.agent.plugin.jersey2.Jersey2Plugin) - registerJerseyContainer : org.glassfish.jersey.servlet.ServletContainer
> 2018-12-13 15:26:55.085  WARN 23205 --- [io-8080-exec-10] o.glassfish.jersey.servlet.WebComponent  : A servlet request to the URI http://localhost:8080/api/admin/auth/user/default/login/cockpit contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.
skybber commented 5 years ago

Could you try disable hibernate3? It looks that the AnnotationMetaDataProvider was patched twice

skybber commented 4 years ago

I'm closing it since it is not JVM issue,.