at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in org.appng.core.service.PlatformTestConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.sql.SQLException: No suitable driver found for jdbc:hsqldb:mem:hsql-testdb
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1176)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1071)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:756)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:281)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:249)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:98)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:116)
... 28 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.sql.SQLException: No suitable driver found for jdbc:hsqldb:mem:hsql-testdb
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
... 45 more
Caused by: java.sql.SQLException: No suitable driver found for jdbc:hsqldb:mem:hsql-testdb
at java.sql.DriverManager.getConnection(DriverManager.java:689)
at java.sql.DriverManager.getConnection(DriverManager.java:208)
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:153)
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:144)
at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnectionFromDriver(AbstractDriverBasedDataSource.java:196)
at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnection(AbstractDriverBasedDataSource.java:159)
at org.appng.core.service.PlatformTestConfig.dataSource(PlatformTestConfig.java:83)
at org.appng.core.service.PlatformTestConfig$$EnhancerBySpringCGLIB$$622be61e.CGLIB$dataSource$16(<generated>)
at org.appng.core.service.PlatformTestConfig$$EnhancerBySpringCGLIB$$622be61e$$FastClassBySpringCGLIB$$7c67bbf9.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:358)
at org.appng.core.service.PlatformTestConfig$$EnhancerBySpringCGLIB$$622be61e.dataSource(<generated>)
at sun.reflect.GeneratedMethodAccessor243.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
... 46 more
2022-06-21 14:59:16,076 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing appNG platform context: startup date [Tue Jun 21 14:59:16 CEST 2022]; root of context hierarchy
2022-06-21 14:59:16,530 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'platformEventListener' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=platformEventListener; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=platformEventListener; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:16,530 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'dataSource' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:16,530 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'entityManagerFactory' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=entityManagerFactory; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=entityManagerFactory; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:16,530 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'coreTxManager' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=coreTxManager; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=coreTxManager; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:16,530 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'entityManager' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=entityManager; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=entityManager; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:16,530 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'documentBuilderFactory' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=documentBuilderFactory; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=documentBuilderFactory; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:16,530 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'transformerFactory' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=transformerFactory; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=transformerFactory; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:16,531 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'styleSheetProvider' with a different definition: replacing [Root bean: class [null]; scope=request; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=styleSheetProvider; initMethodName=init; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=styleSheetProvider; initMethodName=init; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:16,531 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'marshallService' with a different definition: replacing [Root bean: class [null]; scope=prototype; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=marshallService; initMethodName=init; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=prototype; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=marshallService; initMethodName=init; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:16,531 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'coreService' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=coreService; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=coreService; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:16,531 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'databaseService' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=databaseService; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=databaseService; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:16,531 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'templateService' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=templateService; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=templateService; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:16,531 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'initializerService' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=initializerService; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=initializerService; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:16,531 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'ldapService' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=ldapService; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=ldapService; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:16,531 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'thymeleafProcessor' with a different definition: replacing [Root bean: class [null]; scope=request; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=thymeleafProcessor; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=thymeleafProcessor; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:16,531 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'platformTransformer' with a different definition: replacing [Root bean: class [null]; scope=request; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=platformTransformer; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=platformTransformer; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:16,532 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'requestProcessor' with a different definition: replacing [Root bean: class [null]; scope=request; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=requestProcessor; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=requestProcessor; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:16,593 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-06-21 14:59:16,723 INFO [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean: Building JPA EntityManagerFactory for persistence unit 'hsql-testdb'
2022-06-21 14:59:16,748 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: hsql-testdb]
2022-06-21 14:59:16,870 WARN [main] org.hibernate.orm.connections.pooling: HHH10001002: Using Hibernate built-in connection pool (not for production use!)
2022-06-21 14:59:16,872 INFO [main] org.hibernate.orm.connections.pooling: HHH10001005: using driver [org.hsqldb.jdbc.JDBCDriver] at URL [jdbc:hsqldb:mem:hsql-testdb]
2022-06-21 14:59:16,872 INFO [main] org.hibernate.orm.connections.pooling: HHH10001001: Connection properties: {user=sa, password=****}
2022-06-21 14:59:16,872 INFO [main] org.hibernate.orm.connections.pooling: HHH10001003: Autocommit mode: false
2022-06-21 14:59:16,872 INFO [main] org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl: HHH000115: Hibernate connection pool size: 20 (min=1)
2022-06-21 14:59:16,872 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.appng.persistence.hibernate.dialect.HSQLDialect
2022-06-21 14:59:16,876 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2022-06-21 14:59:17,339 INFO [main] org.hibernate.orm.connections.access: HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@7e9bc8a0] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
2022-06-21 14:59:17,347 INFO [main] org.hibernate.orm.connections.access: HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@61e873b4] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
2022-06-21 14:59:17,380 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2022-06-21 14:59:17,380 INFO [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'hsql-testdb'
2022-06-21 14:59:17,394 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context appNG platform context: startup date [Tue Jun 21 14:59:16 CEST 2022]; root of context hierarchy
2022-06-21 14:59:17,394 WARN [main] org.springframework.context.support.GenericApplicationContext: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in org.appng.core.service.PlatformTestConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.sql.SQLException: No suitable driver found for jdbc:hsqldb:mem:hsql-testdb
2022-06-21 14:59:17,395 INFO [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'hsql-testdb'
2022-06-21 14:59:17,395 INFO [main] org.hibernate.orm.connections.pooling: HHH10001008: Cleaning up connection pool [jdbc:hsqldb:mem:hsql-testdb]
2022-06-21 14:59:17,396 ERROR [main] org.springframework.test.context.TestContextManager: Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@2273e500] to prepare test instance [org.appng.core.service.CoreServiceTest@37ce3007]
java.lang.IllegalStateException: Failed to load ApplicationContext
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124)
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:83)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:117)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:230)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:228)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:287)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:289)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:247)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:364)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:237)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:158)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in org.appng.core.service.PlatformTestConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.sql.SQLException: No suitable driver found for jdbc:hsqldb:mem:hsql-testdb
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1176)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1071)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:756)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:281)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:249)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:98)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:116)
... 28 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.sql.SQLException: No suitable driver found for jdbc:hsqldb:mem:hsql-testdb
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
... 45 more
Caused by: java.sql.SQLException: No suitable driver found for jdbc:hsqldb:mem:hsql-testdb
at java.sql.DriverManager.getConnection(DriverManager.java:689)
at java.sql.DriverManager.getConnection(DriverManager.java:208)
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:153)
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:144)
at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnectionFromDriver(AbstractDriverBasedDataSource.java:196)
at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnection(AbstractDriverBasedDataSource.java:159)
at org.appng.core.service.PlatformTestConfig.dataSource(PlatformTestConfig.java:83)
at org.appng.core.service.PlatformTestConfig$$EnhancerBySpringCGLIB$$622be61e.CGLIB$dataSource$16(<generated>)
at org.appng.core.service.PlatformTestConfig$$EnhancerBySpringCGLIB$$622be61e$$FastClassBySpringCGLIB$$7c67bbf9.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:358)
at org.appng.core.service.PlatformTestConfig$$EnhancerBySpringCGLIB$$622be61e.dataSource(<generated>)
at sun.reflect.GeneratedMethodAccessor243.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
... 46 more
2022-06-21 14:59:17,403 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing appNG platform context: startup date [Tue Jun 21 14:59:17 CEST 2022]; root of context hierarchy
2022-06-21 14:59:17,878 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'platformEventListener' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=platformEventListener; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=platformEventListener; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:17,879 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'dataSource' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:17,879 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'entityManagerFactory' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=entityManagerFactory; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=entityManagerFactory; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:17,879 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'coreTxManager' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=coreTxManager; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=coreTxManager; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:17,879 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'entityManager' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=entityManager; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=entityManager; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:17,879 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'documentBuilderFactory' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=documentBuilderFactory; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=documentBuilderFactory; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:17,879 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'transformerFactory' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=transformerFactory; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=transformerFactory; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:17,880 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'styleSheetProvider' with a different definition: replacing [Root bean: class [null]; scope=request; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=styleSheetProvider; initMethodName=init; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=styleSheetProvider; initMethodName=init; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:17,880 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'marshallService' with a different definition: replacing [Root bean: class [null]; scope=prototype; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=marshallService; initMethodName=init; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=prototype; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=marshallService; initMethodName=init; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:17,880 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'coreService' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=coreService; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=coreService; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:17,880 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'databaseService' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=databaseService; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=databaseService; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:17,880 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'templateService' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=templateService; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=templateService; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:17,880 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'initializerService' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=initializerService; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=initializerService; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:17,880 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'ldapService' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=ldapService; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=ldapService; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:17,881 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'thymeleafProcessor' with a different definition: replacing [Root bean: class [null]; scope=request; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=thymeleafProcessor; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=thymeleafProcessor; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:17,881 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'platformTransformer' with a different definition: replacing [Root bean: class [null]; scope=request; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=platformTransformer; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=platformTransformer; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:17,881 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'requestProcessor' with a different definition: replacing [Root bean: class [null]; scope=request; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=requestProcessor; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=requestProcessor; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:17,958 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-06-21 14:59:18,096 INFO [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean: Building JPA EntityManagerFactory for persistence unit 'hsql-testdb'
2022-06-21 14:59:18,120 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: hsql-testdb]
2022-06-21 14:59:18,193 WARN [main] org.hibernate.orm.connections.pooling: HHH10001002: Using Hibernate built-in connection pool (not for production use!)
2022-06-21 14:59:18,193 INFO [main] org.hibernate.orm.connections.pooling: HHH10001005: using driver [org.hsqldb.jdbc.JDBCDriver] at URL [jdbc:hsqldb:mem:hsql-testdb]
2022-06-21 14:59:18,193 INFO [main] org.hibernate.orm.connections.pooling: HHH10001001: Connection properties: {user=sa, password=****}
2022-06-21 14:59:18,193 INFO [main] org.hibernate.orm.connections.pooling: HHH10001003: Autocommit mode: false
2022-06-21 14:59:18,193 INFO [main] org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl: HHH000115: Hibernate connection pool size: 20 (min=1)
2022-06-21 14:59:18,198 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.appng.persistence.hibernate.dialect.HSQLDialect
2022-06-21 14:59:18,202 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2022-06-21 14:59:18,590 INFO [main] org.hibernate.orm.connections.access: HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@1e60c275] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
2022-06-21 14:59:18,592 INFO [main] org.hibernate.orm.connections.access: HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@6cc38228] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
2022-06-21 14:59:18,637 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2022-06-21 14:59:18,638 INFO [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'hsql-testdb'
2022-06-21 14:59:18,641 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context appNG platform context: startup date [Tue Jun 21 14:59:17 CEST 2022]; root of context hierarchy
2022-06-21 14:59:18,641 WARN [main] org.springframework.context.support.GenericApplicationContext: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in org.appng.core.service.PlatformTestConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.sql.SQLException: No suitable driver found for jdbc:hsqldb:mem:hsql-testdb
2022-06-21 14:59:18,641 INFO [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'hsql-testdb'
2022-06-21 14:59:18,641 INFO [main] org.hibernate.orm.connections.pooling: HHH10001008: Cleaning up connection pool [jdbc:hsqldb:mem:hsql-testdb]
2022-06-21 14:59:18,651 ERROR [main] org.springframework.test.context.TestContextManager: Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@2273e500] to prepare test instance [org.appng.core.service.CoreServiceTest@5943867f]
java.lang.IllegalStateException: Failed to load ApplicationContext
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124)
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:83)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:117)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:230)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:228)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:287)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:289)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:247)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:364)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:237)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:158)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in org.appng.core.service.PlatformTestConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.sql.SQLException: No suitable driver found for jdbc:hsqldb:mem:hsql-testdb
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1176)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1071)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:756)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:281)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:249)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:98)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:116)
... 28 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.sql.SQLException: No suitable driver found for jdbc:hsqldb:mem:hsql-testdb
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
... 45 more
Caused by: java.sql.SQLException: No suitable driver found for jdbc:hsqldb:mem:hsql-testdb
at java.sql.DriverManager.getConnection(DriverManager.java:689)
at java.sql.DriverManager.getConnection(DriverManager.java:208)
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:153)
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:144)
at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnectionFromDriver(AbstractDriverBasedDataSource.java:196)
at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnection(AbstractDriverBasedDataSource.java:159)
at org.appng.core.service.PlatformTestConfig.dataSource(PlatformTestConfig.java:83)
at org.appng.core.service.PlatformTestConfig$$EnhancerBySpringCGLIB$$622be61e.CGLIB$dataSource$16(<generated>)
at org.appng.core.service.PlatformTestConfig$$EnhancerBySpringCGLIB$$622be61e$$FastClassBySpringCGLIB$$7c67bbf9.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:358)
at org.appng.core.service.PlatformTestConfig$$EnhancerBySpringCGLIB$$622be61e.dataSource(<generated>)
at sun.reflect.GeneratedMethodAccessor243.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
... 46 more
2022-06-21 14:59:18,659 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing appNG platform context: startup date [Tue Jun 21 14:59:18 CEST 2022]; root of context hierarchy
2022-06-21 14:59:19,097 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'platformEventListener' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=platformEventListener; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=platformEventListener; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:19,097 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'dataSource' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:19,097 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'entityManagerFactory' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=entityManagerFactory; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=entityManagerFactory; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:19,097 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'coreTxManager' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=coreTxManager; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=coreTxManager; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:19,102 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'entityManager' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=entityManager; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=entityManager; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:19,102 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'documentBuilderFactory' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=documentBuilderFactory; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=documentBuilderFactory; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:19,102 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'transformerFactory' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=transformerFactory; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=transformerFactory; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:19,102 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'styleSheetProvider' with a different definition: replacing [Root bean: class [null]; scope=request; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=styleSheetProvider; initMethodName=init; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=styleSheetProvider; initMethodName=init; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:19,102 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'marshallService' with a different definition: replacing [Root bean: class [null]; scope=prototype; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=marshallService; initMethodName=init; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=prototype; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=marshallService; initMethodName=init; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:19,102 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'coreService' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=coreService; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=coreService; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:19,102 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'databaseService' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=databaseService; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=databaseService; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:19,102 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'templateService' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=templateService; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=templateService; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:19,102 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'initializerService' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=initializerService; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=initializerService; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:19,103 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'ldapService' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=ldapService; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=ldapService; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:19,103 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'thymeleafProcessor' with a different definition: replacing [Root bean: class [null]; scope=request; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=thymeleafProcessor; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=thymeleafProcessor; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:19,103 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'platformTransformer' with a different definition: replacing [Root bean: class [null]; scope=request; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=platformTransformer; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=platformTransformer; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:19,103 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'requestProcessor' with a different definition: replacing [Root bean: class [null]; scope=request; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=requestProcessor; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=requestProcessor; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:19,167 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-06-21 14:59:19,268 INFO [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean: Building JPA EntityManagerFactory for persistence unit 'hsql-testdb'
2022-06-21 14:59:19,284 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: hsql-testdb]
2022-06-21 14:59:19,363 WARN [main] org.hibernate.orm.connections.pooling: HHH10001002: Using Hibernate built-in connection pool (not for production use!)
2022-06-21 14:59:19,363 INFO [main] org.hibernate.orm.connections.pooling: HHH10001005: using driver [org.hsqldb.jdbc.JDBCDriver] at URL [jdbc:hsqldb:mem:hsql-testdb]
2022-06-21 14:59:19,364 INFO [main] org.hibernate.orm.connections.pooling: HHH10001001: Connection properties: {user=sa, password=****}
2022-06-21 14:59:19,364 INFO [main] org.hibernate.orm.connections.pooling: HHH10001003: Autocommit mode: false
2022-06-21 14:59:19,364 INFO [main] org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl: HHH000115: Hibernate connection pool size: 20 (min=1)
2022-06-21 14:59:19,370 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.appng.persistence.hibernate.dialect.HSQLDialect
2022-06-21 14:59:19,375 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2022-06-21 14:59:19,825 INFO [main] org.hibernate.orm.connections.access: HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@1131c33a] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
2022-06-21 14:59:19,830 INFO [main] org.hibernate.orm.connections.access: HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@1163fbce] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
2022-06-21 14:59:19,871 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2022-06-21 14:59:19,871 INFO [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'hsql-testdb'
2022-06-21 14:59:19,881 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context appNG platform context: startup date [Tue Jun 21 14:59:18 CEST 2022]; root of context hierarchy
2022-06-21 14:59:19,886 WARN [main] org.springframework.context.support.GenericApplicationContext: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in org.appng.core.service.PlatformTestConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.sql.SQLException: No suitable driver found for jdbc:hsqldb:mem:hsql-testdb
2022-06-21 14:59:19,886 INFO [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'hsql-testdb'
2022-06-21 14:59:19,886 INFO [main] org.hibernate.orm.connections.pooling: HHH10001008: Cleaning up connection pool [jdbc:hsqldb:mem:hsql-testdb]
2022-06-21 14:59:19,890 ERROR [main] org.springframework.test.context.TestContextManager: Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@2273e500] to prepare test instance [org.appng.core.service.CoreServiceTest@2d1fd3e0]
java.lang.IllegalStateException: Failed to load ApplicationContext
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124)
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:83)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:117)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:230)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:228)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:287)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:289)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:247)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:364)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:237)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:158)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in org.appng.core.service.PlatformTestConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.sql.SQLException: No suitable driver found for jdbc:hsqldb:mem:hsql-testdb
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1176)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1071)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:756)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:281)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:249)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:98)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:116)
... 28 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.sql.SQLException: No suitable driver found for jdbc:hsqldb:mem:hsql-testdb
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
... 45 more
Caused by: java.sql.SQLException: No suitable driver found for jdbc:hsqldb:mem:hsql-testdb
at java.sql.DriverManager.getConnection(DriverManager.java:689)
at java.sql.DriverManager.getConnection(DriverManager.java:208)
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:153)
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:144)
at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnectionFromDriver(AbstractDriverBasedDataSource.java:196)
at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnection(AbstractDriverBasedDataSource.java:159)
at org.appng.core.service.PlatformTestConfig.dataSource(PlatformTestConfig.java:83)
at org.appng.core.service.PlatformTestConfig$$EnhancerBySpringCGLIB$$622be61e.CGLIB$dataSource$16(<generated>)
at org.appng.core.service.PlatformTestConfig$$EnhancerBySpringCGLIB$$622be61e$$FastClassBySpringCGLIB$$7c67bbf9.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:358)
at org.appng.core.service.PlatformTestConfig$$EnhancerBySpringCGLIB$$622be61e.dataSource(<generated>)
at sun.reflect.GeneratedMethodAccessor243.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
... 46 more
2022-06-21 14:59:19,900 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing appNG platform context: startup date [Tue Jun 21 14:59:19 CEST 2022]; root of context hierarchy
2022-06-21 14:59:20,390 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'platformEventListener' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=platformEventListener; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=platformEventListener; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:20,391 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'dataSource' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:20,391 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'entityManagerFactory' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=entityManagerFactory; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=entityManagerFactory; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:20,391 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'coreTxManager' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=coreTxManager; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=coreTxManager; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:20,391 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'entityManager' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=entityManager; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=entityManager; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:20,391 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'documentBuilderFactory' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=documentBuilderFactory; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=documentBuilderFactory; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:20,391 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'transformerFactory' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=transformerFactory; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=transformerFactory; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:20,391 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'styleSheetProvider' with a different definition: replacing [Root bean: class [null]; scope=request; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=styleSheetProvider; initMethodName=init; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=styleSheetProvider; initMethodName=init; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:20,391 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'marshallService' with a different definition: replacing [Root bean: class [null]; scope=prototype; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=marshallService; initMethodName=init; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=prototype; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=marshallService; initMethodName=init; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:20,392 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'coreService' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=coreService; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=coreService; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:20,392 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'databaseService' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=databaseService; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=databaseService; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:20,392 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'templateService' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=templateService; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=templateService; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:20,392 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'initializerService' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=initializerService; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=initializerService; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:20,392 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'ldapService' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=ldapService; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=ldapService; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:20,392 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'thymeleafProcessor' with a different definition: replacing [Root bean: class [null]; scope=request; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=thymeleafProcessor; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=thymeleafProcessor; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:20,392 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'platformTransformer' with a different definition: replacing [Root bean: class [null]; scope=request; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=platformTransformer; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=platformTransformer; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:20,392 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'requestProcessor' with a different definition: replacing [Root bean: class [null]; scope=request; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=requestProcessor; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=requestProcessor; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:20,445 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-06-21 14:59:20,496 INFO [hz.test.HealthMonitor] com.hazelcast.internal.diagnostics.HealthMonitor: [10.102.4.103]:5701 [appNG] [5.0.2] processors=1, physical.memory.total=3.8G, physical.memory.free=139.8M, swap.space.total=0, swap.space.free=0, heap.memory.used=162.3M, heap.memory.free=332.7M, heap.memory.total=495.1M, heap.memory.max=989.9M, heap.memory.used/total=32.79%, heap.memory.used/max=16.40%, minor.gc.count=52, minor.gc.time=1819ms, major.gc.count=4, major.gc.time=463ms, load.process=0.00%, load.system=100.00%, load.systemAverage=2.60, thread.count=46, thread.peakCount=400, cluster.timeDiff=0, event.q.size=0, executor.q.async.size=0, executor.q.client.size=0, executor.q.client.query.size=0, executor.q.client.blocking.size=0, executor.q.query.size=0, executor.q.scheduled.size=0, executor.q.io.size=0, executor.q.system.size=0, executor.q.operations.size=0, executor.q.priorityOperation.size=0, operations.completed.count=1, executor.q.mapLoad.size=0, executor.q.mapLoadAllKeys.size=0, executor.q.cluster.size=0, executor.q.response.size=0, operations.running.count=0, operations.pending.invocations.percentage=0.00%, operations.pending.invocations.count=0, proxy.count=0, clientEndpoint.count=0, connection.active.count=0, client.connection.count=0, connection.count=0
2022-06-21 14:59:20,547 INFO [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean: Building JPA EntityManagerFactory for persistence unit 'hsql-testdb'
2022-06-21 14:59:20,563 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: hsql-testdb]
2022-06-21 14:59:20,636 WARN [main] org.hibernate.orm.connections.pooling: HHH10001002: Using Hibernate built-in connection pool (not for production use!)
2022-06-21 14:59:20,636 INFO [main] org.hibernate.orm.connections.pooling: HHH10001005: using driver [org.hsqldb.jdbc.JDBCDriver] at URL [jdbc:hsqldb:mem:hsql-testdb]
2022-06-21 14:59:20,636 INFO [main] org.hibernate.orm.connections.pooling: HHH10001001: Connection properties: {user=sa, password=****}
2022-06-21 14:59:20,636 INFO [main] org.hibernate.orm.connections.pooling: HHH10001003: Autocommit mode: false
2022-06-21 14:59:20,636 INFO [main] org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl: HHH000115: Hibernate connection pool size: 20 (min=1)
2022-06-21 14:59:20,638 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.appng.persistence.hibernate.dialect.HSQLDialect
2022-06-21 14:59:20,647 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2022-06-21 14:59:21,149 INFO [main] org.hibernate.orm.connections.access: HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@4c7be144] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
2022-06-21 14:59:21,152 INFO [main] org.hibernate.orm.connections.access: HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@24fc3ba3] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
2022-06-21 14:59:21,209 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2022-06-21 14:59:21,209 INFO [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'hsql-testdb'
2022-06-21 14:59:21,226 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context appNG platform context: startup date [Tue Jun 21 14:59:19 CEST 2022]; root of context hierarchy
2022-06-21 14:59:21,227 WARN [main] org.springframework.context.support.GenericApplicationContext: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in org.appng.core.service.PlatformTestConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.sql.SQLException: No suitable driver found for jdbc:hsqldb:mem:hsql-testdb
2022-06-21 14:59:21,227 INFO [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'hsql-testdb'
2022-06-21 14:59:21,227 INFO [main] org.hibernate.orm.connections.pooling: HHH10001008: Cleaning up connection pool [jdbc:hsqldb:mem:hsql-testdb]
2022-06-21 14:59:21,228 ERROR [main] org.springframework.test.context.TestContextManager: Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@2273e500] to prepare test instance [org.appng.core.service.CoreServiceTest@15a04020]
java.lang.IllegalStateException: Failed to load ApplicationContext
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124)
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:83)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:117)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:230)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:228)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:287)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:289)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:247)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:364)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:237)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:158)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in org.appng.core.service.PlatformTestConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.sql.SQLException: No suitable driver found for jdbc:hsqldb:mem:hsql-testdb
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1176)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1071)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:756)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:281)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:249)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:98)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:116)
... 28 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.sql.SQLException: No suitable driver found for jdbc:hsqldb:mem:hsql-testdb
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
... 45 more
Caused by: java.sql.SQLException: No suitable driver found for jdbc:hsqldb:mem:hsql-testdb
at java.sql.DriverManager.getConnection(DriverManager.java:689)
at java.sql.DriverManager.getConnection(DriverManager.java:208)
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:153)
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:144)
at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnectionFromDriver(AbstractDriverBasedDataSource.java:196)
at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnection(AbstractDriverBasedDataSource.java:159)
at org.appng.core.service.PlatformTestConfig.dataSource(PlatformTestConfig.java:83)
at org.appng.core.service.PlatformTestConfig$$EnhancerBySpringCGLIB$$622be61e.CGLIB$dataSource$16(<generated>)
at org.appng.core.service.PlatformTestConfig$$EnhancerBySpringCGLIB$$622be61e$$FastClassBySpringCGLIB$$7c67bbf9.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:358)
at org.appng.core.service.PlatformTestConfig$$EnhancerBySpringCGLIB$$622be61e.dataSource(<generated>)
at sun.reflect.GeneratedMethodAccessor243.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
... 46 more
Sending interrupt signal to process
Aborted by Matthias Mueller2022-06-21 14:59:21,239 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing appNG platform context: startup date [Tue Jun 21 14:59:21 CEST 2022]; root of context hierarchy
2022-06-21 14:59:21,669 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'platformEventListener' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=platformEventListener; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=platformEventListener; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:21,669 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'dataSource' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:21,669 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'entityManagerFactory' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=entityManagerFactory; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=entityManagerFactory; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:21,669 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'coreTxManager' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=coreTxManager; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=coreTxManager; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:21,671 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'entityManager' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=entityManager; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=entityManager; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:21,672 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'documentBuilderFactory' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=documentBuilderFactory; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=documentBuilderFactory; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:21,672 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'transformerFactory' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=transformerFactory; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=transformerFactory; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:21,673 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'styleSheetProvider' with a different definition: replacing [Root bean: class [null]; scope=request; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=styleSheetProvider; initMethodName=init; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=styleSheetProvider; initMethodName=init; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:21,673 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'marshallService' with a different definition: replacing [Root bean: class [null]; scope=prototype; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=marshallService; initMethodName=init; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=prototype; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=marshallService; initMethodName=init; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:21,673 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'coreService' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=coreService; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=coreService; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:21,673 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'databaseService' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=databaseService; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=databaseService; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:21,674 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'templateService' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=templateService; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=templateService; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:21,674 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'initializerService' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=initializerService; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=initializerService; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:21,674 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'ldapService' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=ldapService; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=ldapService; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:21,674 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'thymeleafProcessor' with a different definition: replacing [Root bean: class [null]; scope=request; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=thymeleafProcessor; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=thymeleafProcessor; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:21,674 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'platformTransformer' with a different definition: replacing [Root bean: class [null]; scope=request; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=platformTransformer; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=platformTransformer; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:21,674 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'requestProcessor' with a different definition: replacing [Root bean: class [null]; scope=request; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformConfig; factoryMethodName=requestProcessor; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/appng/core/controller/PlatformConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=platformTestConfig; factoryMethodName=requestProcessor; initMethodName=null; destroyMethodName=(inferred); defined in org.appng.core.service.PlatformTestConfig]
2022-06-21 14:59:21,715 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-06-21 14:59:21,813 INFO [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean: Building JPA EntityManagerFactory for persistence unit 'hsql-testdb'
2022-06-21 14:59:21,838 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: hsql-testdb]
2022-06-21 14:59:21,930 WARN [main] org.hibernate.orm.connections.pooling: HHH10001002: Using Hibernate built-in connection pool (not for production use!)
2022-06-21 14:59:21,931 INFO [main] org.hibernate.orm.connections.pooling: HHH10001005: using driver [org.hsqldb.jdbc.JDBCDriver] at URL [jdbc:hsqldb:mem:hsql-testdb]
2022-06-21 14:59:21,931 INFO [main] org.hibernate.orm.connections.pooling: HHH10001001: Connection properties: {user=sa, password=****}
2022-06-21 14:59:21,931 INFO [main] org.hibernate.orm.connections.pooling: HHH10001003: Autocommit mode: false
2022-06-21 14:59:21,931 INFO [main] org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl: HHH000115: Hibernate connection pool size: 20 (min=1)
2022-06-21 14:59:21,939 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.appng.persistence.hibernate.dialect.HSQLDialect
2022-06-21 14:59:21,945 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2022-06-21 14:59:22,318 INFO [main] org.hibernate.orm.connections.access: HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@5e5fb38d] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
2022-06-21 14:59:22,328 INFO [main] org.hibernate.orm.connections.access: HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@4229ea3e] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
2022-06-21 14:59:22,380 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2022-06-21 14:59:22,395 INFO [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'hsql-testdb'
2022-06-21 14:59:22,406 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context appNG platform context: startup date [Tue Jun 21 14:59:21 CEST 2022]; root of context hierarchy
2022-06-21 14:59:22,407 WARN [main] org.springframework.context.support.GenericApplicationContext: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in org.appng.core.service.PlatformTestConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.sql.SQLException: No suitable driver found for jdbc:hsqldb:mem:hsql-testdb
2022-06-21 14:59:22,407 INFO [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'hsql-testdb'
2022-06-21 14:59:22,407 INFO [main] org.hibernate.orm.connections.pooling: HHH10001008: Cleaning up connection pool [jdbc:hsqldb:mem:hsql-testdb]
2022-06-21 14:59:22,408 ERROR [main] org.springframework.test.context.TestContextManager: Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@2273e500] to prepare test instance [org.appng.core.service.CoreServiceTest@5c4e4f81]
java.lang.IllegalStateException: Failed to load ApplicationContext
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124)
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:83)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:117)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:230)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:228)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:287)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:289)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:247)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:364)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:237)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:158)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in org.appng.core.service.PlatformTestConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.sql.SQLException: No suitable driver found for jdbc:hsqldb:mem:hsql-testdb
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1176)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1071)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:756)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:281)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:249)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:98)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:116)
... 28 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.sql.SQLException: No suitable driver found for jdbc:hsqldb:mem:hsql-testdb
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
... 45 more
Caused by: java.sql.SQLException: No suitable driver found for jdbc:hsqldb:mem:hsql-testdb
at java.sql.DriverManager.getConnection(DriverManager.java:689)
at java.sql.DriverManager.getConnection(DriverManager.java:208)
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:153)
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:144)
at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnectionFromDriver(AbstractDriverBasedDataSource.java:196)
at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnection(AbstractDriverBasedDataSource.java:159)
at org.appng.core.service.PlatformTestConfig.dataSource(PlatformTestConfig.java:83)
at org.appng.core.service.PlatformTestConfig$$EnhancerBySpringCGLIB$$622be61e.CGLIB$dataSource$16(<generated>)
at org.appng.core.service.PlatformTestConfig$$EnhancerBySpringCGLIB$$622be61e$$FastClassBySpringCGLIB$$7c67bbf9.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:358)
at org.appng.core.service.PlatformTestConfig$$EnhancerBySpringCGLIB$$622be61e.dataSource(<generated>)
at sun.reflect.GeneratedMethodAccessor243.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
... 46 more
2022-06-21 14:59:22,422 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing appNG platform context: startup date [Tue Jun 21 14:59:22 CEST 2022]; root of context hierarchy
[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR] PlatformStartupTest.testPlatformStartup:86 NullPointer
[ERROR] GroupRepositoryTest.test » IllegalState Failed to load ApplicationContext
[ERROR] JobExecutionRecordRepositoryTest.test » IllegalState Failed to load Applicatio...
[ERROR] PermissionRepositoryTest.test » IllegalState Failed to load ApplicationContext
[ERROR] PropertyRepositoryTest.test » IllegalState Failed to load ApplicationContext
[ERROR] RepositoryTest.test » IllegalState Failed to load ApplicationContext
[ERROR] ResourceRepositoryTest.test » IllegalState Failed to load ApplicationContext
[ERROR] RoleRepositoryTest.test » IllegalState Failed to load ApplicationContext
[ERROR] SiteRepositoryTest.test » IllegalState Failed to load ApplicationContext
[ERROR] SubjectRepositoryTest.test » IllegalState Failed to load ApplicationContext
[INFO]
[ERROR] Tests run: 237, Failures: 0, Errors: 10, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for appNG Parent 1.24.5:
[INFO]
[INFO] appNG Parent ....................................... SUCCESS [01:45 min]
[INFO] appNG Tools ........................................ SUCCESS [ 44.670 s]
[INFO] appNG Mail ......................................... SUCCESS [ 12.424 s]
[INFO] appNG Forms ........................................ SUCCESS [ 18.747 s]
[INFO] appng Formtags ..................................... SUCCESS [ 17.639 s]
[INFO] appNG XML-API ...................................... SUCCESS [ 23.842 s]
[INFO] appNG public API ................................... SUCCESS [ 51.039 s]
[INFO] appNG testsupport .................................. SUCCESS [ 24.481 s]
[INFO] appNG REST API ..................................... SUCCESS [ 17.645 s]
[INFO] appNG Persistence-Tools ............................ SUCCESS [01:01 min]
[INFO] appNG Search ....................................... SUCCESS [ 33.525 s]
[INFO] appNG Core Library ................................. FAILURE [02:25 min]
[INFO] appNG Command Line Interface ....................... SKIPPED
[INFO] appNG Tag Library .................................. SKIPPED
[INFO] appNGizer JAXB API ................................. SKIPPED
[INFO] appNGizer .......................................... SKIPPED
[INFO] appNG Application .................................. SKIPPED
[INFO] appNG application BOM .............................. SKIPPED
[INFO] appNG Documentation ................................ SKIPPED
[INFO] appNG Template Assembly Descriptors ................ SKIPPED
[INFO] appNG Template Parent .............................. SKIPPED
[INFO] appng-application-assembly ......................... SKIPPED
[INFO] appNG application parent ........................... SKIPPED
[INFO] Archetype - appng-archetype-application ............ SKIPPED
[INFO] appNG appNGizer Maven Plugin ....................... SKIPPED
[INFO] appNG camunda ...................................... SKIPPED
[INFO] appNG Application, including Camunda BPM process engine libraries SKIPPED
[INFO] appNG Maven Plugin ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 09:24 min
[INFO] Finished at: 2022-06-21T14:59:22+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test (default-test) on project appng-core: There are test failures.
[ERROR]
[ERROR] Please refer to /var/lib/jenkins/workspace/appNG_Release/appng/appng-core/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd /var/lib/jenkins/workspace/appNG_Release/appng/appng-core && /var/lib/jenkins/tools/hudson.model.JDK/OpenJDK8/jdk8u332-b09/jre/bin/java -Xms512m -Xmx1g -XX:MaxMetaspaceSize=256m -Dfile.encoding=UTF-8 -jar /var/lib/jenkins/workspace/appNG_Release/appng/appng-core/target/surefire/surefirebooter8902114439272373243.jar /var/lib/jenkins/workspace/appNG_Release/appng/appng-core/target/surefire 2022-06-21T14-52-02_399-jvmRun1 surefire1937322506675282600tmp surefire_109142172189582688823tmp
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 143
[ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd /var/lib/jenkins/workspace/appNG_Release/appng/appng-core && /var/lib/jenkins/tools/hudson.model.JDK/OpenJDK8/jdk8u332-b09/jre/bin/java -Xms512m -Xmx1g -XX:MaxMetaspaceSize=256m -Dfile.encoding=UTF-8 -jar /var/lib/jenkins/workspace/appNG_Release/appng/appng-core/target/surefire/surefirebooter8902114439272373243.jar /var/lib/jenkins/workspace/appNG_Release/appng/appng-core/target/surefire 2022-06-21T14-52-02_399-jvmRun1 surefire1937322506675282600tmp surefire_109142172189582688823tmp
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 143
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:748)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:305)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:265)
[ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1314)
[ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1159)
[ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:932)
[ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
[ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
[ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
[ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
[ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
[ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
[ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
[ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
[ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:957)
[ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289)
[ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:193)
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR] at java.lang.reflect.Method.invoke(Method.java:498)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :appng-core
script returned exit code 1
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: ABORTED