出现该错误的原因:Visual Studio 创建MVC项目时,选择的是Empty。 解决方案: 1、直接网站上下载或者在其他MVC项目的bin 文件夹下找到这个dll,复制到你的bin文件夹下即可。 2、VisualStudio 打开项目,选择菜单 【工具】-> 库程序包管理器 -> 程序包管理器 ...
分类:
Web程序 时间:
2020-03-20 11:13:30
阅读次数:
94
import socket sk = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sk.settimeout(1) try: sk.connect(('10.1.18.196',10088)) print 'Server port 10088 ...
分类:
编程语言 时间:
2020-03-20 10:51:01
阅读次数:
59
题目大意 T组数据,每组给定一个字符串 s 求一个 最长的 字符串 t ,满足: 1. t 是一个 回文串 2. t = a+b , a是字符串s的前缀,b是字符串s的后缀 , 为拼接两字符串,ab可能为空串 数据范围 数据组数不超过 1e5 字符串的总共长度不超过 1e6 解题思路 (标准做 ...
分类:
其他好文 时间:
2020-03-20 09:21:17
阅读次数:
60
添加依赖 <dependency> <groupId>com.belerweb</groupId> <artifactId>pinyin4j</artifactId> <version>2.5.1</version> </dependency> 工具类代码: public class PinYinU ...
分类:
编程语言 时间:
2020-03-20 00:51:49
阅读次数:
71
1.我的电脑右键 “属性”-高级系统设置-环境变量。 2.系统变量区域”点新建按钮,在新建页面输入"变量名"位 JAVA_HOME,输入“变量值”为你安装的JDK地址 3.在系统变量区域,选择"新建按钮"输入"变量名"为CLASSPATH,输入"变量值"为.;%JAVA_HOME%\lib\dt.j ...
分类:
其他好文 时间:
2020-03-20 00:47:20
阅读次数:
77
1、查看Docker版本 docker --version 2、查看Docker信息 docker info 3、启动docker相关命令 启动 : systemctl start docker 停止 : systemctl stop docker 设置开机启动 : systemctl enable ...
分类:
系统相关 时间:
2020-03-20 00:42:41
阅读次数:
83
代码: 1 import java.util.ArrayList; 2 import java.util.Collections; 3 4 public class Poker1 { 5 public static void main(String[] args) { 6 /* 7 * 1: 准备牌 ...
分类:
其他好文 时间:
2020-03-20 00:39:17
阅读次数:
68
1.使用注解的方式需要配置applicationContext.xml: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http ...
分类:
编程语言 时间:
2020-03-19 23:16:17
阅读次数:
109
A reversible prime in any number system is a prime whose "reverse" in that number system is also a prime. For example in the decimal system 73 is a re ...
分类:
其他好文 时间:
2020-03-19 22:04:02
阅读次数:
72
浏览器的问题,这个 bug 已经有很久的历史了。[1476379 - Border issue (pixels) when using floating point numbers in css transform: scale()](https://bugzilla.mozilla.org/sho... ...
分类:
其他好文 时间:
2020-03-19 21:30:59
阅读次数:
79