当前位置:网站首页>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 ");
}
}
}
边栏推荐
- idea中导包方法
- Who says that PT online schema change does not lock the table, or deadlock
- Talking about the startup of Oracle Database
- Conditional probability
- 编译原理:源程序的预处理及词法分析程序的设计与实现(含代码)
- Cannot change version of project facet Dynamic Web Module to 2.3.
- [899]有序队列
- ES6语法总结--下篇(进阶篇 ES6~ES11)
- [offer9] implement queues with two stacks
- Basic operations of databases and tables ----- classification of data
猜你喜欢
Understanding of AMBA, AHB, APB and Axi
(4) Data visualization of R language -- matrix chart, histogram, pie chart, scatter chart, linear regression and strip chart
JS正则表达式基础知识学习
Walk into WPF's drawing Bing Dwen Dwen
The dolphin scheduler remotely executes shell scripts through the expect command
Redis based distributed locks and ultra detailed improvement ideas
MySQL時間、時區、自動填充0的問題
Expected value (EV)
MySQL time, time zone, auto fill 0
2021.11.10汇编考试
随机推荐
Conditional probability
First use of dosbox
[esp32 learning-1] construction of Arduino esp32 development environment
Expected value (EV)
Theoretical derivation of support vector machine
Learning notes of JS variable scope and function
[offer9] implement queues with two stacks
Kaggle competition two Sigma connect: rental listing inquiries (xgboost)
Compilation principle: preprocessing of source program and design and implementation of lexical analysis program (including code)
ES6语法总结--上篇(基础篇)
Single chip Bluetooth wireless burning
NRF24L01 troubleshooting
Arduino get random number
JS function promotion and declaration promotion of VaR variable
Mp3mini playback module Arduino < dfrobotdfplayermini H> function explanation
How to add music playback function to Arduino project
Database course design: college educational administration management system (including code)
2021.11.10 compilation examination
Page performance optimization of video scene
idea中导包方法