使用idea osgi编译时报如下错误
Error:osgi: [osgi-spring-boot-demo] Classes found in the wrong directory: {META-INF/versions/9/org/apache/logging/log4j/util/StackLocator.class=org.apache.logging.log4j.util.StackLocator, META-INF/versions/9/module-info.class=module-info, META-INF/versions/9/org/apache/logging/log4j/util/internal/DefaultObjectInputFilter.class=org.apache.logging.log4j.util.internal.DefaultObjectInputFilter, META-INF/versions/9/org/apache/logging/log4j/util/Base64Util.class=org.apache.logging.log4j.util.Base64Util, META-INF/versions/9/org/apache/logging/log4j/util/ProcessIdUtil.class=org.apache.logging.log4j.util.ProcessIdUtil, META-INF/versions/9/org/apache/logging/log4j/util/StackLocator$FqcnCallerLocator.class=org.apache.logging.log4j.util.StackLocator$FqcnCallerLocator}
排查下是不是jar包冲突,打包的时候指定下maven的版本,试下看看
<maven-bundle-plugin.version>3.5.0</maven-bundle-plugin.version>