ltListableBeanFactory: 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-05-17 13:30:12,036 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-05-17 13:30:12,036 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-05-17 13:30:12,036 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-05-17 13:30:12,036 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-05-17 13:30:12,037 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-05-17 13:30:12,037 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-05-17 13:30:12,037 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-05-17 13:30:12,037 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-05-17 13:30:12,037 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-05-17 13:30:12,037 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-05-17 13:30:12,038 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-05-17 13:30:12,038 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-05-17 13:30:12,038 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-05-17 13:30:12,038 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-05-17 13:30:12,038 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-05-17 13:30:12,038 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-05-17 13:30:12,090 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-05-17 13:30:12,142 INFO [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean: Building JPA EntityManagerFactory for persistence unit 'hsql-testdb'
2022-05-17 13:30:12,159 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: hsql-testdb]
2022-05-17 13:30:12,227 WARN [main] org.hibernate.orm.connections.pooling: HHH10001002: Using Hibernate built-in connection pool (not for production use!)
2022-05-17 13:30:12,227 INFO [main] org.hibernate.orm.connections.pooling: HHH10001005: using driver [org.hsqldb.jdbc.JDBCDriver] at URL [jdbc:hsqldb:mem:hsql-testdb]
2022-05-17 13:30:12,228 INFO [main] org.hibernate.orm.connections.pooling: HHH10001001: Connection properties: {user=sa, password=****}
2022-05-17 13:30:12,228 INFO [main] org.hibernate.orm.connections.pooling: HHH10001003: Autocommit mode: false
2022-05-17 13:30:12,228 INFO [main] org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl: HHH000115: Hibernate connection pool size: 20 (min=1)
2022-05-17 13:30:12,230 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.appng.persistence.hibernate.dialect.HSQLDialect
2022-05-17 13:30:12,233 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2022-05-17 13:30:12,577 INFO [main] org.hibernate.orm.connections.access: HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@25e2f5bb] 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-05-17 13:30:12,587 INFO [main] org.hibernate.orm.connections.access: HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@2999ac57] 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-05-17 13:30:12,639 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2022-05-17 13:30:12,639 INFO [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'hsql-testdb'
2022-05-17 13:30:12,646 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context appNG platform context: startup date [Tue May 17 13:30:11 CEST 2022]; root of context hierarchy
2022-05-17 13:30:12,647 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-05-17 13:30:12,647 INFO [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'hsql-testdb'
2022-05-17 13:30:12,647 INFO [main] org.hibernate.orm.connections.pooling: HHH10001008: Cleaning up connection pool [jdbc:hsqldb:mem:hsql-testdb]
2022-05-17 13:30:12,648 ERROR [main] org.springframework.test.context.TestContextManager: Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@7b0eac67] to prepare test instance [org.appng.core.service.TemplateServiceTest@70dacff2]
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$$565bff3c.CGLIB$dataSource$15(<generated>)
at org.appng.core.service.PlatformTestConfig$$EnhancerBySpringCGLIB$$565bff3c$$FastClassBySpringCGLIB$$ed3f2ec6.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$$565bff3c.dataSource(<generated>)
at sun.reflect.GeneratedMethodAccessor239.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-05-17 13:30:12,655 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing appNG platform context: startup date [Tue May 17 13:30:12 CEST 2022]; root of context hierarchy
2022-05-17 13:30:13,025 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-05-17 13:30:13,026 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-05-17 13:30:13,027 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-05-17 13:30:13,027 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-05-17 13:30:13,027 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-05-17 13:30:13,027 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-05-17 13:30:13,028 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-05-17 13:30:13,029 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-05-17 13:30:13,029 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-05-17 13:30:13,029 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-05-17 13:30:13,029 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-05-17 13:30:13,029 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-05-17 13:30:13,030 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-05-17 13:30:13,030 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-05-17 13:30:13,030 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-05-17 13:30:13,030 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-05-17 13:30:13,030 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-05-17 13:30:13,071 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-05-17 13:30:13,150 INFO [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean: Building JPA EntityManagerFactory for persistence unit 'hsql-testdb'
2022-05-17 13:30:13,163 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: hsql-testdb]
2022-05-17 13:30:13,230 WARN [main] org.hibernate.orm.connections.pooling: HHH10001002: Using Hibernate built-in connection pool (not for production use!)
2022-05-17 13:30:13,230 INFO [main] org.hibernate.orm.connections.pooling: HHH10001005: using driver [org.hsqldb.jdbc.JDBCDriver] at URL [jdbc:hsqldb:mem:hsql-testdb]
2022-05-17 13:30:13,230 INFO [main] org.hibernate.orm.connections.pooling: HHH10001001: Connection properties: {user=sa, password=****}
2022-05-17 13:30:13,230 INFO [main] org.hibernate.orm.connections.pooling: HHH10001003: Autocommit mode: false
2022-05-17 13:30:13,230 INFO [main] org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl: HHH000115: Hibernate connection pool size: 20 (min=1)
2022-05-17 13:30:13,231 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.appng.persistence.hibernate.dialect.HSQLDialect
2022-05-17 13:30:13,237 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2022-05-17 13:30:13,554 INFO [main] org.hibernate.orm.connections.access: HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@172221fa] 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-05-17 13:30:13,557 INFO [main] org.hibernate.orm.connections.access: HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@5e02dc4] 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-05-17 13:30:13,593 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2022-05-17 13:30:13,593 INFO [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'hsql-testdb'
2022-05-17 13:30:13,601 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context appNG platform context: startup date [Tue May 17 13:30:12 CEST 2022]; root of context hierarchy
2022-05-17 13:30:13,601 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-05-17 13:30:13,601 INFO [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'hsql-testdb'
2022-05-17 13:30:13,601 INFO [main] org.hibernate.orm.connections.pooling: HHH10001008: Cleaning up connection pool [jdbc:hsqldb:mem:hsql-testdb]
2022-05-17 13:30:13,606 ERROR [main] org.springframework.test.context.TestContextManager: Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@7b0eac67] to prepare test instance [org.appng.core.service.TemplateServiceTest@793e5277]
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$$565bff3c.CGLIB$dataSource$15(<generated>)
at org.appng.core.service.PlatformTestConfig$$EnhancerBySpringCGLIB$$565bff3c$$FastClassBySpringCGLIB$$ed3f2ec6.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$$565bff3c.dataSource(<generated>)
at sun.reflect.GeneratedMethodAccessor239.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-05-17 13:30:13,615 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing appNG platform context: startup date [Tue May 17 13:30:13 CEST 2022]; root of context hierarchy
2022-05-17 13:30:14,045 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-05-17 13:30:14,045 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-05-17 13:30:14,054 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-05-17 13:30:14,054 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-05-17 13:30:14,054 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-05-17 13:30:14,054 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-05-17 13:30:14,054 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-05-17 13:30:14,054 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-05-17 13:30:14,054 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-05-17 13:30:14,054 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-05-17 13:30:14,055 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-05-17 13:30:14,055 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-05-17 13:30:14,055 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-05-17 13:30:14,055 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-05-17 13:30:14,055 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-05-17 13:30:14,055 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-05-17 13:30:14,055 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-05-17 13:30:14,111 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-05-17 13:30:14,195 INFO [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean: Building JPA EntityManagerFactory for persistence unit 'hsql-testdb'
2022-05-17 13:30:14,205 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: hsql-testdb]
2022-05-17 13:30:14,259 WARN [main] org.hibernate.orm.connections.pooling: HHH10001002: Using Hibernate built-in connection pool (not for production use!)
2022-05-17 13:30:14,259 INFO [main] org.hibernate.orm.connections.pooling: HHH10001005: using driver [org.hsqldb.jdbc.JDBCDriver] at URL [jdbc:hsqldb:mem:hsql-testdb]
2022-05-17 13:30:14,259 INFO [main] org.hibernate.orm.connections.pooling: HHH10001001: Connection properties: {user=sa, password=****}
2022-05-17 13:30:14,259 INFO [main] org.hibernate.orm.connections.pooling: HHH10001003: Autocommit mode: false
2022-05-17 13:30:14,259 INFO [main] org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl: HHH000115: Hibernate connection pool size: 20 (min=1)
2022-05-17 13:30:14,260 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.appng.persistence.hibernate.dialect.HSQLDialect
2022-05-17 13:30:14,263 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2022-05-17 13:30:14,582 INFO [main] org.hibernate.orm.connections.access: HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@6311e22c] 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-05-17 13:30:14,595 INFO [main] org.hibernate.orm.connections.access: HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@4a6de5a4] 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-05-17 13:30:14,624 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2022-05-17 13:30:14,624 INFO [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'hsql-testdb'
2022-05-17 13:30:14,632 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context appNG platform context: startup date [Tue May 17 13:30:13 CEST 2022]; root of context hierarchy
2022-05-17 13:30:14,632 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-05-17 13:30:14,632 INFO [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'hsql-testdb'
2022-05-17 13:30:14,632 INFO [main] org.hibernate.orm.connections.pooling: HHH10001008: Cleaning up connection pool [jdbc:hsqldb:mem:hsql-testdb]
2022-05-17 13:30:14,633 ERROR [main] org.springframework.test.context.TestContextManager: Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@7b0eac67] to prepare test instance [org.appng.core.service.TemplateServiceTest@27df26b5]
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$$565bff3c.CGLIB$dataSource$15(<generated>)
at org.appng.core.service.PlatformTestConfig$$EnhancerBySpringCGLIB$$565bff3c$$FastClassBySpringCGLIB$$ed3f2ec6.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$$565bff3c.dataSource(<generated>)
at sun.reflect.GeneratedMethodAccessor239.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
[ERROR] Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 3.179 s <<< FAILURE! - in org.appng.core.service.TemplateServiceTest
[ERROR] org.appng.core.service.TemplateServiceTest.testTemplateExtractor Time elapsed: 0 s <<< ERROR!
java.lang.IllegalStateException: Failed to load ApplicationContext
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
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
Caused by: java.sql.SQLException: No suitable driver found for jdbc:hsqldb:mem:hsql-testdb
[ERROR] org.appng.core.service.TemplateServiceTest.testGetTemplate Time elapsed: 0 s <<< ERROR!
java.lang.IllegalStateException: Failed to load ApplicationContext
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
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
Caused by: java.sql.SQLException: No suitable driver found for jdbc:hsqldb:mem:hsql-testdb
[ERROR] org.appng.core.service.TemplateServiceTest.testInstall Time elapsed: 0 s <<< ERROR!
java.lang.IllegalStateException: Failed to load ApplicationContext
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
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
Caused by: java.sql.SQLException: No suitable driver found for jdbc:hsqldb:mem:hsql-testdb
[INFO] Running org.appng.core.service.DatabaseServiceTest
2022-05-17 13:30:14,660 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2022-05-17 13:30:14,660 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@1f19f357, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@6c28c1fd, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@4aac9d3e, org.springframework.test.context.support.DirtiesContextTestExecutionListener@344b4220, org.springframework.test.context.transaction.TransactionalTestExecutionListener@64189cb5, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@4e159ee2]
2022-05-17 13:30:14,667 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing appNG platform context: startup date [Tue May 17 13:30:14 CEST 2022]; root of context hierarchy
2022-05-17 13:30:15,109 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-05-17 13:30:15,110 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-05-17 13:30:15,118 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-05-17 13:30:15,118 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-05-17 13:30:15,118 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-05-17 13:30:15,118 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-05-17 13:30:15,118 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-05-17 13:30:15,118 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-05-17 13:30:15,118 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-05-17 13:30:15,119 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-05-17 13:30:15,119 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-05-17 13:30:15,119 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-05-17 13:30:15,119 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-05-17 13:30:15,119 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-05-17 13:30:15,119 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-05-17 13:30:15,119 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-05-17 13:30:15,119 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-05-17 13:30:15,192 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-05-17 13:30:15,308 INFO [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean: Building JPA EntityManagerFactory for persistence unit 'hsql-testdb'
2022-05-17 13:30:15,328 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: hsql-testdb]
2022-05-17 13:30:15,395 WARN [main] org.hibernate.orm.connections.pooling: HHH10001002: Using Hibernate built-in connection pool (not for production use!)
2022-05-17 13:30:15,395 INFO [main] org.hibernate.orm.connections.pooling: HHH10001005: using driver [org.hsqldb.jdbc.JDBCDriver] at URL [jdbc:hsqldb:mem:hsql-testdb]
2022-05-17 13:30:15,395 INFO [main] org.hibernate.orm.connections.pooling: HHH10001001: Connection properties: {user=sa, password=****}
2022-05-17 13:30:15,395 INFO [main] org.hibernate.orm.connections.pooling: HHH10001003: Autocommit mode: false
2022-05-17 13:30:15,395 INFO [main] org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl: HHH000115: Hibernate connection pool size: 20 (min=1)
2022-05-17 13:30:15,401 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.appng.persistence.hibernate.dialect.HSQLDialect
2022-05-17 13:30:15,406 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2022-05-17 13:30:15,702 INFO [main] org.hibernate.orm.connections.access: HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@29edacce] 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-05-17 13:30:15,704 INFO [main] org.hibernate.orm.connections.access: HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@30729adb] 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-05-17 13:30:15,743 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2022-05-17 13:30:15,743 INFO [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'hsql-testdb'
2022-05-17 13:30:15,750 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context appNG platform context: startup date [Tue May 17 13:30:14 CEST 2022]; root of context hierarchy
2022-05-17 13:30:15,750 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-05-17 13:30:15,750 INFO [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'hsql-testdb'
2022-05-17 13:30:15,750 INFO [main] org.hibernate.orm.connections.pooling: HHH10001008: Cleaning up connection pool [jdbc:hsqldb:mem:hsql-testdb]
2022-05-17 13:30:15,751 ERROR [main] org.springframework.test.context.TestContextManager: Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@4aac9d3e] to prepare test instance [org.appng.core.service.DatabaseServiceTest@359f46c9]
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$$565bff3c.CGLIB$dataSource$15(<generated>)
at org.appng.core.service.PlatformTestConfig$$EnhancerBySpringCGLIB$$565bff3c$$FastClassBySpringCGLIB$$ed3f2ec6.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$$565bff3c.dataSource(<generated>)
at sun.reflect.GeneratedMethodAccessor239.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-05-17 13:30:15,759 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing appNG platform context: startup date [Tue May 17 13:30:15 CEST 2022]; root of context hierarchy
2022-05-17 13:30:16,177 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-05-17 13:30:16,181 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-05-17 13:30:16,181 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-05-17 13:30:16,181 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-05-17 13:30:16,181 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-05-17 13:30:16,181 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-05-17 13:30:16,181 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-05-17 13:30:16,182 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-05-17 13:30:16,182 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-05-17 13:30:16,182 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-05-17 13:30:16,182 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-05-17 13:30:16,182 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-05-17 13:30:16,182 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-05-17 13:30:16,182 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-05-17 13:30:16,182 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-05-17 13:30:16,182 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-05-17 13:30:16,182 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-05-17 13:30:16,238 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-05-17 13:30:16,326 INFO [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean: Building JPA EntityManagerFactory for persistence unit 'hsql-testdb'
2022-05-17 13:30:16,338 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: hsql-testdb]
2022-05-17 13:30:16,403 WARN [main] org.hibernate.orm.connections.pooling: HHH10001002: Using Hibernate built-in connection pool (not for production use!)
2022-05-17 13:30:16,403 INFO [main] org.hibernate.orm.connections.pooling: HHH10001005: using driver [org.hsqldb.jdbc.JDBCDriver] at URL [jdbc:hsqldb:mem:hsql-testdb]
2022-05-17 13:30:16,404 INFO [main] org.hibernate.orm.connections.pooling: HHH10001001: Connection properties: {user=sa, password=****}
2022-05-17 13:30:16,404 INFO [main] org.hibernate.orm.connections.pooling: HHH10001003: Autocommit mode: false
2022-05-17 13:30:16,404 INFO [main] org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl: HHH000115: Hibernate connection pool size: 20 (min=1)
2022-05-17 13:30:16,410 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.appng.persistence.hibernate.dialect.HSQLDialect
2022-05-17 13:30:16,415 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2022-05-17 13:30:16,694 INFO [main] org.hibernate.orm.connections.access: HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@23b5487a] 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-05-17 13:30:16,697 INFO [main] org.hibernate.orm.connections.access: HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@3d854d14] 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-05-17 13:30:16,728 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2022-05-17 13:30:16,728 INFO [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'hsql-testdb'
2022-05-17 13:30:16,735 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context appNG platform context: startup date [Tue May 17 13:30:15 CEST 2022]; root of context hierarchy
2022-05-17 13:30:16,736 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-05-17 13:30:16,736 INFO [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'hsql-testdb'
2022-05-17 13:30:16,738 INFO [main] org.hibernate.orm.connections.pooling: HHH10001008: Cleaning up connection pool [jdbc:hsqldb:mem:hsql-testdb]
2022-05-17 13:30:16,740 ERROR [main] org.springframework.test.context.TestContextManager: Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@4aac9d3e] to prepare test instance [org.appng.core.service.DatabaseServiceTest@2878e6ea]
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$$565bff3c.CGLIB$dataSource$15(<generated>)
at org.appng.core.service.PlatformTestConfig$$EnhancerBySpringCGLIB$$565bff3c$$FastClassBySpringCGLIB$$ed3f2ec6.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$$565bff3c.dataSource(<generated>)
at sun.reflect.GeneratedMethodAccessor239.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
[ERROR] Tests run: 11, Failures: 0, Errors: 2, Skipped: 9, Time elapsed: 1.878 s <<< FAILURE! - in org.appng.core.service.DatabaseServiceTest
[ERROR] org.appng.core.service.DatabaseServiceTest.testUserName Time elapsed: 0 s <<< ERROR!
java.lang.IllegalStateException: Failed to load ApplicationContext
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
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
Caused by: java.sql.SQLException: No suitable driver found for jdbc:hsqldb:mem:hsql-testdb
[ERROR] org.appng.core.service.DatabaseServiceTest.testInitDatabase Time elapsed: 0 s <<< ERROR!
java.lang.IllegalStateException: Failed to load ApplicationContext
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
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
Caused by: java.sql.SQLException: No suitable driver found for jdbc:hsqldb:mem:hsql-testdb
[INFO] Running org.appng.core.service.PropertySupportTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.appng.core.service.PropertySupportTest
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] HsqlStarterTest.testStartStop:43 No suitable driver found for jdbc:hsqldb:hsql://localhost:9001/appng
[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
[ERROR] CoreServiceTest.testAddApplicationRolesToGroup » IllegalState Failed to load A...
[ERROR] CoreServiceTest.testAddGroupsToSubject » IllegalState Failed to load Applicati...
[ERROR] CoreServiceTest.testAssignApplicationRolesToGroup » IllegalState Failed to loa...
[ERROR] CoreServiceTest.testAssignApplicationToSite » IllegalState Failed to load Appl...
[ERROR] CoreServiceTest.testAssignApplicationToSiteErroneous » IllegalState Failed to ...
[ERROR] CoreServiceTest.testAssignGroupsToSubject » IllegalState Failed to load Applic...
[ERROR] CoreServiceTest.testCreateApplicationProperty » IllegalState Failed to load Ap...
[ERROR] CoreServiceTest.testCreateApplicationRepository » IllegalState Failed to load ...
[ERROR] CoreServiceTest.testCreateDatabaseConnection » IllegalState Failed to load App...
[ERROR] CoreServiceTest.testCreateGroup » IllegalState Failed to load ApplicationConte...
[ERROR] CoreServiceTest.testCreatePropertyForApplication » IllegalState Failed to load...
[ERROR] CoreServiceTest.testCreatePropertyForSite » IllegalState Failed to load Applic...
[ERROR] CoreServiceTest.testCreatePropertyForSiteAndApplication » IllegalState Failed ...
[ERROR] CoreServiceTest.testCreateSite » IllegalState Failed to load ApplicationContex...
[ERROR] CoreServiceTest.testCreateSubject » IllegalState Failed to load ApplicationCon...
[ERROR] CoreServiceTest.testDeleteApplicationRepository » IllegalState Failed to load ...
[ERROR] CoreServiceTest.testDeleteApplicationRole » IllegalState Failed to load Applic...
[ERROR] CoreServiceTest.testDeleteApplicationRoleInvalid » IllegalState Failed to load...
[ERROR] CoreServiceTest.testDeleteApplicationSiteActive » IllegalState Failed to load ...
[ERROR] CoreServiceTest.testDeleteSite » IllegalState Failed to load ApplicationContex...
[ERROR] CoreServiceTest.testDeleteSiteWithEnvironment » IllegalState Failed to load Ap...
[ERROR] CoreServiceTest.testDeleteSubject » IllegalState Failed to load ApplicationCon...
[ERROR] CoreServiceTest.testFindApplicationByName » IllegalState Failed to load Applic...
[ERROR] CoreServiceTest.testGetApplicationFolder » IllegalState Failed to load Applica...
[ERROR] CoreServiceTest.testGetApplicationProperties » IllegalState Failed to load App...
[ERROR] CoreServiceTest.testGetApplicationRepositories » IllegalState Failed to load A...
[ERROR] CoreServiceTest.testGetApplicationRolesForApplication » IllegalState Failed to...
[ERROR] CoreServiceTest.testGetApplicationRootFolder » IllegalState Failed to load App...
[ERROR] CoreServiceTest.testGetGroupByName » IllegalState Failed to load ApplicationCo...
[ERROR] CoreServiceTest.testGetGroups » IllegalState Failed to load ApplicationContext
[ERROR] CoreServiceTest.testGetPropertiesIntegerInteger » IllegalState Failed to load ...
[ERROR] CoreServiceTest.testGetPropertiesStringString » IllegalState Failed to load Ap...
[ERROR] CoreServiceTest.testGetSite » IllegalState Failed to load ApplicationContext
[ERROR] CoreServiceTest.testGetSiteByName » IllegalState Failed to load ApplicationCon...
[ERROR] CoreServiceTest.testGetSiteIds » IllegalState Failed to load ApplicationContex...
[ERROR] CoreServiceTest.testGetSites » IllegalState Failed to load ApplicationContext
[ERROR] CoreServiceTest.testGetSubjectByEmail » IllegalState Failed to load Applicatio...
[ERROR] CoreServiceTest.testGetSubjectById » IllegalState Failed to load ApplicationCo...
[ERROR] CoreServiceTest.testGetSubjectByName » IllegalState Failed to load Application...
[ERROR] CoreServiceTest.testGetSubjects » IllegalState Failed to load ApplicationConte...
[ERROR] CoreServiceTest.testInitSitePropertiesSiteImpl » IllegalState Failed to load A...
[ERROR] CoreServiceTest.testLdapLogin » IllegalState Failed to load ApplicationContext
[ERROR] CoreServiceTest.testLdapLoginGroup » IllegalState Failed to load ApplicationCo...
[ERROR] CoreServiceTest.testLogin » IllegalState Failed to load ApplicationContext
[ERROR] CoreServiceTest.testLoginDigest » IllegalState Failed to load ApplicationConte...
[ERROR] CoreServiceTest.testLoginFailedAttempts » IllegalState Failed to load Applicat...
[ERROR] CoreServiceTest.testLoginGroup » IllegalState Failed to load ApplicationContex...
[ERROR] CoreServiceTest.testLoginPrincipal » IllegalState Failed to load ApplicationCo...
[ERROR] CoreServiceTest.testLoginPrincipalWithGroup » IllegalState Failed to load Appl...
[ERROR] CoreServiceTest.testLoginSubjectIsExpired » IllegalState Failed to load Applic...
[ERROR] CoreServiceTest.testLoginSubjectIsInactive » IllegalState Failed to load Appli...
[ERROR] CoreServiceTest.testLoginSubjectIsLocked » IllegalState Failed to load Applica...
[ERROR] CoreServiceTest.testMigratePassword » IllegalState Failed to load ApplicationC...
[ERROR] CoreServiceTest.testProvideApplication » IllegalState Failed to load Applicati...
[ERROR] CoreServiceTest.testProvideApplicationUpdate » IllegalState Failed to load App...
[ERROR] CoreServiceTest.testProvideApplicationUpdateDelete » IllegalState Failed to lo...
[ERROR] CoreServiceTest.testProvideApplicationWithAdminRole » IllegalState Failed to l...
[ERROR] CoreServiceTest.testReloadRepository » IllegalState Failed to load Application...
[ERROR] CoreServiceTest.testResetPassword » IllegalState Failed to load ApplicationCon...
[ERROR] CoreServiceTest.testRestoreSubject » IllegalState Failed to load ApplicationCo...
[ERROR] CoreServiceTest.testSaveProperties » IllegalState Failed to load ApplicationCo...
[ERROR] CoreServiceTest.testSaveProperty » IllegalState Failed to load ApplicationCont...
[ERROR] CoreServiceTest.testUnlinkApplicationFromSiteIntegerString » IllegalState Fail...
[ERROR] CoreServiceTest.testUpdatePassword » IllegalState Failed to load ApplicationCo...
[ERROR] CoreServiceTest.testUpdatePasswordFail » IllegalState Failed to load Applicati...
[ERROR] DatabaseServiceTest.testInitDatabase » IllegalState Failed to load Application...
[ERROR] DatabaseServiceTest.testUserName » IllegalState Failed to load ApplicationCont...
[ERROR] InitializerServiceTest.testInitPlatform » IllegalState Failed to load Applicat...
[ERROR] SubjectMustChangePasswordTest.testMustChangePassword » IllegalState Failed to ...
[ERROR] TemplateServiceTest.testGetTemplate » IllegalState Failed to load ApplicationC...
[ERROR] TemplateServiceTest.testInstall » IllegalState Failed to load ApplicationConte...
[ERROR] TemplateServiceTest.testTemplateExtractor » IllegalState Failed to load Applic...
[INFO]
[ERROR] Tests run: 352, Failures: 1, Errors: 82, Skipped: 30
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for appNG Parent 1.24.5-SNAPSHOT:
[INFO]
[INFO] appNG Parent ....................................... SUCCESS [ 6.354 s]
[INFO] appNG Tools ........................................ SUCCESS [ 27.801 s]
[INFO] appNG Mail ......................................... SUCCESS [ 5.916 s]
[INFO] appNG Forms ........................................ SUCCESS [ 8.007 s]
[INFO] appng Formtags ..................................... SUCCESS [ 8.860 s]
[INFO] appNG XML-API ...................................... SUCCESS [ 24.318 s]
[INFO] appNG public API ................................... SUCCESS [ 28.499 s]
[INFO] appNG testsupport .................................. SUCCESS [ 13.960 s]
[INFO] appNG REST API ..................................... SUCCESS [ 11.974 s]
[INFO] appNG Persistence-Tools ............................ SUCCESS [ 43.425 s]
[INFO] appNG Search ....................................... SUCCESS [ 20.974 s]
[INFO] appNG Core Library ................................. FAILURE [02:58 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: 06:19 min
[INFO] Finished at: 2022-05-17T13:30:17+02:00
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "dummy" could not be activated because it does not exist.
[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_1.24.x/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] -> [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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :appng-core