IgniteException:Spring XML配置路径无效

时间:2019-01-21 14:20:25

标签: java intellij-idea ignite

在intelliJ中获得以下异常。

Caused by: class org.apache.ignite.IgniteException: 
Spring XML configuration path is invalid: example-ignite.xml. 
Note that this path should be either absolute or a relative local file system path, relative to META-INF in classpath or valid URL to IGNITE_HOME.

我该如何解决?

谢谢

1 个答案:

答案 0 :(得分:1)

如果您的配置bean的定义具有abstract=true参数,请尝试删除它。

我认为,问题在于example-ignite.xml文件只有抽象IgniteConfiguration。示例中的默认配置文件就是这种情况。