http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd在IDEA中无法表达声明处
http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd 为红色,在IDEA中为找到声明,需要在IDEA中添加URL
 
联网下载的资源未找到,需要下面对IDEA进行添加URL的配置。
 
 注:mysql8.0+之后的驱动更改:
//1、注册驱动
Class.forName("com.mysql.cj.jdbc.Driver");
//2、获取连接
conn = DriverManager.getConnection("jdbc:mysql://127.0.0.1:3306/jf?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC","root","root");

 
                     
                    
                 
                    
                
 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号