为 Spring-xd 配置 Oracle

Configure Oracle for Spring-xd

我正尝试在分布式模式下 运行 spring-xd 并且必须使用 Oracle DB。当我启动 xd-admin 时,它失败并出现以下错误:

Caused by: java.io.FileNotFoundException: class path resource [org/springframework/xd/batch/schema/registry-schema-oracle.sql] cannot be opened because it does not exist

Spring XD指南说

Until full schema support is added for Oracle, Sybase and other database, you will need to put a .jar file in the xd/lib directory that contains the equivalent functionality as these DDL scripts.

我创建了"registry-schema-oracle.sql"和"registry-schema-drop-oracle.sql",将它们打包到一个名为"oracle_ddl.jar"的jar文件中,并将jar文件放在$XD_HOME/xd/lib/下,但问题是还是一样

我做错了什么?

你确定你有这个包下的两个 sql 文件:

org/springframework/xd/batch/schema