IDEA common settings

  1. Turn off automatic update
    Settings-Appearane&Behavior-System Setting-Updates
    Uncheck Automaticall…

Insert picture description here
2. Test the data connection
View-Tool Windows-Database-select the database mode (Oracle, MySQL)-download the corresponding driver-test the SQL statement

Insert picture description here
tomcat startup garbled code
Reason: the encoding format of tomcat and idea are inconsistent.
Modify the configuration file E:\tomcat\apache-tomcat-8.5.56\conf\logging.properties
modify all encodings = GBK

Idea does not recognize EL expressions and will appear when the web.xml version is lower than 2.4.
Solution 1:
Correct the web.xml version

Solution 2: Add
<%@page pageEncoding="utf-8" isELIgnored="false"%> on each jsp page

MySQL connection error is reported, and the following message appears repeatedly:
Insert picture description here
Solution: delete the following red box content
Insert picture description here
JDBC references jdbc.properties variable username, naming rules are limited,
Insert picture description here
where ${XXX} cannot use ${username} ${name}, the following keywords are available.
Insert picture description here

The url in ${url} cannot be used, the keyword?
Idea's "clean"
File – Invalidate Caches/Restart
Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_46895251/article/details/108573725