51
Dev开发社区
首页
文章
问答
工具
搜索
登录
注册
#LT
支付宝SDK报错 invalid [default store dir]: /tmp/ 解决方法
这个错误主要是出现在windows上面,因为路径错误而导致的。 解决方法是在SDk里新建一个tmp文件夹,然后打开AopSdkl.php将18行中的【define("AOP_SDK_WORK_DIR","/tmp/");】修改为以下代码:define("AOP_SDK_WORK_DIR",dirn...
代码星球
·
2020-12-27
支付
SDK
报错
invalid
default
SLF4J: Class path contains multiple SLF4J bindings.
错误信息:SLF4JWarning:ClassPathContainsMultipleSLF4JBindings错误原因:我个人博客系统一个爬虫组件用到webmagic,而webmagic与lomback中的slf有冲突。解决办法(webmagic排除相关依赖即可):<!--webmagic--><d...
代码星球
·
2020-12-27
SLF4J
Class
path
contains
multiple
multiset
multiset:允许容器内有重复的元素set:不允许有重复元素...
代码星球
·
2020-12-27
multiset
Halting Problem
HaltingProblem:传送门:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=4049总结一个小规律:题目中给的那个取mod的那个数N,可能就是循环的边界;本题AC代码:1/**/2#include<bits/stdc++.h>...
代码星球
·
2020-12-27
Halting
Problem
poj2299——Ultra-QuickSort
DescriptionInthisproblem,youhavetoanalyzeaparticularsortingalgorithm.Thealgorithmprocessesasequenceofndistinctintegersbyswappingtwoadjacentsequenceelementsuntil...
代码星球
·
2020-12-26
poj2299
Ultra-QuickSort
servlet/filter/listener/interceptor区别与联系
Filter和Interceptor的区别一、filter基于filter接口中的doFilter回调函数,interceptor则基于Java本身的反射机制; 二、filter是依赖于servlet容器的,没有servlet容器就无法回调doFilter方法,而interceptor与servlet无关;&...
代码星球
·
2020-12-26
servlet
filter
listener
interceptor
区别
myBatis抛出异常Result Maps collection already contains value ...
原因是Eclipse编译了一份在bin目录下,将bin目录或者WEB-INF下class目录清空即可或者Mavenclean一下项目...
代码星球
·
2020-12-26
myBatis
抛出
异常
Result
Maps
通过org.springframework.web.filter.CharacterEncodingFilter定义Spring web请求的编码
通过类org.springframework.web.filter.CharacterEncodingFilter,定义request和response的编码。具体做法是,在web.xml中定义一个Filter,如下:<filter><description>字符集过滤器</descrip...
代码星球
·
2020-12-26
通过
org.springframework.web.filter.CharacterEncodingFilter
定义
Spring
web
关于<img>标签与文字垂直居中
要让左边的图片与后面的文字居中,如下效果HTML代码:<imgclass="iconCls"alt="最新客户端"src="${basePath}/images/img/newclient.png">当前版本:5.0.8.26|更新日期:2016-03-03|文件大小:31MBCSS代码:.iconCls{...
代码星球
·
2020-12-26
关于
标签
文字
垂直
居中
jQuery中filter(),not(),split()的用法
filter(),not():<scripttype="text/javascript">$(document).ready(function(){//输出helloalert($("p").filter(".selected").html());//输出Howareyou?alert($("p").not...
代码星球
·
2020-12-26
jQuery
filter
not
split
用法
关于Spring事务<tx:annotation-driven/>的理解(Controller可以使用@Transactional)
在使用SpringMvc的时候,配置文件中我们经常看到 annotation-driven这样的注解,其含义就是支持注解,一般根据前缀tx、mvc等也能很直白的理解出来分别的作用。<tx:annotation-driven/>就是支持事务注解的(@Transactional)、<mvc:an...
代码星球
·
2020-12-26
关于
Spring
事务
理解
Controller
打开Eclipse提示“The default workspace “xxxx” is in use or cannot be created Please choose a different one“
原因:出现这种情况一般是workspace的配置文件中出现了.lock文件(workspace/.metadata/.lock),锁定了workspace。把.lock文件删除即可。如果该文件不能删除,可能是因为javaw.exe进程未结束,结束该进程及eclipse.exe进程即可删除。正常情况下,如果你打开了一个w...
代码星球
·
2020-12-26
打开
Eclipse
提示
The
default
filter-mapping中的dispatcher使用
web.xml里<filter-mapping>中的<dispatcher>作用 2.4版本的servlet规范在部属描述符中新增加了一个<dispatcher>元素,这个元素有四个可能的值:即REQUEST,FORWARD,INCLUDE和ERROR可以在一个<fi...
代码星球
·
2020-12-26
filter-mapping
中的
dispatcher
使用
Spring组件扫描<context:component-scan/>使用详解
<context:component-scanbase-package="com.vrv.paw.dao,com.vrv.paw.service,com.vrv.paw.action,install,com.vrv.paw.utils"/>或<!--注解注入--><context:anno...
代码星球
·
2020-12-26
Spring
组件
扫描
使用
详解
offsetParent.scrollTop IE下一直报错,说“缺少对象”
<div>这个css在IE下一直报错,说“缺少对象”,而修改为:<div>就正常了,即:把offsetParent.scrollTop改为:documentElement.scrollTop...
代码星球
·
2020-12-26
offsetParent.scrollTop
IE
一直
报错
缺少对象
首页
上一页
...
66
67
68
69
70
...
下一页
尾页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他