当前位置:网站首页>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 ");
}
}
}
边栏推荐
- Esp8266 uses Arduino to connect Alibaba cloud Internet of things
- 基于Redis的分布式锁 以及 超详细的改进思路
- JS function promotion and declaration promotion of VaR variable
- 燕山大学校园网自动登录问题解决方案
- js题目:输入数组,最大的与第一个元素交换,最小的与最后一个元素交换,输出数组。
- Arduino gets the length of the array
- Detailed explanation of truncate usage
- Custom view puzzle getcolor r.color The color obtained by colorprimary is incorrect
- [offer9] implement queues with two stacks
- Basic operations of databases and tables ----- view data tables
猜你喜欢
dosbox第一次使用
Kconfig Kbuild
JS variable types and common type conversions
Gravure sans fil Bluetooth sur micro - ordinateur à puce unique
[esp32 learning-2] esp32 address mapping
JS Title: input array, exchange the largest with the first element, exchange the smallest with the last element, and output array.
Pat 1097 duplication on a linked list (25 points)
Intermediate use tutorial of postman [environment variables, test scripts, assertions, interface documents, etc.]
Page performance optimization of video scene
Mp3mini playback module Arduino < dfrobotdfplayermini H> function explanation
随机推荐
dosbox第一次使用
Minio文件下载问题——inputstream:closed
Unity3D摄像机,键盘控制前后左右上下移动,鼠标控制旋转、放缩
Redis based distributed ID generator
idea问题记录
@The difference between Autowired and @resource
Générateur d'identification distribué basé sur redis
2021.11.10汇编考试
[leetcode19] delete the penultimate node in the linked list
Mp3mini playback module Arduino < dfrobotdfplayermini H> function explanation
Conditional probability
Redis based distributed locks and ultra detailed improvement ideas
GCC compilation options
MySQL time, time zone, auto fill 0
By v$rman_ backup_ job_ Oracle "bug" caused by details
js 变量作用域和函数的学习笔记
Pat 1097 duplication on a linked list (25 points)
idea中导包方法
Kaggle competition two Sigma connect: rental listing inquiries (xgboost)
Minio file download problem - inputstream:closed