Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/powerbi/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
找不到';资源';在类org.apache.maven.plugins.shade.resource.ManifestResourceTransformer中_Maven_Maven Shade Plugin - Fatal编程技术网

找不到';资源';在类org.apache.maven.plugins.shade.resource.ManifestResourceTransformer中

找不到';资源';在类org.apache.maven.plugins.shade.resource.ManifestResourceTransformer中,maven,maven-shade-plugin,Maven,Maven Shade Plugin,使用maven shade插件包执行jar时失败,并打印错误消息:在org.apache.maven.plugins.shade.resource.ManifestResourceTransformer类中找不到“resource” 以下是我的配置: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade

使用maven shade插件包执行jar时失败,并打印错误消息:在org.apache.maven.plugins.shade.resource.ManifestResourceTransformer类中找不到“resource”

以下是我的配置:

<plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-shade-plugin</artifactId>
            <version>3.0.0</version>
            <executions>
                <execution>
                    <phase>package</phase>
                    <goals>
                        <goal>shade</goal>
                    </goals>
                    <configuration>
                        <transformers>
                            <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
                                <manifestEntries>
                                    <Main-Class>cn.rongcapital.pa.ingester.IngestJobBootstrap</Main-Class>
                                    <!--<X-Compile-Source-JDK>1.8</X-Compile-Source-JDK>-->
                                    <!--<X-Compile-Target-JDK>1.8</X-Compile-Target-JDK>-->
                                    <!--<Class-Path>target</Class-Path>-->
                                </manifestEntries>
                            </transformer>
                        </transformers>
                        <relocations>
                            <relocation>
                                <pattern>io.netty</pattern>
                                <shadedPattern>rongcapital.io.netty</shadedPattern>
                            </relocation>
                        </relocations>

                    </configuration>
                </execution>
            </executions>
        </plugin>

org.apache.maven.plugins
maven阴影插件
3.0.0
包裹
阴凉处
cn.rongcapital.pa.ingester.IngestJobBootstrap
伊奥·内蒂
荣格资本
谁能告诉我为什么,以及如何解决它。谢谢