有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

Maven exec:javaxverify=none,探查器

我似乎无法使-Xverify:nonemvn exec:java中有效

这是我在pom.xml中尝试的:

<build>
            <plugins>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>exec-maven-plugin</artifactId>
                    <version>1.2.1</version>
                    <executions>
                        <execution>
                            <goals>
                                <goal>java</goal>
                            </goals>
                        </execution>
                    </executions>
                    <configuration>
                        <mainClass>my.cool.Main</mainClass>
                        <commandlineArgs>-keep-running</commandlineArgs>
                        <arguments>
                            <argument>-Xverify:none</argument>
                        </arguments>                        
                    </configuration>
                </plugin>
            </plugins>
        </build>

但是它没有效果(我不能正确地附加分析器,它一直给我Profiler Agent Warning: Retransform failed with status 62

我如何传递-X以便它工作


共 (0) 个答案