遍历List集合删除元素的出现报错 遍历List集合删除元素的时候会发生索引越界异常或内容遍历不全等问题. 例子: List<String> al = new ArrayList<String>(); al.add("12"); al.add("1"); al.add("13"); int size = al.size(); 问题1:索引越界异常Exception in thread "main"
删除库的时候报错 ERROR: database "temp_test_yang" is being accessed by other usersDETAIL: There are 4 other sessions using the database. 说明该temp_test_yang库正在被人连接.解决方法是: 查询出连接该数据库的进程,并将其杀死(比较暴力) select pg_terminate_backend(pid) from pg_stat_activity wh
报错: Access restriction:The type JPEGCodec is not accessible due to restriction on required library C:\Program Files\Java\jre6\lib\rt.jar 解决方法: Project -> Properties -> libraries, 先remove掉JRE System Library,然后再Add Library重新加入. 将jre项目用自己下载的jre
Cannot find firefox binary in PATH. Make sure firefox is installed. OS appears to be: VISTA Build info: version: '3.8.1', revision: '6e95a6684b', time: '2017-12-01T19:05:14.666Z' 解决方法: package my_automation; import org.openqa.selenium.WebDriver; impo
报错内容 Caused by: java.lang.UnsatisfiedLinkError: /tmp/snappy-1.1.7-4a4b576a-c34c-481e-b6ac-9b4abacb112e-libsnappyjava.so: Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by /tmp/snappy-1.1.7-4a4b576a-c34c-481e-b6ac
问题报错 今天上线了我开发的一个OAuth2单点登录客户端的实现,在测试系统验证没问题,到生产环境由于单点登录服务端HTTPS协议,报错如下: I/O error on POST request for "xxx.xxx.xxx.xxx:8080": sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilder