报错
显魄-Simple
phone:13958942952
q:1205694732
wechat:$phone
展开
-
常见 httpcode
code 说明 200 请求被成功处理 301 永久性重定向 302 临时性重定向 403 没有权限访问 404...原创 2018-05-09 15:19:59 · 3059 阅读 · 0 评论 -
Python 解决 MySQLdb(MySQL-python) 安装失败的问题 -> windows 系统
使用 pip install MySQLDB 或者是 pip install MySQL-python 甚至是使用 pip install MySQL-python==1.2.5 都出错了,那么该如何去解决这个问题呢? 其实 windows 系统在安装 python 某些模块的时候,就是会出现各种各样的问题,此处有一种通用的解决方式,登录 Unofficial Windows Binarie...原创 2018-06-26 22:25:44 · 6379 阅读 · 1 评论 -
Maven :解决 Unable to start embedded Tomcat
在保证自己项目中没有其他显式错误的情况下,那么该错误就是包冲突问题,在项目目录的点击右键: 选择 maven 点击 Update Project 即可如图:原创 2018-06-15 12:16:10 · 28893 阅读 · 4 评论 -
Python 解决: mode = tty.tcgetattr(self.STDIN_FILENO) termios.error: (25, 'Inappropriate ioctl for d
在 python 代码中使用交互指令:ssh.interact()的时候,报了以下错误:mode = tty.tcgetattr(self.STDIN_FILENO)termios.error: (25, 'Inappropriate ioctl for device')实际上这是打开的方式不对,该代码并不能在编辑器工具中打开,该指令是交互作用,只要在终端直接运行就不会再报错...原创 2018-06-08 12:30:20 · 4120 阅读 · 0 评论 -
Python 解决:module 'pexpect' has no attribute 'spawn'
python 在使用 pexpect 的时候,报了module 'pexpect' has no attribute 'spawn'并不是”pexpect”没有“spanwn”模块,点进去看 pexpect 的源代码:import sysPY3 = (sys.version_info[0] >= 3)from .exceptions import ExceptionPex...原创 2018-06-08 12:27:30 · 20215 阅读 · 3 评论 -
Java 解决:SAXParseException,对实体 "serverTimezone" 的引用必须以 ';' 分隔符结尾。
我的xml配置为:报错信息:Caused by: org.xml.sax.SAXParseException; lineNumber: 14; columnNumber: 77; 对实体 "serverTimezone" 的引用必须以 ';' 分隔符结尾。 at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrappe...原创 2018-06-01 08:20:10 · 11008 阅读 · 7 评论 -
解决:Caused by: com.mysql.cj.exceptions.InvalidConnectionAttributeException: The server time zone valu
报错信息为:Caused by: com.mysql.cj.exceptions.InvalidConnectionAttributeException: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone. You must configure eith...原创 2018-06-01 08:15:07 · 37036 阅读 · 24 评论 -
Python 解决: from pip import main ImportError: cannot import name 'main'
此次报错是因为 pip 升级出的问题:解决方案1:python3 -m pip install 模块名解决方案2:进入 pip3 的文件夹 sudo vi /usr/bin/pip3 修改:from pip import main 为:from pip._internal import main然后保存退出。 再运行 pip3 install 模块名 就能成功了!...原创 2018-06-07 21:18:49 · 17632 阅读 · 0 评论 -
Java 解决: java.lang.NoClassDefFoundError: org/joda/time/format/ DateTimeFormat
缺少 jar 包:joda-time引入依赖包方式: http://mvnrepository.com/artifact/joda-time/joda-time/2.10原创 2018-06-06 22:18:49 · 17157 阅读 · 0 评论 -
Java 解决: java.lang.NoClassDefFoundError: org/apache/http/client/HttpClient
缺少 jar 依赖包 : httpclient引入 jar 依赖包方式: http://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient/4.5.5原创 2018-06-06 22:17:14 · 63833 阅读 · 4 评论 -
Java 解决: java.lang.NoClassDefFoundError: org/apache/http/proto col/HttpRequestExecutor
缺少 jar 依赖包:httpcore引入依赖包: http://mvnrepository.com/artifact/org.apache.httpcomponents/httpcore/4.4.9原创 2018-06-06 22:15:10 · 5620 阅读 · 0 评论 -
Java 解决: java.lang.NoClassDefFoundError: com/fasterxml/jackson /annotation/JsonView
缺少 jar 包:jackson-annotations引入依赖的地址为: http://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-annotations原创 2018-06-06 22:12:42 · 8534 阅读 · 0 评论 -
Java 解决:java.lang.NoClassDefFoundError: com/fasterxml/jackson /core/Versioned
缺少 jar 依赖包:jackson-core引入依赖地址见: http://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-core原创 2018-06-06 22:10:56 · 15970 阅读 · 3 评论 -
Java 解决 :java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/ObjectMapper
缺少一个 jar 包,该 jar 包为:jackson-databind依赖引入地址见: http://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind/2.9.5原创 2018-06-06 22:08:40 · 50204 阅读 · 10 评论 -
Java 解决: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
导入相应的 jar 包即可,该 jar 包为:commons-logging官方下载地址为:http://commons.apache.org/proper/commons-logging/download_logging.cgi原创 2018-06-06 22:01:54 · 5926 阅读 · 0 评论 -
解决:SdkClientException: Unable to load AWS credentials from any provider in the chain
在调用亚马逊发送短信接口的时候,发生了这个错误: 报错信息如下:Exception in thread "main" com.amazonaws.services.sns.model.AmazonSNSException: The request signature we calculated does not match the signature you provided. Check ...原创 2018-06-06 09:24:54 · 12338 阅读 · 1 评论 -
Spring 解决:Error creating bean with name 'xxxx'
点击进文: https://www.cnblogs.com/XFJ-XXX/p/7806763.html转载 2018-06-12 19:41:06 · 16439 阅读 · 0 评论 -
Maven:多模块打包 Failed to read artifact descriptor for xxx:jar
’本人此问题是在多模块开发的时候出现的,直接在子模块中引用其他子模块,代码和包都是引用正确的,但是却是无法正确打包。原因 实际上原因很简单,我直接在子模块运行了 maven install,操作虽然是没错,但是在首次运行的时候,直接打包子模块是会出错的,需要先在父模块运行一次 maven install 。这样之后在子模块运行 maven install 就不会再报相关错误了。...原创 2018-07-06 11:05:21 · 2194 阅读 · 0 评论