1.Eclipse installs the M2E-APT tool

2. Import projects and add dependencies to POM files

2. Import projects and add dependencies to POM files
<!-- https://mvnrepository.com/artifact/org.openjdk.jmh/jmh-core -->
<dependency>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-core</artifactId>
<version>1.23</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.openjdk.jmh/jmh-generator-annprocess -->
<dependency>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-generator-annprocess</artifactId>
<version>1.23</version>
<!-- <scope>test</scope> -->
<scope>provided</scope>
</dependency>
3. Before execution, the project needs to run MVn-clean-install before running the benchmark test
Read More:
- About the steps to create Maven’s (WEB) dependency using in idea
- SLF4J:Failed to load class “org.slf4j.impl.StaticLoggerBinder”
- Dependency frame package of Maven Alibaba JSON
- Springboot integrated with mybatis
- Idea Maven project uses package to package and report error (package does not exist)
- Spring MVC 406 status code / could not find acceptable representation
- Error parsing lifecycle processing instructions
- Adding fastjson dependency to Maven project
- Solution of redisconnection factory in springboot2 not Autowired
- Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run (default-cli) on project
- The import Maven project appears http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException Solutions
- Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test)
- Failed to execute goal com.spotify:docker-maven-plugin:1.0.0:build Exception caught: basedir src/mai
- Related configuration of mybatis project
- Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0
- Java and Android commons codec usage and nosuch method error
- Failed to execute goal
- About jmh running error: transport error 202: Connect failed: connection reused error solution
- About JMH running ERROR: transport error 202: connect failed: Connection refused ERROR
- Kafka connection abnormal org.apache.kafka . common.errors.TimeoutException : Failed to update metadata after 60000 ms.