I. Error reporting Experience:
Today, while using Eclipse to launch through Maven Build, an error occurred as shown below
II. Analysis of problems:
This is due to the fact that eclipse’s JRE is not configured
Iii. Problem Solving:
Step1 reconfigure the jre for eclipse
Open Window- Preferences- Java- Installed JREs, as shown in the figure below:
Step2 configure the JRE for maven build
Right-click on the project, and select Run As–Run Configurations:
Add the following code to the JRE TAB (modify the values based on your computer) :
-DMAVEN_OPTS=-Xms1024M -Xmx1024M -XX:PermSize=256M -XX:MaxPermSize=256M
As shown in the figure:
Iv. Startup:
Finally, you’re ready to start:
OK, GAME OVER !
Today, while using Eclipse to launch through Maven Build, an error occurred as shown below
II. Analysis of problems:
This is due to the fact that eclipse’s JRE is not configured
Iii. Problem Solving:
Step1 reconfigure the jre for eclipse
Open Window- Preferences- Java- Installed JREs, as shown in the figure below:
Step2 configure the JRE for maven build
Right-click on the project, and select Run As–Run Configurations:
Add the following code to the JRE TAB (modify the values based on your computer) :
-DMAVEN_OPTS=-Xms1024M -Xmx1024M -XX:PermSize=256M -XX:MaxPermSize=256M
As shown in the figure:
Iv. Startup:
Finally, you’re ready to start:
OK, GAME OVER !
Read More:
- [Solved] IDEA Debug Error: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_LOAD(196)
- How to Solve Java Runtime (class file version 53.0)ERROR
- Mybatis-plus: How to Execute Native SQL
- JDK installation exception link it with ‘- Z noexecstack’ and inux 64 bit zendguardloader.so: wrong elf class: elfclass32 error handling
- Maven project running servlet jump JSP error: HTTP status 500 – unable to compile class for JSP
- How to Solve Hbase JAVA import Package Error
- How to Solve idea com.baomidou Error
- [Solved] “status“:405,“error“ Request method ‘POST‘ not supported“
- JAVA: How to use the third-party font library method (using the third-party TTF / TTC font library method)
- How to Solve zipkin Install Error in Windows
- How to Solve Tomcat Error: Could not resolve view with name ‘xxx/xxxxxxx‘ in servlet with
- How to Solve Image Upload Error: Uncaught (in promise) DOMException: Failed to execute ‘put‘ on ‘IDBObjectStore‘
- How to Solve JDBC connection error in spring MVC integration
- How to Solve IDEA @Autowired Error
- How to Solve Nosuchmethoderror Error
- How to Solve Error executing DDL in JPA
- How to Solve SQL comments error in the mybatis query
- How to Solve classnotfoundexception error in spark without Hadoop runtime
- How to Solve Spring Boot Maven Build Error