当前位置:网站首页>Idea problem record
Idea problem record
2022-07-06 12:33:00 【Vigorous waist Nuo dance】
Catalog
newly build web After the project, click helloservlet Later error reporting ?
Mine is because tomcat Version issue for , from 10 Switch to 9 There is no problem
css The file is invalid or changed css Restart after file is invalid ?
problem : Modify anyway css file , start-up idea After that, there was no effect , Unless put css Write directly in html in
browser : Google
Delete first idea In the project target file
Then delete the browser cache
Restart again to reflect the effect in time
Without rhyme or reason
…
I yue 了
The certificate is not trusted ?
No crack idea, I applied with my student card …
result
But everyone on the Internet is talking about cracking …"~%?..,# *'*&℃$︿*?"
I don't know why
jsp in java Code section out Not available print Method ?
In addition to other blogs on the Internet
stay webapps Create a folder by yourself lib Then import outside the project
Just when you start a new project
hold full platform Just tick it
I don't know which one works
How to import Mysql drive
Click on download
Unzip it after downloading
open idea
Then import the whole unzipped file
apply That's all right.
A test sample
package day01;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.Statement;
public class DB1 {
public static String driver="com.mysql.cj.jdbc.Driver";
// Need to change your user name and password
public static String user="root";
public static String password="xxxx";
public static void main(String[] args) {
// Create database
try {
Class.forName(driver);
Connection con1;
String url1="jdbc:mysql://localhost:3306";
try {
con1 = DriverManager.getConnection(url1, user, password);
Statement statement=con1.createStatement();
statement.executeUpdate("create database mysql_db1");
statement.close();
con1.close();
} catch (SQLException throwables) {
System.out.println(" Yours SQL The sentence is wrong ...");
}
} catch (ClassNotFoundException e) {
System.out.println(" There's something wrong with the drive ");
}
}
}
边栏推荐
猜你喜欢
Understanding of AMBA, AHB, APB and Axi
Redis 缓存更新策略,缓存穿透、雪崩、击穿问题
Redis based distributed ID generator
Redis cache update strategy, cache penetration, avalanche, breakdown problems
Types de variables JS et transformations de type communes
JS function promotion and declaration promotion of VaR variable
First use of dosbox
Basic operations of databases and tables ----- classification of data
[Nodejs] 20. Koa2 onion ring model ----- code demonstration
JS變量類型以及常用類型轉換
随机推荐
PT OSC deadlock analysis
Arduino gets the length of the array
ESP8266连接onenet(旧版MQTT方式)
MySQL takes up too much memory solution
單片機藍牙無線燒錄
SSD technical features
JS regular expression basic knowledge learning
gcc 编译选项
open-mmlab labelImg mmdetection
2021.11.10 compilation examination
基于Redis的分布式锁 以及 超详细的改进思路
@The difference between Autowired and @resource
记一次云服务器被密码爆破的经历——关小黑屋、改密码、改端口
如何给Arduino项目添加音乐播放功能
(5) Introduction to R language bioinformatics -- ORF and sequence analysis
Conditional probability
Common properties of location
[esp32 learning-1] construction of Arduino esp32 development environment
[offer9]用两个栈实现队列
Vulnhub target: hacknos_ PLAYER V1.1