1, the imported project JSP file Error situation
this generally does not affect the execution of files, these files are mainly due to eclipse the calibration problem.
Specific error message: Multiple annotations found at the This line
Processing method:
set some of the relevant properties in Eclipse, as follows"window", "preferences " - " Validation " , find it and then JSP of the file Bulid and the Manual the two-bar tick is removed when the project is refreshed. As shown
2. A serious problem occurred in the console:listener , etc.
The import Java.util cannot be resolve is placed on the error file. This is mainly due to the change of workspace (workspace) Now all packages are displayed cannot be imported: Theimport java cannot be resolved how can i solve this problem?
Solution:
Right-click Project -------BuildPath--------The bottom of the Configura ... Of
Select Libraries
Find JRE (this time you will find this JRE in front of it!) or a red X)
Check Remove, as shown in the picture below
re-select one for the project Jre
Select project,project----Clean
OK, all the bags have been found.
3. This is also the most common problem of the new start: Contect Time Out and JDBC -related issues , this is mainly a database connection when there is a problem, At this point we can see if the IP of the local database connection matches the URL in the applicationcontext.xml file. If there is a mismatch, make the relevant modifications.
then reboot the Tomcat .
4. Theimport Javax.servlet.servletcontext cannot be resolved
this is mainly because Tomcat did not import (in essence, some of its jar packages did not import, causing some java files to error), whether the import main look " Project,properties, Whether there is Tomcatin the libraries inthe Java build path.
As shown in the following:
The methods that are imported are as follows:
After the import is completed and then refreshed under the project or clean can solve the problem.
another: the main role of the last runtime environments add tomcat in server is to configure a Tomcat 's operating environment, specifying the path and JRE for Tomcat.
5.server Startup Time-out issue
error message: Server Tomcat v7.0 at localhost is unable to start within seconds. If the server requires more time, try increasing the timeout in the server editor.
this setting of the start time value (incremented) in the timeout setting severs(double-click) is as follows:
Problems commonly encountered in the use of projects such as JSP import in eclipse