Problem phenomenon: When running the program, prompt: NoClassDefFoundError: javax/xml/bind/*
The cause of the problem: JDK 8 and previous versions contain the jaxb jar by default; the currently used JDK11 version lacks jaxb-api
packages
solution:
1) I am going to replace JDK with version 1.8 under verification, but eclipse-2020.6 does not support JDK below 11 – I don’t know if the latest version of IDEA supports it.
Directly download the 2017 eclipse version to temporarily circumvent it. The download address of the old version of the installation package is as follows:
https://wiki.eclipse.org/Older_Versions_Of_Eclipse
When eclipse starts, you can manually set the corresponding JRE environment, refer to:
https://blog.csdn.net/qq_36411874/article/details/78250415
2) Supplementary jaxb
Corresponding package to JDK11 package
Similar Posts:
- bash :startx command not found
- 「ImportError: libcublas.so.10.0: cannot open shared object file: No such file or directory」
- The solution of javaw.exe in your current path
- Missing libiconv-2.dll solution and unable to locate input point libiconv-2.dll to DLL
- Quickly solve the problem of “RSA public key not find” in Navicat
- Failed to find target with hash string ‘android-26’ in
- Installing mingw64 and msys2 in win10
- eclipse scala failed to load the jni shared library
- IDEA error: javax/xml/bind/DatatypeConverter [How to Solve]
- fatal:’origin’ does not appear to be a git repository fatal:Could not read from remote re…