如何解决重复执行的问题.
"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) 我有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' …