Tag Archives: eclipse

Eclipse start project error: Errors occurred during the build. Errors running builder ‘Integrated External Tool Builder’ on…

When eclipse starts the project, it suddenly reports: Errors occurred during the build. Errors running builder ‘Integrated External Tool Builder’ on project ‘acc-bid’. The builder launch configuration could not be found. The builder launch configuration could not be found.

The project kept building when it started, so I unchecked the validation box, which resulted in the above error

And when you look at buliders again, you bring a red cross

If you remove the fork, you won’t report an error

[Solved] Eclipse Error: A JNI error has occurred, please check your installation and try again

Solution:

① Check whether the package name contains “Java” and modify it. Java should be avoided when creating the package.

② Run the Java version and javac version commands in CMD to check their own JDK and JRE versions. If they are different, reconfigure the environment variables to make them consistent

The above two steps can solve most of the problems. If they are still not solved, it is recommended to reinstall the JDK and reconfigure the environment variables.

[Solved] Eclipse Update Error: An error occurred while uninstalling session context was…

When updating Eclipse, the following error was reported:

An error occurred while uninstalling session context was:
(profile=D__…_…_eclipse_jee-2021-09_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall, operand=[R]org.eclipse.platform.ide.executable.win32.win32.x86_64 4.21.0.I20210906-0500 --> null, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CleanupzipAction).
Backup of file D:…eclipse.exe failed.
Can not remove : D:…eclipse.exe

 

Solution:

    1.Run eclipse and Rename eclipse.exe to eclipse.exe.back
    2.Run updates
    3.Updates executed successfully

简而言之就是在启动eclipse后,再把eclipse exe重命名为eclipse.exe.back然后更新。
希望能帮到更新时也有报此错误的童鞋!

Eclipse: How to Close XML validation (xml file Error)

Eclipse turns off English spell checking and XML validation

To solve the problem, the servlet can run, but the XML file is red

Mode 1:

Windows–> Preferences–> XML –> XML Files –> Validate

Find validate and uncheck build

Mode 2:

Windows–> Preferences–> XML(Wild Web Developer)-> Validate& Resolution

Cancel enable validate

Or change both enable namespaces validate and enable schema based} validate to never

Then click apply and it will be OK

The first one, I don’t know whether it’s my eclipse version or something. I didn’t find that one. The second one can solve this problem. I hope it can help you!!

JSON parse error: invalid UTF-8 solution series [How to Solve]

Today, the following error message will be prompted when you copy the project from the old workspace to the directory of the new workspace:

Request","exception":"org.springframework.http.converter.HttpMessageNotReadableException","message":"JSON parse error: Invalid UTF-8 middle byte 0x3f

The reasons for the above errors are: the JVM parameter does not configure the encoding format and the eclipse workspace does not specify the encoding format.

Solution: specify the JVM encoding format

Open windows -> Preferences-> java-> Installed jres select the local JRE version and click Edit

Add specified encoding format:

-Dfile.encoding=UTF-8


Specify the Workspace encoding format.
window-Preferences-General-workspace-other: UTF-8

[Modified] ANTLR4 line 1:14 token recognition error at ‘(‘

Explore the errors reported by antlr4 by yourself:
line 1:14 token recognition error at '('
means that: (the column number needs to be + 1) the symbol recognition error ‘(‘) in 1 row and 14 columns; it means that the symbol ‘(‘) not recognized by G4 rules does not affect the operation
line 1:0 token recognition error at: '7'
in 1 row and 1 column: ‘7’ symbols have no matching rules

Idea ignores compilation errors and runs in eclipse compilation mode

1. Enter file settings compiler java compiler

Modifying the configuration:
use compiler: change javac to eclipse
select “processed on errors” in eclipse options

Change project bytecode version to 6

   Enter project configuration: project structure – & gt; Project   -& gt; Project name interface

Setting: Project language level: setting 6 version

Set run/debug configurations

Run/Debug Configurations

For web projects, set “before launch” to “make, no error check” (the default should be make)
for ordinary projects, set “before launch” to “build, no error build” (the default should be build)

  Return to the editing area and click build – & gt; build Project

Eclipse Error: Could not create the Java Virtual Machine Error:A fatal exception has occurred

As a Xiaobai, this is a real headache. What you find on each platform is inconsistent, such as deleting three java files under system32, reconfiguration, etc. Finally, you find that Java becomes version 17? Just uninstall

(java17 has been uninstalled, so there is no control panel — program — uninstaller)

After uninstall

Just configure the Java environment normally

Exception record. When eclipse starts, an error is reported when workspace is opened

When eclipse starts, an error occurs when you open workspace

Problem Description:

Jump out: Eclipse an error has occurred. See the log file

resolvent

Check the log file and find the following error message:
! Message frameworkevent error
solution: CMD command and CD command jump to the eclipse.exe file. After running the command eclipse.exe - clean , the software will be opened automatically. Select workspace again to start normally

Error when opening jeesite project in eclipse

Cause analysis: there is an error in the jar package. You need to re import the jar package
first click the jeesite project, and then open properties → Java build path → libraries

Then remove all jar packages that report errors, click apply and close, select all jar packages in the Lib directory, and right-click build path to re import jar packages

errors are still reported for individual files after re introduction, as follows

The reason is that some packages are not included after Java se 9.0. If they are used, they need to be imported manually
a link is given below. You can go to this website to download the required packages by yourself
http://www.java2s.com/Code/Jar/CatalogJar.htm