Reputation: 280
I am trying to run spring-xd in distributed mode and have to use Oracle DB. When I started xd-admin, it failed with the following error:
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 guide says
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.
I created "registry-schema-oracle.sql" and "registry-schema-drop-oracle.sql", packed them in a jar file called "oracle_ddl.jar", and put the jar file under $XD_HOME/xd/lib/, but the problem is still the same.
What am I doing wrong?
Upvotes: 0
Views: 162
Reputation: 4179
Are you sure you have both the sql files under this package:
org/springframework/xd/batch/schema
Upvotes: 0