1774 lines
171 KiB
Plaintext
1774 lines
171 KiB
Plaintext
2023-04-20 14:36:21 jdbc[3]: exception
|
|
org.h2.jdbc.JdbcSQLNonTransientConnectionException: База данных уже закрыта (чтобы отключить автоматическое закрытие базы данных при останове JVM, добавьте ";DB_CLOSE_ON_EXIT=FALSE" в URL)
|
|
Database is already closed (to disable automatic closing at VM shutdown, add ";DB_CLOSE_ON_EXIT=FALSE" to the db URL) [90121-210]
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:697)
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:496)
|
|
at org.h2.message.DbException.get(DbException.java:227)
|
|
at org.h2.message.DbException.get(DbException.java:203)
|
|
at org.h2.message.DbException.get(DbException.java:192)
|
|
at org.h2.jdbc.JdbcConnection.checkClosed(JdbcConnection.java:1375)
|
|
at org.h2.jdbc.JdbcConnection.getMetaData(JdbcConnection.java:306)
|
|
at com.zaxxer.hikari.pool.ProxyConnection.getMetaData(ProxyConnection.java:370)
|
|
at com.zaxxer.hikari.pool.HikariProxyConnection.getMetaData(HikariProxyConnection.java)
|
|
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:179)
|
|
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:36)
|
|
at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:119)
|
|
at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:255)
|
|
at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:230)
|
|
at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:207)
|
|
at org.hibernate.boot.model.relational.Database.<init>(Database.java:44)
|
|
at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.getDatabase(InFlightMetadataCollectorImpl.java:218)
|
|
at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.<init>(InFlightMetadataCollectorImpl.java:191)
|
|
at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:138)
|
|
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.metadata(EntityManagerFactoryBuilderImpl.java:1350)
|
|
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1421)
|
|
at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:66)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:376)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:352)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1797)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1747)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:599)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
|
|
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1130)
|
|
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:905)
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730)
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:432)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:308)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1302)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1291)
|
|
at com.LabWork.app.AppApplication.main(AppApplication.java:10)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
|
|
2023-04-20 14:36:21 jdbc[3]: exception
|
|
org.h2.jdbc.JdbcSQLNonTransientConnectionException: База данных уже закрыта (чтобы отключить автоматическое закрытие базы данных при останове JVM, добавьте ";DB_CLOSE_ON_EXIT=FALSE" в URL)
|
|
Database is already closed (to disable automatic closing at VM shutdown, add ";DB_CLOSE_ON_EXIT=FALSE" to the db URL) [90121-210]
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:697)
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:496)
|
|
at org.h2.message.DbException.get(DbException.java:227)
|
|
at org.h2.message.DbException.get(DbException.java:203)
|
|
at org.h2.message.DbException.get(DbException.java:192)
|
|
at org.h2.jdbc.JdbcConnection.checkClosed(JdbcConnection.java:1375)
|
|
at org.h2.jdbc.JdbcConnection.clearWarnings(JdbcConnection.java:610)
|
|
at com.zaxxer.hikari.pool.ProxyConnection.close(ProxyConnection.java:257)
|
|
at org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.closeConnection(DatasourceConnectionProviderImpl.java:127)
|
|
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess.releaseConnection(JdbcEnvironmentInitiator.java:289)
|
|
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:232)
|
|
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:36)
|
|
at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:119)
|
|
at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:255)
|
|
at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:230)
|
|
at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:207)
|
|
at org.hibernate.boot.model.relational.Database.<init>(Database.java:44)
|
|
at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.getDatabase(InFlightMetadataCollectorImpl.java:218)
|
|
at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.<init>(InFlightMetadataCollectorImpl.java:191)
|
|
at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:138)
|
|
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.metadata(EntityManagerFactoryBuilderImpl.java:1350)
|
|
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1421)
|
|
at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:66)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:376)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:352)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1797)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1747)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:599)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
|
|
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1130)
|
|
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:905)
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730)
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:432)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:308)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1302)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1291)
|
|
at com.LabWork.app.AppApplication.main(AppApplication.java:10)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
|
|
2023-04-20 14:36:22 jdbc[3]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Последовательность "CREATOR_SEQ" уже существует
|
|
Sequence "CREATOR_SEQ" already exists; SQL statement:
|
|
create sequence creator_seq start with 1 increment by 50 [90035-210]
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:651)
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:496)
|
|
at org.h2.message.DbException.get(DbException.java:227)
|
|
at org.h2.message.DbException.get(DbException.java:203)
|
|
at org.h2.command.ddl.CreateSequence.update(CreateSequence.java:53)
|
|
at org.h2.command.ddl.SchemaOwnerCommand.update(SchemaOwnerCommand.java:33)
|
|
at org.h2.command.CommandContainer.update(CommandContainer.java:174)
|
|
at org.h2.command.Command.executeUpdate(Command.java:252)
|
|
at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:252)
|
|
at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:223)
|
|
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
|
|
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
|
|
at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:54)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlString(AbstractSchemaMigrator.java:587)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlStrings(AbstractSchemaMigrator.java:532)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.performMigration(AbstractSchemaMigrator.java:248)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.doMigration(AbstractSchemaMigrator.java:126)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:284)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.lambda$process$5(SchemaManagementToolCoordinator.java:143)
|
|
at java.base/java.util.HashMap.forEach(HashMap.java:1421)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:140)
|
|
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:336)
|
|
at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:415)
|
|
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1425)
|
|
at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:66)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:376)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:352)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1797)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1747)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:599)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
|
|
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1130)
|
|
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:905)
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730)
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:432)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:308)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1302)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1291)
|
|
at com.LabWork.app.AppApplication.main(AppApplication.java:10)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
|
|
2023-04-20 14:36:22 jdbc[3]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Последовательность "MANGA_SEQ" уже существует
|
|
Sequence "MANGA_SEQ" already exists; SQL statement:
|
|
create sequence manga_seq start with 1 increment by 50 [90035-210]
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:651)
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:496)
|
|
at org.h2.message.DbException.get(DbException.java:227)
|
|
at org.h2.message.DbException.get(DbException.java:203)
|
|
at org.h2.command.ddl.CreateSequence.update(CreateSequence.java:53)
|
|
at org.h2.command.ddl.SchemaOwnerCommand.update(SchemaOwnerCommand.java:33)
|
|
at org.h2.command.CommandContainer.update(CommandContainer.java:174)
|
|
at org.h2.command.Command.executeUpdate(Command.java:252)
|
|
at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:252)
|
|
at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:223)
|
|
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
|
|
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
|
|
at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:54)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlString(AbstractSchemaMigrator.java:587)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlStrings(AbstractSchemaMigrator.java:532)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.performMigration(AbstractSchemaMigrator.java:248)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.doMigration(AbstractSchemaMigrator.java:126)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:284)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.lambda$process$5(SchemaManagementToolCoordinator.java:143)
|
|
at java.base/java.util.HashMap.forEach(HashMap.java:1421)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:140)
|
|
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:336)
|
|
at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:415)
|
|
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1425)
|
|
at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:66)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:376)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:352)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1797)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1747)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:599)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
|
|
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1130)
|
|
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:905)
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730)
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:432)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:308)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1302)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1291)
|
|
at com.LabWork.app.AppApplication.main(AppApplication.java:10)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
|
|
2023-04-20 14:36:22 jdbc[3]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Последовательность "READER_SEQ" уже существует
|
|
Sequence "READER_SEQ" already exists; SQL statement:
|
|
create sequence reader_seq start with 1 increment by 50 [90035-210]
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:651)
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:496)
|
|
at org.h2.message.DbException.get(DbException.java:227)
|
|
at org.h2.message.DbException.get(DbException.java:203)
|
|
at org.h2.command.ddl.CreateSequence.update(CreateSequence.java:53)
|
|
at org.h2.command.ddl.SchemaOwnerCommand.update(SchemaOwnerCommand.java:33)
|
|
at org.h2.command.CommandContainer.update(CommandContainer.java:174)
|
|
at org.h2.command.Command.executeUpdate(Command.java:252)
|
|
at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:252)
|
|
at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:223)
|
|
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
|
|
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
|
|
at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:54)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlString(AbstractSchemaMigrator.java:587)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlStrings(AbstractSchemaMigrator.java:532)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.performMigration(AbstractSchemaMigrator.java:248)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.doMigration(AbstractSchemaMigrator.java:126)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:284)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.lambda$process$5(SchemaManagementToolCoordinator.java:143)
|
|
at java.base/java.util.HashMap.forEach(HashMap.java:1421)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:140)
|
|
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:336)
|
|
at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:415)
|
|
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1425)
|
|
at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:66)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:376)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:352)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1797)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1747)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:599)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
|
|
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1130)
|
|
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:905)
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730)
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:432)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:308)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1302)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1291)
|
|
at com.LabWork.app.AppApplication.main(AppApplication.java:10)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
|
|
2023-04-20 14:36:22 jdbc[3]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Ограничение "FK9PLPVG6B0PWR4D02NWSEAYB0E" уже существует
|
|
Constraint "FK9PLPVG6B0PWR4D02NWSEAYB0E" already exists; SQL statement:
|
|
alter table manga add constraint FK9plpvg6b0pwr4d02nwseayb0e foreign key (creator_fk) references creator [90045-210]
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:651)
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:496)
|
|
at org.h2.message.DbException.get(DbException.java:227)
|
|
at org.h2.message.DbException.get(DbException.java:203)
|
|
at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:109)
|
|
at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:72)
|
|
at org.h2.command.ddl.AlterTable.update(AlterTable.java:46)
|
|
at org.h2.command.CommandContainer.update(CommandContainer.java:174)
|
|
at org.h2.command.Command.executeUpdate(Command.java:252)
|
|
at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:252)
|
|
at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:223)
|
|
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
|
|
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
|
|
at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:54)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlString(AbstractSchemaMigrator.java:587)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlStrings(AbstractSchemaMigrator.java:532)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applyForeignKeys(AbstractSchemaMigrator.java:458)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.performMigration(AbstractSchemaMigrator.java:278)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.doMigration(AbstractSchemaMigrator.java:126)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:284)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.lambda$process$5(SchemaManagementToolCoordinator.java:143)
|
|
at java.base/java.util.HashMap.forEach(HashMap.java:1421)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:140)
|
|
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:336)
|
|
at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:415)
|
|
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1425)
|
|
at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:66)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:376)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:352)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1797)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1747)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:599)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
|
|
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1130)
|
|
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:905)
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730)
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:432)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:308)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1302)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1291)
|
|
at com.LabWork.app.AppApplication.main(AppApplication.java:10)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
|
|
2023-04-20 14:36:22 jdbc[3]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Ограничение "FKLWS2TIQ536CQ30TKVFSPQ29DD" уже существует
|
|
Constraint "FKLWS2TIQ536CQ30TKVFSPQ29DD" already exists; SQL statement:
|
|
alter table reader_mangas add constraint FKlws2tiq536cq30tkvfspq29dd foreign key (mangas_id) references manga [90045-210]
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:651)
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:496)
|
|
at org.h2.message.DbException.get(DbException.java:227)
|
|
at org.h2.message.DbException.get(DbException.java:203)
|
|
at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:109)
|
|
at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:72)
|
|
at org.h2.command.ddl.AlterTable.update(AlterTable.java:46)
|
|
at org.h2.command.CommandContainer.update(CommandContainer.java:174)
|
|
at org.h2.command.Command.executeUpdate(Command.java:252)
|
|
at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:252)
|
|
at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:223)
|
|
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
|
|
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
|
|
at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:54)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlString(AbstractSchemaMigrator.java:587)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlStrings(AbstractSchemaMigrator.java:532)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applyForeignKeys(AbstractSchemaMigrator.java:458)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.performMigration(AbstractSchemaMigrator.java:278)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.doMigration(AbstractSchemaMigrator.java:126)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:284)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.lambda$process$5(SchemaManagementToolCoordinator.java:143)
|
|
at java.base/java.util.HashMap.forEach(HashMap.java:1421)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:140)
|
|
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:336)
|
|
at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:415)
|
|
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1425)
|
|
at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:66)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:376)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:352)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1797)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1747)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:599)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
|
|
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1130)
|
|
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:905)
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730)
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:432)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:308)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1302)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1291)
|
|
at com.LabWork.app.AppApplication.main(AppApplication.java:10)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
|
|
2023-04-20 14:36:22 jdbc[3]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Ограничение "FKEYLA07696YCEV3THCPXSERXQY" уже существует
|
|
Constraint "FKEYLA07696YCEV3THCPXSERXQY" already exists; SQL statement:
|
|
alter table reader_mangas add constraint FKeyla07696ycev3thcpxserxqy foreign key (reader_id) references reader [90045-210]
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:651)
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:496)
|
|
at org.h2.message.DbException.get(DbException.java:227)
|
|
at org.h2.message.DbException.get(DbException.java:203)
|
|
at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:109)
|
|
at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:72)
|
|
at org.h2.command.ddl.AlterTable.update(AlterTable.java:46)
|
|
at org.h2.command.CommandContainer.update(CommandContainer.java:174)
|
|
at org.h2.command.Command.executeUpdate(Command.java:252)
|
|
at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:252)
|
|
at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:223)
|
|
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
|
|
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
|
|
at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:54)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlString(AbstractSchemaMigrator.java:587)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlStrings(AbstractSchemaMigrator.java:532)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applyForeignKeys(AbstractSchemaMigrator.java:458)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.performMigration(AbstractSchemaMigrator.java:278)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.doMigration(AbstractSchemaMigrator.java:126)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:284)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.lambda$process$5(SchemaManagementToolCoordinator.java:143)
|
|
at java.base/java.util.HashMap.forEach(HashMap.java:1421)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:140)
|
|
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:336)
|
|
at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:415)
|
|
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1425)
|
|
at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:66)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:376)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:352)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1797)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1747)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:599)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
|
|
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1130)
|
|
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:905)
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730)
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:432)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:308)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1302)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1291)
|
|
at com.LabWork.app.AppApplication.main(AppApplication.java:10)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
|
|
2023-04-20 19:49:22 database: flush
|
|
org.h2.message.DbException: Внутренняя ошибка: "org.h2.mvstore.MVStoreException: The file is locked: D:/RaspaevNikolayPIbd-21/2_sem/IP/IP_PIbd-21_Raspaev_NI/data.mv.db [2.1.210/7]"
|
|
General error: "org.h2.mvstore.MVStoreException: The file is locked: D:/RaspaevNikolayPIbd-21/2_sem/IP/IP_PIbd-21_Raspaev_NI/data.mv.db [2.1.210/7]" [50000-210]
|
|
at org.h2.message.DbException.get(DbException.java:216)
|
|
at org.h2.message.DbException.convert(DbException.java:414)
|
|
at org.h2.mvstore.db.Store.lambda$new$0(Store.java:120)
|
|
at org.h2.mvstore.MVStore.handleException(MVStore.java:3296)
|
|
at org.h2.mvstore.MVStore.panic(MVStore.java:585)
|
|
at org.h2.mvstore.MVStore.<init>(MVStore.java:461)
|
|
at org.h2.mvstore.MVStore$Builder.open(MVStore.java:4056)
|
|
at org.h2.mvstore.db.Store.<init>(Store.java:129)
|
|
at org.h2.engine.Database.<init>(Database.java:324)
|
|
at org.h2.engine.Engine.openSession(Engine.java:92)
|
|
at org.h2.engine.Engine.openSession(Engine.java:222)
|
|
at org.h2.engine.Engine.createSession(Engine.java:201)
|
|
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:338)
|
|
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:122)
|
|
at org.h2.Driver.connect(Driver.java:59)
|
|
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138)
|
|
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:359)
|
|
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:201)
|
|
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:470)
|
|
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561)
|
|
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:100)
|
|
at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
|
|
at org.springframework.boot.autoconfigure.h2.H2ConsoleAutoConfiguration.getConnectionUrl(H2ConsoleAutoConfiguration.java:94)
|
|
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
at java.base/java.util.stream.SortedOps$RefSortingSink.end(SortedOps.java:395)
|
|
at java.base/java.util.stream.Sink$ChainedReference.end(Sink.java:258)
|
|
at java.base/java.util.stream.Sink$ChainedReference.end(Sink.java:258)
|
|
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:510)
|
|
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
|
|
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:575)
|
|
at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
|
|
at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616)
|
|
at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:622)
|
|
at java.base/java.util.stream.ReferencePipeline.toList(ReferencePipeline.java:627)
|
|
at org.springframework.boot.autoconfigure.h2.H2ConsoleAutoConfiguration.logDataSources(H2ConsoleAutoConfiguration.java:86)
|
|
at org.springframework.boot.autoconfigure.h2.H2ConsoleAutoConfiguration.lambda$h2Console$0(H2ConsoleAutoConfiguration.java:69)
|
|
at org.springframework.boot.autoconfigure.h2.H2ConsoleAutoConfiguration.withThreadContextClassLoader(H2ConsoleAutoConfiguration.java:78)
|
|
at org.springframework.boot.autoconfigure.h2.H2ConsoleAutoConfiguration.h2Console(H2ConsoleAutoConfiguration.java:69)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139)
|
|
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653)
|
|
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:645)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1324)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1161)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:561)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:205)
|
|
at org.springframework.boot.web.servlet.ServletContextInitializerBeans.getOrderedBeansOfType(ServletContextInitializerBeans.java:208)
|
|
at org.springframework.boot.web.servlet.ServletContextInitializerBeans.getOrderedBeansOfType(ServletContextInitializerBeans.java:199)
|
|
at org.springframework.boot.web.servlet.ServletContextInitializerBeans.addServletContextInitializerBeans(ServletContextInitializerBeans.java:94)
|
|
at org.springframework.boot.web.servlet.ServletContextInitializerBeans.<init>(ServletContextInitializerBeans.java:85)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.getServletContextInitializerBeans(ServletWebServerApplicationContext.java:261)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.selfInitialize(ServletWebServerApplicationContext.java:235)
|
|
at org.springframework.boot.web.embedded.tomcat.TomcatStarter.onStartup(TomcatStarter.java:52)
|
|
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5144)
|
|
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
|
|
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1393)
|
|
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1383)
|
|
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
|
|
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
|
|
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145)
|
|
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:916)
|
|
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:886)
|
|
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
|
|
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1393)
|
|
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1383)
|
|
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
|
|
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
|
|
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145)
|
|
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:916)
|
|
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:252)
|
|
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
|
|
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:430)
|
|
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
|
|
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:926)
|
|
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
|
|
at org.apache.catalina.startup.Tomcat.start(Tomcat.java:485)
|
|
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:123)
|
|
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.<init>(TomcatWebServer.java:104)
|
|
at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getTomcatWebServer(TomcatServletWebServerFactory.java:486)
|
|
at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:210)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:183)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:161)
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:578)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730)
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:432)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:308)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1302)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1291)
|
|
at com.LabWork.app.AppApplication.main(AppApplication.java:10)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
|
|
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Внутренняя ошибка: "org.h2.mvstore.MVStoreException: The file is locked: D:/RaspaevNikolayPIbd-21/2_sem/IP/IP_PIbd-21_Raspaev_NI/data.mv.db [2.1.210/7]"
|
|
General error: "org.h2.mvstore.MVStoreException: The file is locked: D:/RaspaevNikolayPIbd-21/2_sem/IP/IP_PIbd-21_Raspaev_NI/data.mv.db [2.1.210/7]" [50000-210]
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:573)
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:496)
|
|
... 103 more
|
|
Caused by: org.h2.mvstore.MVStoreException: The file is locked: D:/RaspaevNikolayPIbd-21/2_sem/IP/IP_PIbd-21_Raspaev_NI/data.mv.db [2.1.210/7]
|
|
at org.h2.mvstore.DataUtils.newMVStoreException(DataUtils.java:1004)
|
|
at org.h2.mvstore.FileStore.open(FileStore.java:163)
|
|
at org.h2.mvstore.MVStore.<init>(MVStore.java:444)
|
|
... 97 more
|
|
2023-04-20 19:49:23 database: flush
|
|
org.h2.message.DbException: Внутренняя ошибка: "org.h2.mvstore.MVStoreException: The file is locked: D:/RaspaevNikolayPIbd-21/2_sem/IP/IP_PIbd-21_Raspaev_NI/data.mv.db [2.1.210/7]"
|
|
General error: "org.h2.mvstore.MVStoreException: The file is locked: D:/RaspaevNikolayPIbd-21/2_sem/IP/IP_PIbd-21_Raspaev_NI/data.mv.db [2.1.210/7]" [50000-210]
|
|
at org.h2.message.DbException.get(DbException.java:216)
|
|
at org.h2.message.DbException.convert(DbException.java:414)
|
|
at org.h2.mvstore.db.Store.lambda$new$0(Store.java:120)
|
|
at org.h2.mvstore.MVStore.handleException(MVStore.java:3296)
|
|
at org.h2.mvstore.MVStore.panic(MVStore.java:585)
|
|
at org.h2.mvstore.MVStore.<init>(MVStore.java:461)
|
|
at org.h2.mvstore.MVStore$Builder.open(MVStore.java:4056)
|
|
at org.h2.mvstore.db.Store.<init>(Store.java:129)
|
|
at org.h2.engine.Database.<init>(Database.java:324)
|
|
at org.h2.engine.Engine.openSession(Engine.java:92)
|
|
at org.h2.engine.Engine.openSession(Engine.java:222)
|
|
at org.h2.engine.Engine.createSession(Engine.java:201)
|
|
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:338)
|
|
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:122)
|
|
at org.h2.Driver.connect(Driver.java:59)
|
|
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138)
|
|
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:359)
|
|
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:201)
|
|
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:470)
|
|
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561)
|
|
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:100)
|
|
at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
|
|
at org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:122)
|
|
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcEnvironmentInitiator.java:284)
|
|
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:177)
|
|
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:36)
|
|
at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:119)
|
|
at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:255)
|
|
at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:230)
|
|
at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:207)
|
|
at org.hibernate.boot.model.relational.Database.<init>(Database.java:44)
|
|
at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.getDatabase(InFlightMetadataCollectorImpl.java:218)
|
|
at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.<init>(InFlightMetadataCollectorImpl.java:191)
|
|
at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:138)
|
|
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.metadata(EntityManagerFactoryBuilderImpl.java:1350)
|
|
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1421)
|
|
at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:66)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:376)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:352)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1797)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1747)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:599)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
|
|
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1130)
|
|
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:905)
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730)
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:432)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:308)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1302)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1291)
|
|
at com.LabWork.app.AppApplication.main(AppApplication.java:10)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
|
|
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Внутренняя ошибка: "org.h2.mvstore.MVStoreException: The file is locked: D:/RaspaevNikolayPIbd-21/2_sem/IP/IP_PIbd-21_Raspaev_NI/data.mv.db [2.1.210/7]"
|
|
General error: "org.h2.mvstore.MVStoreException: The file is locked: D:/RaspaevNikolayPIbd-21/2_sem/IP/IP_PIbd-21_Raspaev_NI/data.mv.db [2.1.210/7]" [50000-210]
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:573)
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:496)
|
|
... 64 more
|
|
Caused by: org.h2.mvstore.MVStoreException: The file is locked: D:/RaspaevNikolayPIbd-21/2_sem/IP/IP_PIbd-21_Raspaev_NI/data.mv.db [2.1.210/7]
|
|
at org.h2.mvstore.DataUtils.newMVStoreException(DataUtils.java:1004)
|
|
at org.h2.mvstore.FileStore.open(FileStore.java:163)
|
|
at org.h2.mvstore.MVStore.<init>(MVStore.java:444)
|
|
... 58 more
|
|
2023-04-20 19:49:25 database: flush
|
|
org.h2.message.DbException: Внутренняя ошибка: "org.h2.mvstore.MVStoreException: The file is locked: D:/RaspaevNikolayPIbd-21/2_sem/IP/IP_PIbd-21_Raspaev_NI/data.mv.db [2.1.210/7]"
|
|
General error: "org.h2.mvstore.MVStoreException: The file is locked: D:/RaspaevNikolayPIbd-21/2_sem/IP/IP_PIbd-21_Raspaev_NI/data.mv.db [2.1.210/7]" [50000-210]
|
|
at org.h2.message.DbException.get(DbException.java:216)
|
|
at org.h2.message.DbException.convert(DbException.java:414)
|
|
at org.h2.mvstore.db.Store.lambda$new$0(Store.java:120)
|
|
at org.h2.mvstore.MVStore.handleException(MVStore.java:3296)
|
|
at org.h2.mvstore.MVStore.panic(MVStore.java:585)
|
|
at org.h2.mvstore.MVStore.<init>(MVStore.java:461)
|
|
at org.h2.mvstore.MVStore$Builder.open(MVStore.java:4056)
|
|
at org.h2.mvstore.db.Store.<init>(Store.java:129)
|
|
at org.h2.engine.Database.<init>(Database.java:324)
|
|
at org.h2.engine.Engine.openSession(Engine.java:92)
|
|
at org.h2.engine.Engine.openSession(Engine.java:222)
|
|
at org.h2.engine.Engine.createSession(Engine.java:201)
|
|
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:338)
|
|
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:122)
|
|
at org.h2.Driver.connect(Driver.java:59)
|
|
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138)
|
|
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:359)
|
|
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:201)
|
|
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:470)
|
|
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561)
|
|
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:100)
|
|
at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
|
|
at org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:122)
|
|
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcEnvironmentInitiator.java:284)
|
|
at org.hibernate.resource.transaction.backend.jdbc.internal.DdlTransactionIsolatorNonJtaImpl.getIsolatedConnection(DdlTransactionIsolatorNonJtaImpl.java:41)
|
|
at org.hibernate.tool.schema.internal.exec.ImprovedExtractionContextImpl.getJdbcConnection(ImprovedExtractionContextImpl.java:63)
|
|
at org.hibernate.tool.schema.internal.exec.ImprovedExtractionContextImpl.getJdbcDatabaseMetaData(ImprovedExtractionContextImpl.java:70)
|
|
at org.hibernate.tool.schema.extract.internal.InformationExtractorJdbcDatabaseMetaDataImpl.processTableResultSet(InformationExtractorJdbcDatabaseMetaDataImpl.java:64)
|
|
at org.hibernate.tool.schema.extract.internal.AbstractInformationExtractorImpl.getTables(AbstractInformationExtractorImpl.java:564)
|
|
at org.hibernate.tool.schema.extract.internal.DatabaseInformationImpl.getTablesInformation(DatabaseInformationImpl.java:122)
|
|
at org.hibernate.tool.schema.internal.GroupedSchemaMigratorImpl.performTablesMigration(GroupedSchemaMigratorImpl.java:71)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.performMigration(AbstractSchemaMigrator.java:225)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.doMigration(AbstractSchemaMigrator.java:126)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:284)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.lambda$process$5(SchemaManagementToolCoordinator.java:143)
|
|
at java.base/java.util.HashMap.forEach(HashMap.java:1421)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:140)
|
|
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:336)
|
|
at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:415)
|
|
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1425)
|
|
at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:66)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:376)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:352)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1797)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1747)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:599)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
|
|
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1130)
|
|
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:905)
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730)
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:432)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:308)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1302)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1291)
|
|
at com.LabWork.app.AppApplication.main(AppApplication.java:10)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
|
|
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Внутренняя ошибка: "org.h2.mvstore.MVStoreException: The file is locked: D:/RaspaevNikolayPIbd-21/2_sem/IP/IP_PIbd-21_Raspaev_NI/data.mv.db [2.1.210/7]"
|
|
General error: "org.h2.mvstore.MVStoreException: The file is locked: D:/RaspaevNikolayPIbd-21/2_sem/IP/IP_PIbd-21_Raspaev_NI/data.mv.db [2.1.210/7]" [50000-210]
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:573)
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:496)
|
|
... 68 more
|
|
Caused by: org.h2.mvstore.MVStoreException: The file is locked: D:/RaspaevNikolayPIbd-21/2_sem/IP/IP_PIbd-21_Raspaev_NI/data.mv.db [2.1.210/7]
|
|
at org.h2.mvstore.DataUtils.newMVStoreException(DataUtils.java:1004)
|
|
at org.h2.mvstore.FileStore.open(FileStore.java:163)
|
|
at org.h2.mvstore.MVStore.<init>(MVStore.java:444)
|
|
... 62 more
|
|
2023-04-20 20:47:19 database: flush
|
|
org.h2.message.DbException: Внутренняя ошибка: "org.h2.mvstore.MVStoreException: The file is locked: D:/RaspaevNikolayPIbd-21/2_sem/IP/IP_PIbd-21_Raspaev_NI/data.mv.db [2.1.210/7]"
|
|
General error: "org.h2.mvstore.MVStoreException: The file is locked: D:/RaspaevNikolayPIbd-21/2_sem/IP/IP_PIbd-21_Raspaev_NI/data.mv.db [2.1.210/7]" [50000-210]
|
|
at org.h2.message.DbException.get(DbException.java:216)
|
|
at org.h2.message.DbException.convert(DbException.java:414)
|
|
at org.h2.mvstore.db.Store.lambda$new$0(Store.java:120)
|
|
at org.h2.mvstore.MVStore.handleException(MVStore.java:3296)
|
|
at org.h2.mvstore.MVStore.panic(MVStore.java:585)
|
|
at org.h2.mvstore.MVStore.<init>(MVStore.java:461)
|
|
at org.h2.mvstore.MVStore$Builder.open(MVStore.java:4056)
|
|
at org.h2.mvstore.db.Store.<init>(Store.java:129)
|
|
at org.h2.engine.Database.<init>(Database.java:324)
|
|
at org.h2.engine.Engine.openSession(Engine.java:92)
|
|
at org.h2.engine.Engine.openSession(Engine.java:222)
|
|
at org.h2.engine.Engine.createSession(Engine.java:201)
|
|
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:338)
|
|
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:122)
|
|
at org.h2.Driver.connect(Driver.java:59)
|
|
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138)
|
|
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:359)
|
|
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:201)
|
|
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:470)
|
|
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561)
|
|
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:100)
|
|
at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
|
|
at org.springframework.boot.autoconfigure.h2.H2ConsoleAutoConfiguration.getConnectionUrl(H2ConsoleAutoConfiguration.java:94)
|
|
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
at java.base/java.util.stream.SortedOps$RefSortingSink.end(SortedOps.java:395)
|
|
at java.base/java.util.stream.Sink$ChainedReference.end(Sink.java:258)
|
|
at java.base/java.util.stream.Sink$ChainedReference.end(Sink.java:258)
|
|
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:510)
|
|
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
|
|
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:575)
|
|
at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
|
|
at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616)
|
|
at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:622)
|
|
at java.base/java.util.stream.ReferencePipeline.toList(ReferencePipeline.java:627)
|
|
at org.springframework.boot.autoconfigure.h2.H2ConsoleAutoConfiguration.logDataSources(H2ConsoleAutoConfiguration.java:86)
|
|
at org.springframework.boot.autoconfigure.h2.H2ConsoleAutoConfiguration.lambda$h2Console$0(H2ConsoleAutoConfiguration.java:69)
|
|
at org.springframework.boot.autoconfigure.h2.H2ConsoleAutoConfiguration.withThreadContextClassLoader(H2ConsoleAutoConfiguration.java:78)
|
|
at org.springframework.boot.autoconfigure.h2.H2ConsoleAutoConfiguration.h2Console(H2ConsoleAutoConfiguration.java:69)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:139)
|
|
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653)
|
|
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:645)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1324)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1161)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:561)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:205)
|
|
at org.springframework.boot.web.servlet.ServletContextInitializerBeans.getOrderedBeansOfType(ServletContextInitializerBeans.java:208)
|
|
at org.springframework.boot.web.servlet.ServletContextInitializerBeans.getOrderedBeansOfType(ServletContextInitializerBeans.java:199)
|
|
at org.springframework.boot.web.servlet.ServletContextInitializerBeans.addServletContextInitializerBeans(ServletContextInitializerBeans.java:94)
|
|
at org.springframework.boot.web.servlet.ServletContextInitializerBeans.<init>(ServletContextInitializerBeans.java:85)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.getServletContextInitializerBeans(ServletWebServerApplicationContext.java:261)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.selfInitialize(ServletWebServerApplicationContext.java:235)
|
|
at org.springframework.boot.web.embedded.tomcat.TomcatStarter.onStartup(TomcatStarter.java:52)
|
|
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5144)
|
|
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
|
|
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1393)
|
|
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1383)
|
|
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
|
|
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
|
|
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145)
|
|
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:916)
|
|
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:886)
|
|
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
|
|
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1393)
|
|
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1383)
|
|
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
|
|
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
|
|
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145)
|
|
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:916)
|
|
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:252)
|
|
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
|
|
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:430)
|
|
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
|
|
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:926)
|
|
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
|
|
at org.apache.catalina.startup.Tomcat.start(Tomcat.java:485)
|
|
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:123)
|
|
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.<init>(TomcatWebServer.java:104)
|
|
at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getTomcatWebServer(TomcatServletWebServerFactory.java:486)
|
|
at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:210)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:183)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:161)
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:578)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730)
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:432)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:308)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1302)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1291)
|
|
at com.LabWork.app.AppApplication.main(AppApplication.java:10)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
|
|
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Внутренняя ошибка: "org.h2.mvstore.MVStoreException: The file is locked: D:/RaspaevNikolayPIbd-21/2_sem/IP/IP_PIbd-21_Raspaev_NI/data.mv.db [2.1.210/7]"
|
|
General error: "org.h2.mvstore.MVStoreException: The file is locked: D:/RaspaevNikolayPIbd-21/2_sem/IP/IP_PIbd-21_Raspaev_NI/data.mv.db [2.1.210/7]" [50000-210]
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:573)
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:496)
|
|
... 103 more
|
|
Caused by: org.h2.mvstore.MVStoreException: The file is locked: D:/RaspaevNikolayPIbd-21/2_sem/IP/IP_PIbd-21_Raspaev_NI/data.mv.db [2.1.210/7]
|
|
at org.h2.mvstore.DataUtils.newMVStoreException(DataUtils.java:1004)
|
|
at org.h2.mvstore.FileStore.open(FileStore.java:163)
|
|
at org.h2.mvstore.MVStore.<init>(MVStore.java:444)
|
|
... 97 more
|
|
2023-04-20 20:47:21 database: flush
|
|
org.h2.message.DbException: Внутренняя ошибка: "org.h2.mvstore.MVStoreException: The file is locked: D:/RaspaevNikolayPIbd-21/2_sem/IP/IP_PIbd-21_Raspaev_NI/data.mv.db [2.1.210/7]"
|
|
General error: "org.h2.mvstore.MVStoreException: The file is locked: D:/RaspaevNikolayPIbd-21/2_sem/IP/IP_PIbd-21_Raspaev_NI/data.mv.db [2.1.210/7]" [50000-210]
|
|
at org.h2.message.DbException.get(DbException.java:216)
|
|
at org.h2.message.DbException.convert(DbException.java:414)
|
|
at org.h2.mvstore.db.Store.lambda$new$0(Store.java:120)
|
|
at org.h2.mvstore.MVStore.handleException(MVStore.java:3296)
|
|
at org.h2.mvstore.MVStore.panic(MVStore.java:585)
|
|
at org.h2.mvstore.MVStore.<init>(MVStore.java:461)
|
|
at org.h2.mvstore.MVStore$Builder.open(MVStore.java:4056)
|
|
at org.h2.mvstore.db.Store.<init>(Store.java:129)
|
|
at org.h2.engine.Database.<init>(Database.java:324)
|
|
at org.h2.engine.Engine.openSession(Engine.java:92)
|
|
at org.h2.engine.Engine.openSession(Engine.java:222)
|
|
at org.h2.engine.Engine.createSession(Engine.java:201)
|
|
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:338)
|
|
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:122)
|
|
at org.h2.Driver.connect(Driver.java:59)
|
|
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138)
|
|
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:359)
|
|
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:201)
|
|
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:470)
|
|
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561)
|
|
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:100)
|
|
at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
|
|
at org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:122)
|
|
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcEnvironmentInitiator.java:284)
|
|
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:177)
|
|
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:36)
|
|
at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:119)
|
|
at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:255)
|
|
at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:230)
|
|
at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:207)
|
|
at org.hibernate.boot.model.relational.Database.<init>(Database.java:44)
|
|
at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.getDatabase(InFlightMetadataCollectorImpl.java:218)
|
|
at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.<init>(InFlightMetadataCollectorImpl.java:191)
|
|
at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:138)
|
|
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.metadata(EntityManagerFactoryBuilderImpl.java:1350)
|
|
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1421)
|
|
at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:66)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:376)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:352)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1797)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1747)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:599)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
|
|
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1130)
|
|
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:905)
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730)
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:432)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:308)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1302)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1291)
|
|
at com.LabWork.app.AppApplication.main(AppApplication.java:10)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
|
|
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Внутренняя ошибка: "org.h2.mvstore.MVStoreException: The file is locked: D:/RaspaevNikolayPIbd-21/2_sem/IP/IP_PIbd-21_Raspaev_NI/data.mv.db [2.1.210/7]"
|
|
General error: "org.h2.mvstore.MVStoreException: The file is locked: D:/RaspaevNikolayPIbd-21/2_sem/IP/IP_PIbd-21_Raspaev_NI/data.mv.db [2.1.210/7]" [50000-210]
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:573)
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:496)
|
|
... 64 more
|
|
Caused by: org.h2.mvstore.MVStoreException: The file is locked: D:/RaspaevNikolayPIbd-21/2_sem/IP/IP_PIbd-21_Raspaev_NI/data.mv.db [2.1.210/7]
|
|
at org.h2.mvstore.DataUtils.newMVStoreException(DataUtils.java:1004)
|
|
at org.h2.mvstore.FileStore.open(FileStore.java:163)
|
|
at org.h2.mvstore.MVStore.<init>(MVStore.java:444)
|
|
... 58 more
|
|
2023-04-20 20:47:22 database: flush
|
|
org.h2.message.DbException: Внутренняя ошибка: "org.h2.mvstore.MVStoreException: The file is locked: D:/RaspaevNikolayPIbd-21/2_sem/IP/IP_PIbd-21_Raspaev_NI/data.mv.db [2.1.210/7]"
|
|
General error: "org.h2.mvstore.MVStoreException: The file is locked: D:/RaspaevNikolayPIbd-21/2_sem/IP/IP_PIbd-21_Raspaev_NI/data.mv.db [2.1.210/7]" [50000-210]
|
|
at org.h2.message.DbException.get(DbException.java:216)
|
|
at org.h2.message.DbException.convert(DbException.java:414)
|
|
at org.h2.mvstore.db.Store.lambda$new$0(Store.java:120)
|
|
at org.h2.mvstore.MVStore.handleException(MVStore.java:3296)
|
|
at org.h2.mvstore.MVStore.panic(MVStore.java:585)
|
|
at org.h2.mvstore.MVStore.<init>(MVStore.java:461)
|
|
at org.h2.mvstore.MVStore$Builder.open(MVStore.java:4056)
|
|
at org.h2.mvstore.db.Store.<init>(Store.java:129)
|
|
at org.h2.engine.Database.<init>(Database.java:324)
|
|
at org.h2.engine.Engine.openSession(Engine.java:92)
|
|
at org.h2.engine.Engine.openSession(Engine.java:222)
|
|
at org.h2.engine.Engine.createSession(Engine.java:201)
|
|
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:338)
|
|
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:122)
|
|
at org.h2.Driver.connect(Driver.java:59)
|
|
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138)
|
|
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:359)
|
|
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:201)
|
|
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:470)
|
|
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561)
|
|
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:100)
|
|
at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
|
|
at org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:122)
|
|
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcEnvironmentInitiator.java:284)
|
|
at org.hibernate.resource.transaction.backend.jdbc.internal.DdlTransactionIsolatorNonJtaImpl.getIsolatedConnection(DdlTransactionIsolatorNonJtaImpl.java:41)
|
|
at org.hibernate.tool.schema.internal.exec.ImprovedExtractionContextImpl.getJdbcConnection(ImprovedExtractionContextImpl.java:63)
|
|
at org.hibernate.tool.schema.internal.exec.ImprovedExtractionContextImpl.getJdbcDatabaseMetaData(ImprovedExtractionContextImpl.java:70)
|
|
at org.hibernate.tool.schema.extract.internal.InformationExtractorJdbcDatabaseMetaDataImpl.processTableResultSet(InformationExtractorJdbcDatabaseMetaDataImpl.java:64)
|
|
at org.hibernate.tool.schema.extract.internal.AbstractInformationExtractorImpl.getTables(AbstractInformationExtractorImpl.java:564)
|
|
at org.hibernate.tool.schema.extract.internal.DatabaseInformationImpl.getTablesInformation(DatabaseInformationImpl.java:122)
|
|
at org.hibernate.tool.schema.internal.GroupedSchemaMigratorImpl.performTablesMigration(GroupedSchemaMigratorImpl.java:71)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.performMigration(AbstractSchemaMigrator.java:225)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.doMigration(AbstractSchemaMigrator.java:126)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:284)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.lambda$process$5(SchemaManagementToolCoordinator.java:143)
|
|
at java.base/java.util.HashMap.forEach(HashMap.java:1421)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:140)
|
|
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:336)
|
|
at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:415)
|
|
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1425)
|
|
at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:66)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:376)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:352)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1797)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1747)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:599)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
|
|
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1130)
|
|
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:905)
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:584)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730)
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:432)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:308)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1302)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1291)
|
|
at com.LabWork.app.AppApplication.main(AppApplication.java:10)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
|
|
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Внутренняя ошибка: "org.h2.mvstore.MVStoreException: The file is locked: D:/RaspaevNikolayPIbd-21/2_sem/IP/IP_PIbd-21_Raspaev_NI/data.mv.db [2.1.210/7]"
|
|
General error: "org.h2.mvstore.MVStoreException: The file is locked: D:/RaspaevNikolayPIbd-21/2_sem/IP/IP_PIbd-21_Raspaev_NI/data.mv.db [2.1.210/7]" [50000-210]
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:573)
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:496)
|
|
... 68 more
|
|
Caused by: org.h2.mvstore.MVStoreException: The file is locked: D:/RaspaevNikolayPIbd-21/2_sem/IP/IP_PIbd-21_Raspaev_NI/data.mv.db [2.1.210/7]
|
|
at org.h2.mvstore.DataUtils.newMVStoreException(DataUtils.java:1004)
|
|
at org.h2.mvstore.FileStore.open(FileStore.java:163)
|
|
at org.h2.mvstore.MVStore.<init>(MVStore.java:444)
|
|
... 62 more
|
|
2023-05-01 12:00:09 jdbc[3]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Ограничение "FK9PLPVG6B0PWR4D02NWSEAYB0E" уже существует
|
|
Constraint "FK9PLPVG6B0PWR4D02NWSEAYB0E" already exists; SQL statement:
|
|
alter table manga add constraint FK9plpvg6b0pwr4d02nwseayb0e foreign key (creator_fk) references creator [90045-210]
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:651)
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:496)
|
|
at org.h2.message.DbException.get(DbException.java:227)
|
|
at org.h2.message.DbException.get(DbException.java:203)
|
|
at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:109)
|
|
at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:72)
|
|
at org.h2.command.ddl.AlterTable.update(AlterTable.java:46)
|
|
at org.h2.command.CommandContainer.update(CommandContainer.java:174)
|
|
at org.h2.command.Command.executeUpdate(Command.java:252)
|
|
at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:252)
|
|
at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:223)
|
|
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
|
|
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
|
|
at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:54)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlString(AbstractSchemaMigrator.java:581)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlStrings(AbstractSchemaMigrator.java:526)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applyForeignKeys(AbstractSchemaMigrator.java:452)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.performMigration(AbstractSchemaMigrator.java:263)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.doMigration(AbstractSchemaMigrator.java:123)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:192)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:81)
|
|
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:335)
|
|
at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:471)
|
|
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1498)
|
|
at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:58)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1863)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
|
|
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1154)
|
|
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:908)
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732)
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:414)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:302)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292)
|
|
at com.LabWork.app.AppApplication.main(AppApplication.java:9)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
|
|
2023-05-01 12:00:09 jdbc[3]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Ограничение "FKLWS2TIQ536CQ30TKVFSPQ29DD" уже существует
|
|
Constraint "FKLWS2TIQ536CQ30TKVFSPQ29DD" already exists; SQL statement:
|
|
alter table reader_mangas add constraint FKlws2tiq536cq30tkvfspq29dd foreign key (mangas_id) references manga [90045-210]
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:651)
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:496)
|
|
at org.h2.message.DbException.get(DbException.java:227)
|
|
at org.h2.message.DbException.get(DbException.java:203)
|
|
at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:109)
|
|
at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:72)
|
|
at org.h2.command.ddl.AlterTable.update(AlterTable.java:46)
|
|
at org.h2.command.CommandContainer.update(CommandContainer.java:174)
|
|
at org.h2.command.Command.executeUpdate(Command.java:252)
|
|
at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:252)
|
|
at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:223)
|
|
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
|
|
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
|
|
at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:54)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlString(AbstractSchemaMigrator.java:581)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlStrings(AbstractSchemaMigrator.java:526)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applyForeignKeys(AbstractSchemaMigrator.java:452)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.performMigration(AbstractSchemaMigrator.java:263)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.doMigration(AbstractSchemaMigrator.java:123)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:192)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:81)
|
|
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:335)
|
|
at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:471)
|
|
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1498)
|
|
at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:58)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1863)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
|
|
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1154)
|
|
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:908)
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732)
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:414)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:302)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292)
|
|
at com.LabWork.app.AppApplication.main(AppApplication.java:9)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
|
|
2023-05-01 12:00:09 jdbc[3]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Ограничение "FKEYLA07696YCEV3THCPXSERXQY" уже существует
|
|
Constraint "FKEYLA07696YCEV3THCPXSERXQY" already exists; SQL statement:
|
|
alter table reader_mangas add constraint FKeyla07696ycev3thcpxserxqy foreign key (reader_id) references reader [90045-210]
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:651)
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:496)
|
|
at org.h2.message.DbException.get(DbException.java:227)
|
|
at org.h2.message.DbException.get(DbException.java:203)
|
|
at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:109)
|
|
at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:72)
|
|
at org.h2.command.ddl.AlterTable.update(AlterTable.java:46)
|
|
at org.h2.command.CommandContainer.update(CommandContainer.java:174)
|
|
at org.h2.command.Command.executeUpdate(Command.java:252)
|
|
at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:252)
|
|
at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:223)
|
|
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
|
|
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
|
|
at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:54)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlString(AbstractSchemaMigrator.java:581)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlStrings(AbstractSchemaMigrator.java:526)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applyForeignKeys(AbstractSchemaMigrator.java:452)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.performMigration(AbstractSchemaMigrator.java:263)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.doMigration(AbstractSchemaMigrator.java:123)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:192)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:81)
|
|
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:335)
|
|
at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:471)
|
|
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1498)
|
|
at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:58)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1863)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
|
|
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1154)
|
|
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:908)
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732)
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:414)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:302)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292)
|
|
at com.LabWork.app.AppApplication.main(AppApplication.java:9)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
|
|
2023-05-01 12:05:51 jdbc[3]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Ограничение "FK9PLPVG6B0PWR4D02NWSEAYB0E" уже существует
|
|
Constraint "FK9PLPVG6B0PWR4D02NWSEAYB0E" already exists; SQL statement:
|
|
alter table manga add constraint FK9plpvg6b0pwr4d02nwseayb0e foreign key (creator_fk) references creator [90045-210]
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:651)
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:496)
|
|
at org.h2.message.DbException.get(DbException.java:227)
|
|
at org.h2.message.DbException.get(DbException.java:203)
|
|
at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:109)
|
|
at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:72)
|
|
at org.h2.command.ddl.AlterTable.update(AlterTable.java:46)
|
|
at org.h2.command.CommandContainer.update(CommandContainer.java:174)
|
|
at org.h2.command.Command.executeUpdate(Command.java:252)
|
|
at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:252)
|
|
at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:223)
|
|
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
|
|
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
|
|
at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:54)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlString(AbstractSchemaMigrator.java:581)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlStrings(AbstractSchemaMigrator.java:526)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applyForeignKeys(AbstractSchemaMigrator.java:452)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.performMigration(AbstractSchemaMigrator.java:263)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.doMigration(AbstractSchemaMigrator.java:123)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:192)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:81)
|
|
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:335)
|
|
at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:471)
|
|
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1498)
|
|
at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:58)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1863)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
|
|
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1154)
|
|
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:908)
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732)
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:414)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:302)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292)
|
|
at com.LabWork.app.AppApplication.main(AppApplication.java:9)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
|
|
2023-05-01 12:05:51 jdbc[3]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Ограничение "FKLWS2TIQ536CQ30TKVFSPQ29DD" уже существует
|
|
Constraint "FKLWS2TIQ536CQ30TKVFSPQ29DD" already exists; SQL statement:
|
|
alter table reader_mangas add constraint FKlws2tiq536cq30tkvfspq29dd foreign key (mangas_id) references manga [90045-210]
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:651)
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:496)
|
|
at org.h2.message.DbException.get(DbException.java:227)
|
|
at org.h2.message.DbException.get(DbException.java:203)
|
|
at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:109)
|
|
at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:72)
|
|
at org.h2.command.ddl.AlterTable.update(AlterTable.java:46)
|
|
at org.h2.command.CommandContainer.update(CommandContainer.java:174)
|
|
at org.h2.command.Command.executeUpdate(Command.java:252)
|
|
at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:252)
|
|
at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:223)
|
|
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
|
|
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
|
|
at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:54)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlString(AbstractSchemaMigrator.java:581)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlStrings(AbstractSchemaMigrator.java:526)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applyForeignKeys(AbstractSchemaMigrator.java:452)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.performMigration(AbstractSchemaMigrator.java:263)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.doMigration(AbstractSchemaMigrator.java:123)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:192)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:81)
|
|
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:335)
|
|
at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:471)
|
|
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1498)
|
|
at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:58)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1863)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
|
|
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1154)
|
|
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:908)
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732)
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:414)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:302)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292)
|
|
at com.LabWork.app.AppApplication.main(AppApplication.java:9)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
|
|
2023-05-01 12:05:51 jdbc[3]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Ограничение "FKEYLA07696YCEV3THCPXSERXQY" уже существует
|
|
Constraint "FKEYLA07696YCEV3THCPXSERXQY" already exists; SQL statement:
|
|
alter table reader_mangas add constraint FKeyla07696ycev3thcpxserxqy foreign key (reader_id) references reader [90045-210]
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:651)
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:496)
|
|
at org.h2.message.DbException.get(DbException.java:227)
|
|
at org.h2.message.DbException.get(DbException.java:203)
|
|
at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:109)
|
|
at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:72)
|
|
at org.h2.command.ddl.AlterTable.update(AlterTable.java:46)
|
|
at org.h2.command.CommandContainer.update(CommandContainer.java:174)
|
|
at org.h2.command.Command.executeUpdate(Command.java:252)
|
|
at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:252)
|
|
at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:223)
|
|
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
|
|
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
|
|
at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:54)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlString(AbstractSchemaMigrator.java:581)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlStrings(AbstractSchemaMigrator.java:526)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applyForeignKeys(AbstractSchemaMigrator.java:452)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.performMigration(AbstractSchemaMigrator.java:263)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.doMigration(AbstractSchemaMigrator.java:123)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:192)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:81)
|
|
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:335)
|
|
at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:471)
|
|
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1498)
|
|
at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:58)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1863)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
|
|
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1154)
|
|
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:908)
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732)
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:414)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:302)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292)
|
|
at com.LabWork.app.AppApplication.main(AppApplication.java:9)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
|
|
2023-05-01 12:13:03 jdbc[3]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Ограничение "FK9PLPVG6B0PWR4D02NWSEAYB0E" уже существует
|
|
Constraint "FK9PLPVG6B0PWR4D02NWSEAYB0E" already exists; SQL statement:
|
|
alter table manga add constraint FK9plpvg6b0pwr4d02nwseayb0e foreign key (creator_fk) references creator [90045-210]
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:651)
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:496)
|
|
at org.h2.message.DbException.get(DbException.java:227)
|
|
at org.h2.message.DbException.get(DbException.java:203)
|
|
at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:109)
|
|
at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:72)
|
|
at org.h2.command.ddl.AlterTable.update(AlterTable.java:46)
|
|
at org.h2.command.CommandContainer.update(CommandContainer.java:174)
|
|
at org.h2.command.Command.executeUpdate(Command.java:252)
|
|
at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:252)
|
|
at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:223)
|
|
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
|
|
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
|
|
at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:54)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlString(AbstractSchemaMigrator.java:581)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlStrings(AbstractSchemaMigrator.java:526)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applyForeignKeys(AbstractSchemaMigrator.java:452)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.performMigration(AbstractSchemaMigrator.java:263)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.doMigration(AbstractSchemaMigrator.java:123)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:192)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:81)
|
|
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:335)
|
|
at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:471)
|
|
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1498)
|
|
at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:58)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1863)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
|
|
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1154)
|
|
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:908)
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732)
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:414)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:302)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292)
|
|
at com.LabWork.app.AppApplication.main(AppApplication.java:9)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
|
|
2023-05-01 12:13:03 jdbc[3]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Ограничение "FKLWS2TIQ536CQ30TKVFSPQ29DD" уже существует
|
|
Constraint "FKLWS2TIQ536CQ30TKVFSPQ29DD" already exists; SQL statement:
|
|
alter table reader_mangas add constraint FKlws2tiq536cq30tkvfspq29dd foreign key (mangas_id) references manga [90045-210]
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:651)
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:496)
|
|
at org.h2.message.DbException.get(DbException.java:227)
|
|
at org.h2.message.DbException.get(DbException.java:203)
|
|
at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:109)
|
|
at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:72)
|
|
at org.h2.command.ddl.AlterTable.update(AlterTable.java:46)
|
|
at org.h2.command.CommandContainer.update(CommandContainer.java:174)
|
|
at org.h2.command.Command.executeUpdate(Command.java:252)
|
|
at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:252)
|
|
at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:223)
|
|
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
|
|
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
|
|
at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:54)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlString(AbstractSchemaMigrator.java:581)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlStrings(AbstractSchemaMigrator.java:526)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applyForeignKeys(AbstractSchemaMigrator.java:452)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.performMigration(AbstractSchemaMigrator.java:263)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.doMigration(AbstractSchemaMigrator.java:123)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:192)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:81)
|
|
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:335)
|
|
at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:471)
|
|
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1498)
|
|
at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:58)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1863)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
|
|
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1154)
|
|
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:908)
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732)
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:414)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:302)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292)
|
|
at com.LabWork.app.AppApplication.main(AppApplication.java:9)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
|
|
2023-05-01 12:13:03 jdbc[3]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Ограничение "FKEYLA07696YCEV3THCPXSERXQY" уже существует
|
|
Constraint "FKEYLA07696YCEV3THCPXSERXQY" already exists; SQL statement:
|
|
alter table reader_mangas add constraint FKeyla07696ycev3thcpxserxqy foreign key (reader_id) references reader [90045-210]
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:651)
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:496)
|
|
at org.h2.message.DbException.get(DbException.java:227)
|
|
at org.h2.message.DbException.get(DbException.java:203)
|
|
at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:109)
|
|
at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:72)
|
|
at org.h2.command.ddl.AlterTable.update(AlterTable.java:46)
|
|
at org.h2.command.CommandContainer.update(CommandContainer.java:174)
|
|
at org.h2.command.Command.executeUpdate(Command.java:252)
|
|
at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:252)
|
|
at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:223)
|
|
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
|
|
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
|
|
at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:54)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlString(AbstractSchemaMigrator.java:581)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlStrings(AbstractSchemaMigrator.java:526)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applyForeignKeys(AbstractSchemaMigrator.java:452)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.performMigration(AbstractSchemaMigrator.java:263)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.doMigration(AbstractSchemaMigrator.java:123)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:192)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:81)
|
|
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:335)
|
|
at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:471)
|
|
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1498)
|
|
at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:58)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1863)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
|
|
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1154)
|
|
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:908)
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732)
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:414)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:302)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292)
|
|
at com.LabWork.app.AppApplication.main(AppApplication.java:9)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
|
|
2023-05-01 12:13:37 jdbc[3]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Ограничение "FK9PLPVG6B0PWR4D02NWSEAYB0E" уже существует
|
|
Constraint "FK9PLPVG6B0PWR4D02NWSEAYB0E" already exists; SQL statement:
|
|
alter table manga add constraint FK9plpvg6b0pwr4d02nwseayb0e foreign key (creator_fk) references creator [90045-210]
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:651)
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:496)
|
|
at org.h2.message.DbException.get(DbException.java:227)
|
|
at org.h2.message.DbException.get(DbException.java:203)
|
|
at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:109)
|
|
at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:72)
|
|
at org.h2.command.ddl.AlterTable.update(AlterTable.java:46)
|
|
at org.h2.command.CommandContainer.update(CommandContainer.java:174)
|
|
at org.h2.command.Command.executeUpdate(Command.java:252)
|
|
at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:252)
|
|
at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:223)
|
|
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
|
|
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
|
|
at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:54)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlString(AbstractSchemaMigrator.java:581)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlStrings(AbstractSchemaMigrator.java:526)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applyForeignKeys(AbstractSchemaMigrator.java:452)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.performMigration(AbstractSchemaMigrator.java:263)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.doMigration(AbstractSchemaMigrator.java:123)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:192)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:81)
|
|
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:335)
|
|
at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:471)
|
|
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1498)
|
|
at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:58)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1863)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
|
|
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1154)
|
|
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:908)
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732)
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:414)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:302)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292)
|
|
at com.LabWork.app.AppApplication.main(AppApplication.java:9)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
|
|
2023-05-01 12:13:37 jdbc[3]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Ограничение "FKLWS2TIQ536CQ30TKVFSPQ29DD" уже существует
|
|
Constraint "FKLWS2TIQ536CQ30TKVFSPQ29DD" already exists; SQL statement:
|
|
alter table reader_mangas add constraint FKlws2tiq536cq30tkvfspq29dd foreign key (mangas_id) references manga [90045-210]
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:651)
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:496)
|
|
at org.h2.message.DbException.get(DbException.java:227)
|
|
at org.h2.message.DbException.get(DbException.java:203)
|
|
at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:109)
|
|
at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:72)
|
|
at org.h2.command.ddl.AlterTable.update(AlterTable.java:46)
|
|
at org.h2.command.CommandContainer.update(CommandContainer.java:174)
|
|
at org.h2.command.Command.executeUpdate(Command.java:252)
|
|
at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:252)
|
|
at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:223)
|
|
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
|
|
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
|
|
at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:54)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlString(AbstractSchemaMigrator.java:581)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlStrings(AbstractSchemaMigrator.java:526)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applyForeignKeys(AbstractSchemaMigrator.java:452)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.performMigration(AbstractSchemaMigrator.java:263)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.doMigration(AbstractSchemaMigrator.java:123)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:192)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:81)
|
|
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:335)
|
|
at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:471)
|
|
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1498)
|
|
at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:58)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1863)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
|
|
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1154)
|
|
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:908)
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732)
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:414)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:302)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292)
|
|
at com.LabWork.app.AppApplication.main(AppApplication.java:9)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
|
|
2023-05-01 12:13:37 jdbc[3]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Ограничение "FKEYLA07696YCEV3THCPXSERXQY" уже существует
|
|
Constraint "FKEYLA07696YCEV3THCPXSERXQY" already exists; SQL statement:
|
|
alter table reader_mangas add constraint FKeyla07696ycev3thcpxserxqy foreign key (reader_id) references reader [90045-210]
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:651)
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:496)
|
|
at org.h2.message.DbException.get(DbException.java:227)
|
|
at org.h2.message.DbException.get(DbException.java:203)
|
|
at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:109)
|
|
at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:72)
|
|
at org.h2.command.ddl.AlterTable.update(AlterTable.java:46)
|
|
at org.h2.command.CommandContainer.update(CommandContainer.java:174)
|
|
at org.h2.command.Command.executeUpdate(Command.java:252)
|
|
at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:252)
|
|
at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:223)
|
|
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94)
|
|
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
|
|
at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:54)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlString(AbstractSchemaMigrator.java:581)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlStrings(AbstractSchemaMigrator.java:526)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applyForeignKeys(AbstractSchemaMigrator.java:452)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.performMigration(AbstractSchemaMigrator.java:263)
|
|
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.doMigration(AbstractSchemaMigrator.java:123)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:192)
|
|
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:81)
|
|
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:335)
|
|
at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:471)
|
|
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1498)
|
|
at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:58)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409)
|
|
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396)
|
|
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1863)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620)
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
|
|
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1154)
|
|
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:908)
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732)
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:414)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:302)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303)
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292)
|
|
at com.LabWork.app.AppApplication.main(AppApplication.java:9)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
|
|
2023-05-01 12:14:25 database: wrong user or password; user: "SA"
|
|
org.h2.message.DbException: Неверное имя пользователя или пароль
|
|
Wrong user name or password [28000-210]
|
|
at org.h2.message.DbException.get(DbException.java:227)
|
|
at org.h2.message.DbException.get(DbException.java:203)
|
|
at org.h2.message.DbException.get(DbException.java:192)
|
|
at org.h2.engine.Engine.openSession(Engine.java:154)
|
|
at org.h2.engine.Engine.openSession(Engine.java:222)
|
|
at org.h2.engine.Engine.createSession(Engine.java:201)
|
|
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:338)
|
|
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:122)
|
|
at org.h2.util.JdbcUtils.getConnection(JdbcUtils.java:288)
|
|
at org.h2.server.web.WebServer.getConnection(WebServer.java:807)
|
|
at org.h2.server.web.WebApp.login(WebApp.java:1033)
|
|
at org.h2.server.web.WebApp.process(WebApp.java:226)
|
|
at org.h2.server.web.WebApp.processRequest(WebApp.java:176)
|
|
at org.h2.server.web.WebServlet.doGet(WebServlet.java:129)
|
|
at org.h2.server.web.WebServlet.doPost(WebServlet.java:166)
|
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:681)
|
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
|
|
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
|
|
at org.springframework.web.servlet.resource.ResourceUrlEncodingFilter.doFilter(ResourceUrlEncodingFilter.java:67)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
|
|
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:327)
|
|
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:115)
|
|
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:81)
|
|
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
|
|
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122)
|
|
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116)
|
|
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
|
|
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126)
|
|
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81)
|
|
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
|
|
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109)
|
|
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
|
|
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149)
|
|
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
|
|
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
|
|
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
|
|
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:219)
|
|
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:213)
|
|
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
|
|
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103)
|
|
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89)
|
|
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
|
|
at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91)
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
|
|
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
|
|
at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90)
|
|
at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75)
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
|
|
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
|
|
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:110)
|
|
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80)
|
|
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
|
|
at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55)
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
|
|
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
|
|
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:211)
|
|
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:183)
|
|
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354)
|
|
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
|
|
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
|
|
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
|
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
|
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
|
|
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
|
|
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
|
|
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
|
|
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
|
|
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
|
|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
|
|
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
|
|
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
|
|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:357)
|
|
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:382)
|
|
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
|
|
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:895)
|
|
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1732)
|
|
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
|
|
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
|
|
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
|
|
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
|
|
at java.base/java.lang.Thread.run(Thread.java:833)
|
|
Caused by: org.h2.jdbc.JdbcSQLInvalidAuthorizationSpecException: Неверное имя пользователя или пароль
|
|
Wrong user name or password [28000-210]
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:529)
|
|
at org.h2.message.DbException.getJdbcSQLException(DbException.java:496)
|
|
... 94 more
|
|
2023-05-01 12:14:53 jdbc[13]: exception
|
|
org.h2.jdbc.JdbcSQLSyntaxErrorException: Синтаксическая ошибка в выражении SQL "DELETE [*]* FROM USERS"; ожидалось "identifier"
|
|
Syntax error in SQL statement "DELETE [*]* FROM USERS"; expected "identifier"; SQL statement:
|
|
DELETE * FROM USERS [42001-210]
|