2023-11-14 10:46:26.029 INFO 18224 --- [main] c.c.a.AdditionaldatastoreApplication : Starting AdditionaldatastoreApplication using Java 17.0.4 on VR-N20701-01 with PID 18224 (C:\Dev\jmix\study\additionaldatastore\build\classes\java\main started by OManuylov in C:\Dev\jmix\study\additionaldatastore) 2023-11-14 10:46:26.033 INFO 18224 --- [main] c.c.a.AdditionaldatastoreApplication : No active profile set, falling back to 1 default profile: "default" 2023-11-14 10:46:29.052 INFO 18224 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Jmix repositories in DEFAULT mode. 2023-11-14 10:46:29.086 INFO 18224 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 27 ms. Found 0 Jmix repository interfaces. 2023-11-14 10:46:29.542 INFO 18224 --- [main] io.jmix.core.JmixModulesProcessor : Using Jmix modules: [io.jmix.core, io.jmix.security, io.jmix.ui, io.jmix.securityui, io.jmix.data, io.jmix.datatools, io.jmix.gridexportui, io.jmix.datatoolsui, io.jmix.eclipselink, io.jmix.localfs, io.jmix.reports, io.jmix.reportsrest, io.jmix.uidata, io.jmix.reportsui, io.jmix.securitydata, com.company.additionaldatastore] 2023-11-14 10:46:29.548 INFO 18224 --- [main] o.s.c.a.ConfigurationClassPostProcessor : Cannot enhance @Configuration bean definition 'com.vaadin.spring.VaadinConfiguration' since its singleton instance has been created too early. The typical cause is a non-static @Bean method with a BeanDefinitionRegistryPostProcessor return type: Consider declaring such methods as 'static'. 2023-11-14 10:46:30.721 INFO 18224 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) 2023-11-14 10:46:30.737 INFO 18224 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2023-11-14 10:46:30.738 INFO 18224 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.79] 2023-11-14 10:46:30.840 INFO 18224 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2023-11-14 10:46:30.841 INFO 18224 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 4410 ms 2023-11-14 10:46:31.420 INFO 18224 --- [main] i.j.c.i.s.JmixModulesClasspathScanner : Classpath scan completed in 521 ms 2023-11-14 10:46:31.800 INFO 18224 --- [main] io.jmix.core.impl.MetadataLoader : Metadata initialized in 214 ms 2023-11-14 10:46:32.013 DEBUG 18224 --- [main] i.j.a.u.v.JmixVaadinServletConfiguration : io.jmix.autoconfigure.ui.vaadin.JmixVaadinServletConfiguration$$EnhancerBySpringCGLIB$$a5b27b88 initialized 2023-11-14 10:46:32.020 DEBUG 18224 --- [main] i.j.a.u.v.JmixVaadinServletConfiguration : Registering Vaadin servlet 2023-11-14 10:46:32.021 INFO 18224 --- [main] i.j.a.u.v.JmixVaadinServletConfiguration : Servlet will be mapped to URLs [/vaadinServlet/*, /VAADIN/*] 2023-11-14 10:46:32.041 DEBUG 18224 --- [main] i.j.a.u.v.JmixVaadinServletConfiguration : Setting servlet init parameters 2023-11-14 10:46:32.041 INFO 18224 --- [main] i.j.a.u.v.JmixVaadinServletConfiguration : Set servlet init parameter [productionMode] = [false] 2023-11-14 10:46:32.041 INFO 18224 --- [main] i.j.a.u.v.JmixVaadinServletConfiguration : Set servlet init parameter [resourceCacheTime] = [3600] 2023-11-14 10:46:32.041 INFO 18224 --- [main] i.j.a.u.v.JmixVaadinServletConfiguration : Set servlet init parameter [heartbeatInterval] = [300] 2023-11-14 10:46:32.042 INFO 18224 --- [main] i.j.a.u.v.JmixVaadinServletConfiguration : Set servlet init parameter [closeIdleSessions] = [false] 2023-11-14 10:46:32.559 DEBUG 18224 --- [main] io.jmix.core.impl.logging.LogMdcFilter : Filter 'logMdcFilter' configured for use 2023-11-14 10:46:32.822 INFO 18224 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2023-11-14 10:46:33.107 INFO 18224 --- [main] hsqldb.db.HSQLDB8BAA641B66.ENGINE : checkpointClose start 2023-11-14 10:46:33.108 INFO 18224 --- [main] hsqldb.db.HSQLDB8BAA641B66.ENGINE : checkpointClose synched 2023-11-14 10:46:33.123 INFO 18224 --- [main] hsqldb.db.HSQLDB8BAA641B66.ENGINE : checkpointClose script done 2023-11-14 10:46:33.133 INFO 18224 --- [main] hsqldb.db.HSQLDB8BAA641B66.ENGINE : checkpointClose end 2023-11-14 10:46:33.140 INFO 18224 --- [main] com.zaxxer.hikari.pool.PoolBase : HikariPool-1 - Driver does not support get/set network timeout for connections. (feature not supported) 2023-11-14 10:46:33.143 INFO 18224 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2023-11-14 10:46:33.200 INFO 18224 --- [main] liquibase.database : Set default schema name to PUBLIC 2023-11-14 10:46:33.435 INFO 18224 --- [main] liquibase.lockservice : Successfully acquired change log lock 2023-11-14 10:46:34.325 INFO 18224 --- [main] liquibase.changelog : Reading resource: com/company/additionaldatastore/liquibase/changelog/010-init-user.xml 2023-11-14 10:46:34.337 INFO 18224 --- [main] liquibase.changelog : Reading resource: com/company/additionaldatastore/liquibase/changelog/2023/11/07-183312-419440f6.xml 2023-11-14 10:46:34.353 INFO 18224 --- [main] liquibase.changelog : Reading resource: com/company/additionaldatastore/liquibase/changelog/2023/11/07-185653-419440f6.xml 2023-11-14 10:46:34.449 INFO 18224 --- [main] liquibase.changelog : Reading from PUBLIC.DATABASECHANGELOG 2023-11-14 10:46:34.582 INFO 18224 --- [main] liquibase.lockservice : Successfully released change log lock 2023-11-14 10:46:34.713 WARN 18224 --- [main] i.j.d.i.JmixBaseEntityManagerFactoryBean : Cannot find persistence.xml for 'add' store. Falling back to classpath scan for entity classes. 2023-11-14 10:46:34.722 INFO 18224 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Starting... 2023-11-14 10:46:34.723 INFO 18224 --- [main] com.zaxxer.hikari.pool.PoolBase : HikariPool-2 - Driver does not support get/set network timeout for connections. (feature not supported) 2023-11-14 10:46:34.723 INFO 18224 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Start completed. 2023-11-14 10:46:34.771 DEBUG 18224 --- [main] i.j.d.impl.JmixEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'add' 2023-11-14 10:46:35.126 ERROR 18224 --- [main] i.j.d.impl.JmixEntityManagerFactoryBean : Failed to initialize JPA EntityManagerFactory: Exception [EclipseLink-28018] (Eclipse Persistence Services - 2.7.9.6-jmix): org.eclipse.persistence.exceptions.EntityManagerSetupException Exception Description: Predeployment of PersistenceUnit [add] failed. Internal Exception: Exception [EclipseLink-7250] (Eclipse Persistence Services - 2.7.9.6-jmix): org.eclipse.persistence.exceptions.ValidationException Exception Description: [class com.company.additionaldatastore.entity.NewEntity] uses a non-entity [class io.jmix.securitydata.entity.ResourceRoleEntity] as target entity in the relationship attribute [field role]. 2023-11-14 10:46:35.128 WARN 18224 --- [main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'addEntityManagerFactory' defined in class path resource [com/company/additionaldatastore/AddStoreConfiguration.class]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: Exception [EclipseLink-28018] (Eclipse Persistence Services - 2.7.9.6-jmix): org.eclipse.persistence.exceptions.EntityManagerSetupException Exception Description: Predeployment of PersistenceUnit [add] failed. Internal Exception: Exception [EclipseLink-7250] (Eclipse Persistence Services - 2.7.9.6-jmix): org.eclipse.persistence.exceptions.ValidationException Exception Description: [class com.company.additionaldatastore.entity.NewEntity] uses a non-entity [class io.jmix.securitydata.entity.ResourceRoleEntity] as target entity in the relationship attribute [field role]. 2023-11-14 10:46:35.128 INFO 18224 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Shutdown initiated... 2023-11-14 10:46:35.131 INFO 18224 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Shutdown completed. 2023-11-14 10:46:35.133 INFO 18224 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 2023-11-14 10:46:35.136 INFO 18224 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. 2023-11-14 10:46:35.140 INFO 18224 --- [main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2023-11-14 10:46:35.158 INFO 18224 --- [main] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2023-11-14 10:46:35.191 ERROR 18224 --- [main] o.s.boot.SpringApplication : Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'addEntityManagerFactory' defined in class path resource [com/company/additionaldatastore/AddStoreConfiguration.class]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: Exception [EclipseLink-28018] (Eclipse Persistence Services - 2.7.9.6-jmix): org.eclipse.persistence.exceptions.EntityManagerSetupException Exception Description: Predeployment of PersistenceUnit [add] failed. Internal Exception: Exception [EclipseLink-7250] (Eclipse Persistence Services - 2.7.9.6-jmix): org.eclipse.persistence.exceptions.ValidationException Exception Description: [class com.company.additionaldatastore.entity.NewEntity] uses a non-entity [class io.jmix.securitydata.entity.ResourceRoleEntity] as target entity in the relationship attribute [field role]. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1804) ~[spring-beans-5.3.29.jar:5.3.29] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620) ~[spring-beans-5.3.29.jar:5.3.29] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.29.jar:5.3.29] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.29.jar:5.3.29] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.29.jar:5.3.29] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.29.jar:5.3.29] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.29.jar:5.3.29] at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1157) ~[spring-context-5.3.29.jar:5.3.29] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:911) ~[spring-context-5.3.29.jar:5.3.29] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) ~[spring-context-5.3.29.jar:5.3.29] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147) ~[spring-boot-2.7.15.jar:2.7.15] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731) ~[spring-boot-2.7.15.jar:2.7.15] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408) ~[spring-boot-2.7.15.jar:2.7.15] at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) ~[spring-boot-2.7.15.jar:2.7.15] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303) ~[spring-boot-2.7.15.jar:2.7.15] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292) ~[spring-boot-2.7.15.jar:2.7.15] at com.company.additionaldatastore.AdditionaldatastoreApplication.main(AdditionaldatastoreApplication.java:25) ~[main/:na] Caused by: javax.persistence.PersistenceException: Exception [EclipseLink-28018] (Eclipse Persistence Services - 2.7.9.6-jmix): org.eclipse.persistence.exceptions.EntityManagerSetupException Exception Description: Predeployment of PersistenceUnit [add] failed. Internal Exception: Exception [EclipseLink-7250] (Eclipse Persistence Services - 2.7.9.6-jmix): org.eclipse.persistence.exceptions.ValidationException Exception Description: [class com.company.additionaldatastore.entity.NewEntity] uses a non-entity [class io.jmix.securitydata.entity.ResourceRoleEntity] as target entity in the relationship attribute [field role]. at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.createPredeployFailedPersistenceException(EntityManagerSetupImpl.java:2112) ~[org.eclipse.persistence.jpa-2.7.9-6-jmix.jar:na] at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:2088) ~[org.eclipse.persistence.jpa-2.7.9-6-jmix.jar:na] at org.eclipse.persistence.jpa.PersistenceProvider.createContainerEntityManagerFactoryImpl(PersistenceProvider.java:350) ~[org.eclipse.persistence.jpa-2.7.9-6-jmix.jar:na] at org.eclipse.persistence.jpa.PersistenceProvider.createContainerEntityManagerFactory(PersistenceProvider.java:316) ~[org.eclipse.persistence.jpa-2.7.9-6-jmix.jar:na] at io.jmix.eclipselink.impl.JmixPersistenceProvider.createContainerEntityManagerFactory(JmixPersistenceProvider.java:36) ~[jmix-eclipselink-1.5.4.jar:na] at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365) ~[spring-orm-5.3.29.jar:5.3.29] at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409) ~[spring-orm-5.3.29.jar:5.3.29] at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396) ~[spring-orm-5.3.29.jar:5.3.29] at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341) ~[spring-orm-5.3.29.jar:5.3.29] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1863) ~[spring-beans-5.3.29.jar:5.3.29] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800) ~[spring-beans-5.3.29.jar:5.3.29] ... 16 common frames omitted Caused by: org.eclipse.persistence.exceptions.EntityManagerSetupException: Exception Description: Predeployment of PersistenceUnit [add] failed. Internal Exception: Exception [EclipseLink-7250] (Eclipse Persistence Services - 2.7.9.6-jmix): org.eclipse.persistence.exceptions.ValidationException Exception Description: [class com.company.additionaldatastore.entity.NewEntity] uses a non-entity [class io.jmix.securitydata.entity.ResourceRoleEntity] as target entity in the relationship attribute [field role]. at org.eclipse.persistence.exceptions.EntityManagerSetupException.predeployFailed(EntityManagerSetupException.java:233) ~[org.eclipse.persistence.core-2.7.9-6-jmix.jar:na] ... 27 common frames omitted Caused by: org.eclipse.persistence.exceptions.ValidationException: Exception Description: [class com.company.additionaldatastore.entity.NewEntity] uses a non-entity [class io.jmix.securitydata.entity.ResourceRoleEntity] as target entity in the relationship attribute [field role]. at org.eclipse.persistence.exceptions.ValidationException.nonEntityTargetInRelationship(ValidationException.java:1383) ~[org.eclipse.persistence.core-2.7.9-6-jmix.jar:na] at org.eclipse.persistence.internal.jpa.metadata.accessors.mappings.RelationshipAccessor.getReferenceDescriptor(RelationshipAccessor.java:569) ~[org.eclipse.persistence.jpa-2.7.9-6-jmix.jar:na] at org.eclipse.persistence.internal.jpa.metadata.accessors.mappings.ObjectAccessor.processForeignKeyRelationship(ObjectAccessor.java:678) ~[org.eclipse.persistence.jpa-2.7.9-6-jmix.jar:na] at org.eclipse.persistence.internal.jpa.metadata.accessors.mappings.ObjectAccessor.processOwningMappingKeys(ObjectAccessor.java:752) ~[org.eclipse.persistence.jpa-2.7.9-6-jmix.jar:na] at org.eclipse.persistence.internal.jpa.metadata.accessors.mappings.ManyToOneAccessor.process(ManyToOneAccessor.java:130) ~[org.eclipse.persistence.jpa-2.7.9-6-jmix.jar:na] at org.eclipse.persistence.internal.jpa.metadata.MetadataProject.processOwningRelationshipAccessors(MetadataProject.java:1666) ~[org.eclipse.persistence.jpa-2.7.9-6-jmix.jar:na] at org.eclipse.persistence.internal.jpa.metadata.MetadataProject.processStage3(MetadataProject.java:1919) ~[org.eclipse.persistence.jpa-2.7.9-6-jmix.jar:na] at org.eclipse.persistence.internal.jpa.metadata.MetadataProcessor.processORMMetadata(MetadataProcessor.java:584) ~[org.eclipse.persistence.jpa-2.7.9-6-jmix.jar:na] at org.eclipse.persistence.internal.jpa.deployment.PersistenceUnitProcessor.processORMetadata(PersistenceUnitProcessor.java:629) ~[org.eclipse.persistence.jpa-2.7.9-6-jmix.jar:na] at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:2009) ~[org.eclipse.persistence.jpa-2.7.9-6-jmix.jar:na] ... 25 common frames omitted