工欲善其事, its prerequisite
After installing Eclipse, a simple configuration can improve the efficiency of future development, and this is the first time to record your own experience.
First, the encoding configuration Utf-8
1.worksplace:
The first setting is the workspace code.
Although the default encoding for Worksplace is set, we find that the encoding for new JSP files, configuration files, and so on is also ISO encoded,
2.jsp file:
Each time you create a new JSP file, it defaults to Iso-8859-1, which windows > preferences > Web > JSP Files
allows you to configure the default encoding:
3. Configuration files and other:
There are Preferences > General > Content Types
many files in it that can set the default encoding:
Ii. JDK Issues
1. Run a different project from the local JDK
If the local is 1.8, and the project is 1.7, if you have been prompted to compile the mismatch, then you can configure in the following places:
Eclipse Start Configuration