HiveMQ プラグインに Spring Application Context (xml) をロードしようとしています。xml 構成が見つからないため、コンテキストを読み込めないようです。これspring-context.xml
は「src\main\resources」にあり、次を使用してコンテキストをロードしようとしています:
ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext("spring-context.xml")
私が得るエラーは次のとおりです。
java.io.FileNotFoundException: class path resource [spring-context.xml] cannot be opened because it does not exist