1.创建空的maven项目,导如下依赖 <dependencies> <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> <version>3.4.5</version> </dependency> ...
分类:
其他好文 时间:
2021-02-23 14:26:33
阅读次数:
0
无法连接raw.githubusercontent.com curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused 打开网站 https://www.ipaddress.com/ 查询 ...
分类:
其他好文 时间:
2021-02-23 14:23:50
阅读次数:
0
import sqlite3 class SqliteUtil(): def __init__(self, file): # 连接到 SQlite数据库 # 数据库文件是 api_test.s3db,不存在,则自动创建 self.conn = sqlite3.connect('api_test.s3 ...
分类:
数据库 时间:
2021-02-23 14:22:09
阅读次数:
0
解法一:wait/notify和synchronized的组合 import java.util.LinkedList; import java.util.List; import java.util.concurrent.Semaphore; /** * 实现一个容器,提供add,size方法 * ...
分类:
其他好文 时间:
2021-02-22 12:43:15
阅读次数:
0
网页请求报错: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. ...
分类:
数据库 时间:
2021-02-20 12:31:09
阅读次数:
0
原因:未开启mysql服务器 手动开启:windows下启动cmd,在命令行下输入services.msc命令,打开服务程序,找到mysql程序,手动启动 命令行开启:net start mysql 服务名称被修改过,导致命令行无法开启 ...
分类:
数据库 时间:
2021-02-20 11:56:03
阅读次数:
0
之前用的 <dependency> <groupId>javax.annotation</groupId> <artifactId>jsr250-api</artifactId> <version>1.0</version> </dependency> 更改后的版本 <dependency> <gr ...
分类:
编程语言 时间:
2021-02-19 13:54:21
阅读次数:
0
https://blog.csdn.net/yhd0916/article/details/105092351/ 2. 编辑项目文件3. 搜索<LastGenOutput>resources1.Designer.cs</LastGenOutput>4.更改为<LastGenOutput>resour ...
分类:
其他好文 时间:
2021-02-19 13:40:12
阅读次数:
0
<build> <resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.properties</include> <include>**/*.xml</include> </includ ...
分类:
其他好文 时间:
2021-02-18 13:03:49
阅读次数:
0
jdbc连接MySql数据库 package com.zhy; import com.mysql.jdbc.Driver; import java.sql.*; /** * @author ZHY * @data 2021/2/15 */ public class TestJdbc { public ...
分类:
数据库 时间:
2021-02-18 12:57:47
阅读次数:
0