Flowable-Design Oracle情况下无法启动

Java 未结 0 1655
yzw31
yzw31 剑者 2019-05-28 19:02

:: BladeX :: blade-flowdesign:dev :: Running SpringBoot 2.1.5.RELEASE :: 


2019-05-28 19:01:57.820  INFO 9020 --- [  restartedMain] o.s.flow.FlowDesignApplication           : Starting FlowDesignApplication on USER20150331PC with PID 9020 (D:\DEV\HIS\HEHUI\boot\Flowable-Design\target\classes started by Jerry in D:\DEV\HIS\HEHUI\boot)

2019-05-28 19:01:57.822  INFO 9020 --- [  restartedMain] o.s.flow.FlowDesignApplication           : The following profiles are active: dev

2019-05-28 19:01:57.958  INFO 9020 --- [  restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'

2019-05-28 19:02:00.733  WARN 9020 --- [  restartedMain] io.undertow.websockets.jsr               : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used

2019-05-28 19:02:00.785  INFO 9020 --- [  restartedMain] io.undertow.servlet                      : Initializing Spring embedded WebApplicationContext

2019-05-28 19:02:00.785  INFO 9020 --- [  restartedMain] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 2827 ms

2019-05-28 19:02:00.987  INFO 9020 --- [  restartedMain] f.a.AutowiredAnnotationBeanPostProcessor : Inconsistent constructor declaration on bean with name 'serverInfo': single autowire-marked constructor flagged as optional - this constructor is effectively required since there is no default constructor to fall back to: public org.springblade.core.launch.server.ServerInfo$$EnhancerBySpringCGLIB$$268e8aee(org.springframework.boot.autoconfigure.web.ServerProperties)

2019-05-28 19:02:01.218  INFO 9020 --- [  restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource

2019-05-28 19:02:02.738  INFO 9020 --- [  restartedMain] com.alibaba.druid.pool.DruidDataSource   : {dataSource-1} inited

2019-05-28 19:02:05.297  INFO 9020 --- [  restartedMain] liquibase.database.core.OracleDatabase   : Could not set remarks reporting on OracleDatabase: com.alibaba.druid.pool.DruidPooledConnection.setRemarksReporting(boolean)

2019-05-28 19:02:05.749  INFO 9020 --- [  restartedMain] liquibase.executor.jvm.JdbcExecutor      : SELECT COUNT(*) FROM SYSTEM.ACT_DE_DATABASECHANGELOGLOCK

2019-05-28 19:02:05.752  INFO 9020 --- [  restartedMain] liquibase.executor.jvm.JdbcExecutor      : SELECT COUNT(*) FROM SYSTEM.ACT_DE_DATABASECHANGELOGLOCK

2019-05-28 19:02:05.753  INFO 9020 --- [  restartedMain] liquibase.executor.jvm.JdbcExecutor      : SELECT LOCKED FROM SYSTEM.ACT_DE_DATABASECHANGELOGLOCK WHERE ID=1 FOR UPDATE

2019-05-28 19:02:05.777  INFO 9020 --- [  restartedMain] l.lockservice.StandardLockService        : Successfully acquired change log lock

2019-05-28 19:02:07.379  INFO 9020 --- [  restartedMain] liquibase.executor.jvm.JdbcExecutor      : SELECT MD5SUM FROM SYSTEM.ACT_DE_DATABASECHANGELOG WHERE MD5SUM IS NOT NULL AND ROWNUM=1

2019-05-28 19:02:07.381  INFO 9020 --- [  restartedMain] liquibase.executor.jvm.JdbcExecutor      : SELECT COUNT(*) FROM SYSTEM.ACT_DE_DATABASECHANGELOG

2019-05-28 19:02:07.382  INFO 9020 --- [  restartedMain] l.c.StandardChangeLogHistoryService      : Reading from SYSTEM.ACT_DE_DATABASECHANGELOG

2019-05-28 19:02:07.382  INFO 9020 --- [  restartedMain] liquibase.executor.jvm.JdbcExecutor      : SELECT * FROM SYSTEM.ACT_DE_DATABASECHANGELOG ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC

2019-05-28 19:02:07.425  INFO 9020 --- [  restartedMain] liquibase.executor.jvm.JdbcExecutor      : CREATE TABLE SYSTEM.ACT_DE_MODEL (id VARCHAR2(255) NOT NULL, name VARCHAR2(400) NOT NULL, model_key VARCHAR2(400) NOT NULL, description VARCHAR2(4000), model_comment VARCHAR2(4000), created TIMESTAMP(6), created_by VARCHAR2(255), last_updated TIMESTAMP(6), last_updated_by VARCHAR2(255), version INTEGER, model_editor_json CLOB, thumbnail BLOB, model_type INTEGER, CONSTRAINT PK_ACT_DE_MODEL PRIMARY KEY (id))

2019-05-28 19:02:07.461 ERROR 9020 --- [  restartedMain] liquibase.changelog.ChangeSet            : Change Set META-INF/liquibase/flowable-modeler-app-db-changelog.xml::1::flowable failed.  Error: ORA-00955: 名称已由现有对象使用

 [Failed SQL: CREATE TABLE SYSTEM.ACT_DE_MODEL (id VARCHAR2(255) NOT NULL, name VARCHAR2(400) NOT NULL, model_key VARCHAR2(400) NOT NULL, description VARCHAR2(4000), model_comment VARCHAR2(4000), created TIMESTAMP(6), created_by VARCHAR2(255), last_updated TIMESTAMP(6), last_updated_by VARCHAR2(255), version INTEGER, model_editor_json CLOB, thumbnail BLOB, model_type INTEGER, CONSTRAINT PK_ACT_DE_MODEL PRIMARY KEY (id))]

2019-05-28 19:02:07.466  INFO 9020 --- [  restartedMain] l.lockservice.StandardLockService        : Successfully released change log lock

2019-05-28 19:02:07.468  WARN 9020 --- [  restartedMain] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' defined in class path resource [org/springblade/flow/config/FlowableBeanConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [liquibase.Liquibase]: Factory method 'liquibase' threw exception; nested exception is java.lang.RuntimeException: Error creating liquibase database

2019-05-28 19:02:07.470  INFO 9020 --- [  restartedMain] com.alibaba.druid.pool.DruidDataSource   : {dataSource-1} closing ...

2019-05-28 19:02:07.490  INFO 9020 --- [  restartedMain] com.alibaba.druid.pool.DruidDataSource   : {dataSource-1} closed

2019-05-28 19:02:07.509  INFO 9020 --- [  restartedMain] ConditionEvaluationReportLoggingListener : 


Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.

2019-05-28 19:02:07.543 ERROR 9020 --- [  restartedMain] o.s.boot.SpringApplication               : Application run failed


org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' defined in class path resource [org/springblade/flow/config/FlowableBeanConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [liquibase.Liquibase]: Factory method 'liquibase' threw exception; nested exception is java.lang.RuntimeException: Error creating liquibase database

at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:627) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]

at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:607) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1321) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1160) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]

at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:843) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]

at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877) ~[spring-context-5.1.7.RELEASE.jar:5.1.7.RELEASE]

at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549) ~[spring-context-5.1.7.RELEASE.jar:5.1.7.RELEASE]

at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142) ~[spring-boot-2.1.5.RELEASE.jar:2.1.5.RELEASE]

at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775) ~[spring-boot-2.1.5.RELEASE.jar:2.1.5.RELEASE]

at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) ~[spring-boot-2.1.5.RELEASE.jar:2.1.5.RELEASE]

at org.springframework.boot.SpringApplication.run(SpringApplication.java:316) ~[spring-boot-2.1.5.RELEASE.jar:2.1.5.RELEASE]

at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:139) [spring-boot-2.1.5.RELEASE.jar:2.1.5.RELEASE]

at org.springblade.core.launch.BladeApplication.run(BladeApplication.java:49) [blade-core-launch-2.0.2.RELEASE.jar:na]

at org.springblade.flow.FlowDesignApplication.main(FlowDesignApplication.java:50) [classes/:na]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_77]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_77]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_77]

at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_77]

at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) [spring-boot-devtools-2.1.5.RELEASE.jar:2.1.5.RELEASE]

Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [liquibase.Liquibase]: Factory method 'liquibase' threw exception; nested exception is java.lang.RuntimeException: Error creating liquibase database

at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]

at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:622) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]

... 24 common frames omitted

Caused by: java.lang.RuntimeException: Error creating liquibase database

at org.springblade.flow.config.FlowableBeanConfiguration.liquibase(FlowableBeanConfiguration.java:57) ~[classes/:na]

at org.springblade.flow.config.FlowableBeanConfiguration$$EnhancerBySpringCGLIB$$3ca0d770.CGLIB$liquibase$1() ~[classes/:na]

at org.springblade.flow.config.FlowableBeanConfiguration$$EnhancerBySpringCGLIB$$3ca0d770$$FastClassBySpringCGLIB$$a5dde6df.invoke() ~[classes/:na]

at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244) ~[spring-core-5.1.7.RELEASE.jar:5.1.7.RELEASE]

at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:363) ~[spring-context-5.1.7.RELEASE.jar:5.1.7.RELEASE]

at org.springblade.flow.config.FlowableBeanConfiguration$$EnhancerBySpringCGLIB$$3ca0d770.liquibase() ~[classes/:na]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_77]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_77]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_77]

at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_77]

at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) ~[spring-beans-5.1.7.RELEASE.jar:5.1.7.RELEASE]

... 25 common frames omitted

Caused by: liquibase.exception.MigrationFailedException: Migration failed for change set META-INF/liquibase/flowable-modeler-app-db-changelog.xml::1::flowable:

     Reason: liquibase.exception.DatabaseException: ORA-00955: 名称已由现有对象使用

 [Failed SQL: CREATE TABLE SYSTEM.ACT_DE_MODEL (id VARCHAR2(255) NOT NULL, name VARCHAR2(400) NOT NULL, model_key VARCHAR2(400) NOT NULL, description VARCHAR2(4000), model_comment VARCHAR2(4000), created TIMESTAMP(6), created_by VARCHAR2(255), last_updated TIMESTAMP(6), last_updated_by VARCHAR2(255), version INTEGER, model_editor_json CLOB, thumbnail BLOB, model_type INTEGER, CONSTRAINT PK_ACT_DE_MODEL PRIMARY KEY (id))]

at liquibase.changelog.ChangeSet.execute(ChangeSet.java:637) ~[liquibase-core-3.6.3.jar:na]

at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:53) ~[liquibase-core-3.6.3.jar:na]

at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:83) ~[liquibase-core-3.6.3.jar:na]

at liquibase.Liquibase.update(Liquibase.java:202) ~[liquibase-core-3.6.3.jar:na]

at liquibase.Liquibase.update(Liquibase.java:179) ~[liquibase-core-3.6.3.jar:na]

at liquibase.Liquibase.update(Liquibase.java:175) ~[liquibase-core-3.6.3.jar:na]

at liquibase.Liquibase.update(Liquibase.java:168) ~[liquibase-core-3.6.3.jar:na]

at org.springblade.flow.config.FlowableBeanConfiguration.liquibase(FlowableBeanConfiguration.java:54) ~[classes/:na]

... 35 common frames omitted

Caused by: liquibase.exception.DatabaseException: ORA-00955: 名称已由现有对象使用

 [Failed SQL: CREATE TABLE SYSTEM.ACT_DE_MODEL (id VARCHAR2(255) NOT NULL, name VARCHAR2(400) NOT NULL, model_key VARCHAR2(400) NOT NULL, description VARCHAR2(4000), model_comment VARCHAR2(4000), created TIMESTAMP(6), created_by VARCHAR2(255), last_updated TIMESTAMP(6), last_updated_by VARCHAR2(255), version INTEGER, model_editor_json CLOB, thumbnail BLOB, model_type INTEGER, CONSTRAINT PK_ACT_DE_MODEL PRIMARY KEY (id))]

at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:356) ~[liquibase-core-3.6.3.jar:na]

at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:57) ~[liquibase-core-3.6.3.jar:na]

at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:125) ~[liquibase-core-3.6.3.jar:na]

at liquibase.database.AbstractJdbcDatabase.execute(AbstractJdbcDatabase.java:1229) ~[liquibase-core-3.6.3.jar:na]

at liquibase.database.AbstractJdbcDatabase.executeStatements(AbstractJdbcDatabase.java:1211) ~[liquibase-core-3.6.3.jar:na]

at liquibase.changelog.ChangeSet.execute(ChangeSet.java:600) ~[liquibase-core-3.6.3.jar:na]

... 42 common frames omitted

Caused by: java.sql.SQLSyntaxErrorException: ORA-00955: 名称已由现有对象使用


at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:450) ~[ojdbc7-12.1.0.2.jar:12.1.0.2.0]

at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399) ~[ojdbc7-12.1.0.2.jar:12.1.0.2.0]

at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1059) ~[ojdbc7-12.1.0.2.jar:12.1.0.2.0]

at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:522) ~[ojdbc7-12.1.0.2.jar:12.1.0.2.0]

at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:257) ~[ojdbc7-12.1.0.2.jar:12.1.0.2.0]

at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:587) ~[ojdbc7-12.1.0.2.jar:12.1.0.2.0]

at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:210) ~[ojdbc7-12.1.0.2.jar:12.1.0.2.0]

at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:30) ~[ojdbc7-12.1.0.2.jar:12.1.0.2.0]

at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:931) ~[ojdbc7-12.1.0.2.jar:12.1.0.2.0]

at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1150) ~[ojdbc7-12.1.0.2.jar:12.1.0.2.0]

at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1792) ~[ojdbc7-12.1.0.2.jar:12.1.0.2.0]

at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1745) ~[ojdbc7-12.1.0.2.jar:12.1.0.2.0]

at oracle.jdbc.driver.OracleStatementWrapper.execute(OracleStatementWrapper.java:334) ~[ojdbc7-12.1.0.2.jar:12.1.0.2.0]

at com.alibaba.druid.filter.FilterChainImpl.statement_execute(FilterChainImpl.java:2958) ~[druid-1.1.16.jar:1.1.16]

at com.alibaba.druid.wall.WallFilter.statement_execute(WallFilter.java:422) ~[druid-1.1.16.jar:1.1.16]

at com.alibaba.druid.filter.FilterChainImpl.statement_execute(FilterChainImpl.java:2956) ~[druid-1.1.16.jar:1.1.16]

at com.alibaba.druid.filter.FilterAdapter.statement_execute(FilterAdapter.java:2474) ~[druid-1.1.16.jar:1.1.16]

at com.alibaba.druid.filter.FilterEventAdapter.statement_execute(FilterEventAdapter.java:188) ~[druid-1.1.16.jar:1.1.16]

at com.alibaba.druid.filter.FilterChainImpl.statement_execute(FilterChainImpl.java:2956) ~[druid-1.1.16.jar:1.1.16]

at com.alibaba.druid.proxy.jdbc.StatementProxyImpl.execute(StatementProxyImpl.java:147) ~[druid-1.1.16.jar:1.1.16]

at com.alibaba.druid.pool.DruidPooledStatement.execute(DruidPooledStatement.java:632) ~[druid-1.1.16.jar:1.1.16]

at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:352) ~[liquibase-core-3.6.3.jar:na]

... 47 common frames omitted


回答
  • 消灭零回复
提交回复