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:
- After eclipse eclipse eclipse imports the correct project, an error is reported in XML and other files
- 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
- Eclipse: unable to open editor: no ID org.eclipse.jdt . ui.CompilationUnitEditor Editor descriptor for
- Jdk11, using JavaFX in eclipse
- The solution to “polling news feeds” appeared in Eclipse in Java
- eclipse cdt Program “make” not found in PATH
- Modifying SVN user name and password in eclipse
- The solution of red X in eclipse error pages
- Error when opening jeesite project in eclipse
- Hot code replace failed in eclipse compilation
- Solution to garbled code problem after importing project in eclipse
- Eclipse PyDev “interpreter does not exist in filesystem”
- @Solution to get / set error in eclipse after using data annotation
- About the error of base64decoder reference in eclipse
- Hot code replace failed error in eclipse
- Access restriction in Eclipse: the type ‘xxx’ is not API solution
- Solution to the error of @ resource annotation in eclipse spring
- How to generate UML Diagrams from Java code in Eclipse