小编max*_*ych的帖子

在pom.xml中找到了id default的重复执行

如何解决重复执行的问题.

"build.pluginManagement.plugins.plugin [org.flywaydb:迁徙路线,Maven的插件] .executions.execution.id"必须是唯一的,但发现与ID默认重复执行

这是源代码:

             <plugin>
                <groupId>org.flywaydb</groupId>
                <artifactId>flyway-maven-plugin</artifactId>
                <version>4.0.1</version>
                <configuration>
                    <user>tkmadmin</user>
                    <password>ticketmaster</password>
                </configuration>
                <executions>
                    <execution>
                        <phase>initialize</phase>
                        <goals>
                            <goal>clean</goal>
                        </goals>
                    </execution>
                    <execution>
                        <phase>generate-resources</phase>
                        <goals>
                            <goal>migrate</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
Run Code Online (Sandbox Code Playgroud)

execution pom.xml maven

6
推荐指数
1
解决办法
6284
查看次数

NonGUIDriver java.lang.IllegalArgumentException中的性能错误

我有maven项目,在我的帮助下我试图执行一个jmx文件,运行JMeter(jmeter-maven-plugin).我有以下控制台输出

  P E R F O R M A N C E    T E S T S
[INFO] -------------------------------------------------------
[INFO] Invalid value detected for <postTestPauseInSeconds>.  Setting pause to 0...
[INFO]
[INFO]
[INFO] Executing test: ZawyaJmeterTest.jmx
[INFO] Writing log file to: D:\tools\jmeter_examples\Example\jmeter-maven-example\target\jmeter\logs\ZawyaJmeterTest.jmx.log
[INFO] Error in NonGUIDriver java.lang.IllegalArgumentException: Problem loading XML from:'D:\tools\jmeter_examples\Example\jmeter-maven-example\target\jmeter\testFiles\ZawyaJmeterTest.jmx', missing class com.thoughtworks.xstream.converters.ConversionException: No field 'sentBytes' found in class 'org.apache.jmeter.samplers.SampleSaveConfiguration' : No field 'sentBytes' found in class 'org.apache.jmeter.samplers.SampleSaveConfiguration'
Run Code Online (Sandbox Code Playgroud)

我想为了解决这个问题, org.apache.jmeter.samplers.SampleSaveConfiguration我尝试在依赖项中添加SampleSaveConfiguration类

 <dependency>
    <groupId>org.apache.jmeter</groupId>
    <artifactId>ApacheJMeter_core</artifactId>
    <version>3.1</version>
</dependency>
Run Code Online (Sandbox Code Playgroud)

但实际上并没有帮助.比我寻找问题No field 'sentBytes' …

jmeter maven jmeter-maven-plugin

6
推荐指数
1
解决办法
2201
查看次数

标签 统计

maven ×2

execution ×1

jmeter ×1

jmeter-maven-plugin ×1

pom.xml ×1