一、Docker启动异常表现:
1.状态反复restaring,用命令查看
$docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
21c09be88c11 docker.xxxx.cn:5000/xxx-tes/xxx_tes:1.0.6 /usr/local/tomcat... 9 days ago Restarting (1) Less than a second ago xxx10
2.Docker日志有明显问题:
$docker logs
先看看那种容易被注入的SQL
id = 11001
sql =
SELECT
id,
name,
age
FROM
student
WHERE
id = +id+
cursor = connection.cursor()
try:
cursor.execute(sql)
result = cursor.fetchall()
for result1 in result:
// 代码块
正常安装和配置JDK后,IntelliJ IDEA 2019.3.1 x64 启动仍然报 Failed to load JVM DLL 路径\jvm.dll if you already have a 64-bit JDK installed, define a JAVA_HOME variable in 系统 ... 必须用管理员才能打开,这里告诉你这种情况的根本解决办法,亲测有效