Modify compile-time rules
1. Open the project Settings

2. Check the Enable Annotation Processing
box
2. Step one cannot solve can try to reload the lombok plugin
I met question is normal to write code, you can use @ Data annotations provide the get/set methods, but unable to compile program, an error is as follows:
ultimately comes down to the choice of the compiler, switch from eclipse for javac, problem solving.
Category Archives: How to Fix
About maven Pom.xml Personal solutions to reporting errors!!!
When importing someone else’s project or creating a project using Maven from the command line, you may encounter errors in the pom.xml file (as shown below).

The reason is the lack of a corresponding JAR package. (It may be that the corresponding JAR package failed to download locally when we updated it) we need to update and download the corresponding JAR package by ourselves; Here are the steps:
C:\Users\ Tian bin\.m2\ Repository: C:\Users\ Tian bin\.m2\ Repository
2. Go to the maven-resources-plugin folder with the correct version number (2.12.4 for me) and click on it. C:\Users\ Tian bin\.m2\ Repository \org\ Apache \ Maven \ Plugins \ Maven-Resources-Plugin


3, Delete all files ending with lastUpdated.
4. Open Eclipse, right click on our project Maven> Update project…

5. Click OK!

Note: if there are other similar this kind of mistake in the pom, in the same way, according to the error message, you know which jar package, lack is to own Maven download updates to the local path to find the jar location (jar is consistent with the name and the name of the folder), delete all ends in lastUpdated files in the folder, finally open eclipse, right-click on our engineering Maven> Update project… , click OK. That’s it!!
Solution to the error of @ resource annotation in eclipse spring
The @Resource annotation in Eclipse-Spring is used to report an error
1. Problems arise

![]()
2. The cause of the problem
@ the Resource is equivalent to the applicationContext. GetBean method, is the annotation – API. The class in the jar package, only support is jdk1.6 annotations, and their default is jdk1.5 (pictured) of the project, so the JDK version because the project is too low, there is an error.

3. Solutions
1. Place the cursor on the project — right click — find Build Path — and then go to Configure Build Path (select)

.
> Find the Java Bulib Path — Libraries — Select the default JRE System Library[J2SE-1.5] — double-click — check Workspace Default JRE (JRE 1.8.0_121)* (this will work if you change to the latest)*.
the default format:
to this format:
4, successfully solved the
modification is done, another to write @ Resource annotation automatically prompts, and there is no error
![]()
Common solutions to errors in checkout or commit of SVN
In using SVN checkout or commit times wrong, a similar error message as below
according to the prompt, the first thing we can choose to use the SVN menu of “clean up” option is trying to solve this problem
if the clean after found the problem still exists, we can give the correct local warehouse file backup to other directories first, then delete the error documents of local warehouse, from the remote warehouse to pull, and then compare our backup files related modification operations, You can recommit
About Python setup.py Install error
Sudo python setup.py install: error: can’t create or remove files in install directory sudo python setup.py install: sudo python setup.py install
Reference articles:
https://blog.csdn.net/nathan8/article/details/80196340
Solution of project error reporting in eclipse
Target runtime MyEclipse Tomcat V7.0 Unknown Faceted Project Problem
br> Target runtime MyEclipse Tomcat V7.0 Unknown Faceted Project Problem
2. To find the project directory. Mon. Under the Settings of org.eclipse.wst.com project. Facet. XML core.

3. Will & lt; The runtime name = “MyEclipse Tomcat v7.0″/& gt; Delete, and then right-click the project and refresh.

Second, the projects have a red exclamation point
right click – buildPath – see each TAB to see if there is failure jars or path error
Three, didn’t find the sessionFactory project appear this error:
the solution: (need SRC and res) in both directory to compile project right – buildPath – source – addFolder – check the res and SRC – ok
Right-click on the project –buildPath–Libraries– select JRE System Library–Edit– select Workspace Default JRE
Five, the project after import the captcha code error:
import com. Sun.. Image codec. Jpeg. JPEGCodec; .
import com. Sun. Image codec. Jpeg. JPEGImageEncoder;
Access: The type JPEGCodec is not accessible due to restriction on required library D:\eclipse\JDK7x64\jre\lib\rt.jar
br bb0 Access: restriction: The type JPEGCodec is not accessible due to restriction on required library D:\eclipse\JDK7x64\jre\lib\rt.jar Warning: Forbidden References (Access Rules) from the Deprecated and Restricted API in Windows-Preferences-Java-Complicer-Errors/Warnings.
2, [Project] ->; Properties -> Java Build Path -> Libraries -> Delete JRE System Library
and Add: Add Library ->; JRE System Library -> Click OK
3, [Project] -> Properties -> Java Build Path -> Libraries -> Double-click the JRE System Library and change it to “Workspace Default JRE”
Six, because of the relationship between work, Eclipse development of Java projects to copy, sometimes report a very strange error. Java Compiler Level does not match the version of the installed Java project facet “Java Compiler Level does not match the version of the installed Java project facet” when the source code is identical.
it is very easy to solve, actually under the resource manager, find the project directory, in. Settings subdirectories inside, use a text editor open org.eclipse.wst.com mon. Project. Facet. Core. The XML configuration file
content is as follows:
& lt; ?The XML version = “1.0” encoding = “utf-8”?>
& lt; faceted-project>
& lt; runtime name=”com.genuitec.runtime.generic.jee70″/>
& lt; fixed facet=”jst.web”/>
& lt; fixed facet=”wst.jsdt.web”/>
& lt; fixed facet=”java”/>
& lt; Installed facet = “Java” version = “1.7”/& gt;
& lt; Installed facet = “JST. Web” version = “3.1”/& gt;
& lt; Installed facet = “JST. Web. JSTL” version = “1.2.2”/& gt;
& lt; Installed facet = “WST. JSDT. Web” version = “1.0”/& gt;
& lt; /faceted-project>
& lt; Installed facet = “Java” version = “1.7”/& gt;
:
:
:
:
the right mouse button to select the project, click Properties, select the Java Compiler, you can see on the right side window to the Compiler version
check the Enable project specific Settings
check Use default the compliance Settings
the selection of the corresponding version into in accordance with the version = “1.7”
The reason of error in R file
General R file error, nothing more than resource file error, picture naming error, but compilation will report error, can be quickly solved. However, a few days ago, after introducing a third-party AAR package, the project compiled correctly, but the R file failed to find the R file, and the whole project was in the red.
2. Wrong approach
Clean Project
Rebuild Project
I’m sure a lot of people, the first reaction is these two versions, but after trying both, found that still report errors. I closed the studio and reopened it several times, even rebooted the computer…
3. Solution
1) The R file should be generated, but it cannot be referenced. Then we go to the R file and open it.
When you open the R file, you find a line at the top of the R file, as shown in the figure below:

The IDE limits the size of files that can be associated, mainly to protect memory. The default value is 2500KB. Find the problem, and let’s fix it.
2) choose Android Studio under the Help menu of the Edit the Custom Properties, in the file to add: idea. Max. Intellisense. Filesize = 5000, and then restart the Android Studio. As shown in the figure:


After you restart Android Studio, everything should be fine.
If you have any mistakes, please point out and learn together.
IntelliJ idea code did not report an error, compilation failed
IntelliJ IDEA newly imported project, the project code did not report an error, but during the compilation process, there will be similar errors, such as missing code format, etc.
Server error 500 detailed error
Management Tools ->; Internet Information Service (IIS) Manager
Click 500 to fix the detailed error


about rs.last () error reporting
String SQL =”select * from stu_info”;// query key code
PreparedStatement PSTMT = dbConn. PrepareStatement (SQL,
the ResultSet. TYPE_SCROLL_INSENSITIVE, ResultSet. CONCUR_READ_ONLY); .
ResultSet rs = PSTMT executeQuery ();
Add the key code for the scarlet letter, and rs.last() will work.
However, the ResultSet.CONCUR_UPDATETABLE in the reference article will return an error. I don’t know why…
Refer to the article links: https://blog.csdn.net/pzasdq/article/details/52602730
Error in the project tag in the POM file of Maven project: failure to transfer
The Maven project was detected from SVN today, and the project label of the POM file after it was imported into ECLISE reported an error. The error content was very long, and the initial content was roughly Failure to Transfer…. + the version of a JAR package +…..
Solution:
Select the error report item, right-click on the item –>; Maven – & gt; Update Project, Force Updateo of Snapshots/Releases:

Just wait for the execution to finish, at least that’s how my error was resolved.
Error: unexpected syntax error: unexpected token<
Following the console prompt, click on File Discovery. ! DOCTYPE html> Error, let a person very confusing, in fact this is the script file introduction problem, you can check the script file path you introduced, you can modify