Getting Oracle 11.2 Unsupported Error when using Spring Cloud Data Flow 2.0.1

前端 未结 1 1434
遥遥无期
遥遥无期 2021-01-03 05:46

I am trying to set up SCDF 2.x (Spring Cloud Data Flow) server, to register Spring Boot applications (e.g. Tasks type) , to leverage out of box administration and other capa

相关标签:
1条回答
  • 2021-01-03 06:36

    finally I've made an advance with this problem, in my case was enough with removing the flyway autoconfiguration and loading a bean called FluentConfiguration. I've made a project with the dependencies of spring cloud dataflow and then an SpringBootApplication class with this configuration:

    import org.flywaydb.core.api.configuration.FluentConfiguration;
    import org.springframework.boot.SpringApplication;
    import org.springframework.boot.autoconfigure.SpringBootApplication;
    import org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration;
    import org.springframework.cloud.dataflow.server.EnableDataFlowServer;
    import org.springframework.context.annotation.Import;
    
    @SpringBootApplication(exclude = FlywayAutoConfiguration.class)
    @EnableDataFlowServer
    @Import(FluentConfiguration.class)
    public class MyCompanySpringCloudDataflowApplication {
    
        public static void main(String[] args) {
            SpringApplication.run(MyCompanySpringCloudDataflowApplication .class, args);
        }
    
    }
    

    I know is not a neat solution, but is what I need to advance.

    Of course, the database schema isn't automatically created, you must create it before running the application.

    Hope this helps you.

    0 讨论(0)
提交回复
热议问题