![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
错误记录
兮之~
这个作者很懒,什么都没留下…
展开
-
Mac —— 解决没有权限修改host文件问题
把hosts文件移出到桌面,修改完内容,将文件再移回这个地址。打开hosts文件(用文本编辑即可)修改会出现没有权限的提示,无需关注。打开Finder 输入快捷键。转载 2022-10-12 16:53:41 · 2484 阅读 · 0 评论 -
找不到驱动:the driver executable does exit chromedriver
运行项目,浏览器未打开,无运行日志,结果为---------------------Default SuiteTotal tests run: 1, Failures: 0, Skips: 1Configuration Failures: 1, Skips: 1--------------------------解决办法:chromdriver 驱动与浏览器版本关联参考:h...原创 2019-08-16 11:16:50 · 4003 阅读 · 0 评论 -
解决eclipse提示Initializing Java Tooling “has encountered a problem
进入eclipse的安装目录,命令行运行一下eclipsec.exe即可。前提关闭项目https://blog.csdn.net/king0406/article/details/51689249原创 2019-08-14 14:21:59 · 553 阅读 · 0 评论 -
java空指针异常:java.lang.NullPointException
问题原因,没进行空判断Double之前:String m=request.getParameter("money");Doublemoney=Double.parseDouble(m);改后:String m=request.getParameter("money"); Double money=0.0; if(m!=null) mo...原创 2019-03-06 15:21:03 · 971 阅读 · 0 评论 -
The origin server did not find a current representation for the target resource
exclipse建立的WEB的springmvc项目,报错,网上查了半天,现在连console都不显示错误,实在找不出来问题原因了,各位大神帮忙看看!!!有网友说右击server,先移除项目,再双击,才可以更改,可是试了后还是置灰,不可改?--------------------------------------------------------------------------...原创 2019-03-05 15:37:52 · 5572 阅读 · 1 评论 -
Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingH
该异常表示controller里的@RequestMapping的注解中出现了重复的url,不能知道当访问这个url的时候到底该从哪个入口进入所以需要查看一下requestmapping注解中的value有没有重复出现的,可以使用Ctrl+H 全局搜索一下 如果出现了相同的路径名称就需要修改一下url的名称。...原创 2019-03-05 10:10:34 · 6530 阅读 · 0 评论 -
java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileItemFactory错误
fileupload 路径下的这个类找不到,使用其他项目管理工具的自己下载jar,http://commons.apache.org/proper/commons-fileupload/download_fileupload.cgi使用maven只需要导入 commons-io 和 commons-fileupload的坐标即可。<dependency><group...原创 2019-03-05 10:07:33 · 1596 阅读 · 0 评论 -
缺少javax.servlet.http.HttpServletRequest包导致新导入的项目报错
错误提示是因为没有引入javax.servlet.http.HttpServletRequest所在的包,编译错误。项目–>右键–>properties–>Javabuild bath–>Libraries这里要保有这两个包。如果你的没有,那么:add Library–>user Library–>user Libraties–>new新建–...原创 2019-03-05 09:20:15 · 34828 阅读 · 2 评论 -
selenium启动报错“ incorrect JSON status mapping for 'unknown error' (500 expected)”
照着其他文档学习,练习Selenium第一个程序,如下:之前报错找不到驱动,把Build Path 里的Selenium的jar包重新导入一下,就可以继续了。之后又报错,如下:“org.openqa.selenium.remote.ErrorCodes toStatus,HTTP Status: '404' -> incorrect JSON status mapping...原创 2019-01-30 10:50:25 · 873 阅读 · 0 评论 -
MySQL安装报错:Please install the Redistributable then run this installer again.
本文参考:http://www.cnblogs.com/jying/p/7764147.html安装MySQL 时报错:This application requires Visual Studio 2013 Redistributable. Please install the Redistributable then run this installer again.问题原因大体是my...原创 2019-01-17 14:43:40 · 4061 阅读 · 1 评论 -
Java报错:Exception in thread "main" java.lang.UnsupportedClassVersionError
借鉴https://blog.csdn.net/shuiyixin/article/details/81042315这位博主的内容,但我的错误原因是:从这里进入,将jdk版本从10改为1.8版就好了原创 2019-01-02 16:02:32 · 399 阅读 · 0 评论