#Xception

java.net.BindException: 地址已在使用 (Bind failed)

java.net.BindException:地址已在使用,是因为端口被占用,出现在启动服务的时候报错如截图报错显示10062端口被占用冲突执行netstat-alnp|grep10062kill-9 17952最后重启服务 ...

com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'test'

com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:Unknowndatabase'test'  报错原因是:MySQL数据库没有创建test数据库解决办法:在MySQL中创建test:createdatabasetest ...

java.sql.SQLException: com.mysql.jdbc.Driver

项目本来是oracle驱动+druid数据源配置,现在要修改为mysql+druid数据源配置启动项目的时候报:java.sql.SQLException:com.mysql.jdbc.Driver 报错原因是项目中,没有mysql驱动的jar,缺少 jdbc 对mysql的jar。&nb...

tomcat java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load []

 1.情景展示  springboot项目打成的war包,在使用spring自带的tomcat启动可以正常运行,但是,将项目打包到外置tomcat中就启动失败,结果如下:  java.lang.IllegalStateException:Illegalaccess:thiswebapplicationinst...

java8 Lambda表达式遍历并移除元素,报错:ConcurrentModificationException的解决办法

 1.情景展示  已知json对象MainExt  需要把值为空数组的key移除掉,下面是执行代码  执行结果报错:java.util.ConcurrentModificationException 2.原因分析  大致过程就是:  符合删除条件--》调用remove()方法后,expectedMo...

exception The absolute uri: [http://java.sun.com/jsp/jstl/core] cannot be resolved in either web.xml or the jar files deployed with this application

  1.情景展示  eclipse,运行web项目时,报错信息如下:  Theabsoluteuri:[http://java.sun.com/jsp/jstl/core]cannotberesolvedineitherweb.xmlorthejarfilesdeployedwiththisappl...

exception java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

 1.情景展示  Java报错信息如下:  java.lang.IndexOutOfBoundsException:Index:0,Size:02.原因分析  首先,这是越界异常,但不是数组越界异常。  数组越界的信息如下:   java.lang.ArrayIndexOutOfBoundsExce...

exception:Failed to execute 'toDataURL' on 'HTMLCanvasElement' 解决方案

 1.情景展示  当使用canvas将图片转为base64报错信息如下:  UncaughtDOMException:Failedtoexecute'toDataURL'on'HTMLCanvasElement':Taintedcanvasesmaynotbeexported2.解决方案  第一种情况:本地测...

exception java.lang.OutOfMemoryError: Java heap space

 1.情景展示  java内存溢出异常,将程序代码问题排除在外,如何增大JVM的使用内存?2.解决方案   在eclipse中的解决办法:增大你要运行的测试类的内存分配。  点击运行或debug按钮旁的倒三角--》RunConfigurations...  默认选中的就是你刚才报错的测试类,如果没有...

selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH

fromseleniumimportwebdriverbrowser=webdriver.Chrome()browser.get('http://www.baidu.com')运行报错:selenium.common.exceptions.WebDriverException:Message:'chromedriver...

RtlWerpReportException failed with status code :-1073741823

在release下程序运行总是崩溃;debugView输出了这个崩溃信息, 1.一开始是release看崩溃,各种二分法找崩溃点,太玄没找到;2.终于想到可以调试,我草,调试一下瞬间发现某个class析构函数崩溃;3.想到以前遇到过.h和class不匹配的问题,原因是.h总是会拷贝到include中,没有及时...

jmeter+Jenkins 持续集成中发送邮件报错:MessagingException message: Exception reading response

已经配置好了发送邮件的相关信息,但是执行完脚本出现报错:MessagingExceptionmessage:Exceptionreadingresponse1、查看Jenkins本次构建的控制台输出,可看到报错截图如下:  2、出现问题的原因与解决措施:  问题:本人使用的是腾讯企业邮箱,在浏览器中打开邮箱,点击“设置...

python webdriver 报错WebDriverException: Message: can't access dead object的原因(pycharm中)

PyCharm中运行firefoxwebdriver访问邮箱添加通讯录的时候报错-WebDriverException:Message:can'taccessdeadobject调了半天,发现是因为在登录操作后没有从frame中切换出来导致的,因为在登录的时候需要先切换到frame中,登录之后要切换出来才能继续其他操作...

Spring Boot:Caused by: org.apache.ibatis.binding.BindingException: Parameter 'deptId' not found.

在使用SpringBoot+Mybaits从前台向后台提交数据时,控制台报出该错误信息在dao接口中,该方法拥有两个参数,Mybaits无法区分这两个参数在dao方法中为这两个参数分别标注Mybaits的@Param注解,对这两个参数加以区分List<ManagerSelectResult>selectTo...

javax.naming.NoInitialContextException错误的解决方案

今天,学习用了一下nutz框架,写了一个HelloWorld的小程序,在用jndi配置数据源时,写了一个测试类,并在main方法中调用了jndi获得数据库连接,但是报错了,错误信息如下:javax.naming.NoInitialContextException:Needtospecifyclassnameinenvi...
首页上一页...7891011...下一页尾页