I. problems discovered through jaxb operating xml, when javax. xml. bind related packages are introduced, spring tool suite compilation fails. Ii. Analysis of the Cause: Spring tool suite is installed with a spring plug-in eclipse, which is essentially eclipse. By default, Eclipse sets some access-restricted APIs as ERROR ., Therefore, compilation fails. Iii. solution 1: set the level of some restricted APIs to warningWindows> Preferences> Java> Compiler> Errors/Warnings> Deprecated and trstricted API> Forbidden reference (access rules ): -> change to warning. Method 2: In the project build path, remove the JRE System Library, add the Library JRE System Library, and recompile the Library. Method 3: Right-click the project and choose Project Properties> ja. Va builder path-> Libraries tag, click Access rules in the JRE System Library, and add sun/** to accessible. If this option exists, edit. Method 4: Windows> Preferences> Java> Installed JREs> select JDK> Edit> Add External JARs. 4. Summarize the two methods that can be implemented in my experiment. Some other methods are available on the Internet. Please try them yourself.