1.pom.xml加入依赖: <!-- https://mvnrepository.com/artifact/org.kitesdk/kite-morphlines-jso
1.由于在morphlines提供的方法中无法使用spring的autowird注入我们需要的bean2.morplines解析
1.pom.xml加入依赖: <!-- https://mvnrepository.com/artifact/org.kitesdk/kite-morphlines-json --> <dependency> <groupId>org.kitesdk</groupId> <artifactId>kite-morphlines-json</artifactId>
1.由于在morphlines提供的方法中无法使用spring的autowird注入我们需要的bean2.morplines解析代码如下我们可以在上下中把bean的实例放入MorphlineContext morphlineContext = new MorphlineContext.Builder().build(); morphlineContext.getSetting
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号