- 博客(18)
- 资源 (2)
- 收藏
- 关注
原创 python爬虫request: raise TooManyRedirects异常
1、问题Traceback (most recent call last):......raise TooManyRedirects('Exceeded {} redirects.'.format(self.max_redirects): Exceeded 30 redirects.2、解决通常每个浏览器都设置redirect数,因为redirect太大,容易造成CPU耗尽,所以redirect几次就会被强制中止关闭redirect(重定向)加上参数allow_redirec...
2020-06-26 21:53:06
4193
1
原创 The server time zone value '�й���ʱ��' is unrecognized or represents more than one time zone.
1.错误在做maven +springboot + mybatis 项目 连接数据库报错Caused by: com.mysql.cj.exceptions.InvalidConnectionAttributeException: The server time zone value '�й���ʱ��' is unrecognized or represents more than ...
2019-08-28 17:32:44
1384
原创 BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the...
问题java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext at org.springframework.context.support.AbstractRef...
2019-05-17 16:09:49
754
1
原创 Failed to check the status of the service com.pinyougou.cart.service.CartService No provider availa
Servlet.service() for servlet [springmvc] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root causejava.lang.Nu...
2019-03-15 22:43:52
533
原创 Serialized class com.XXX.pojo.TbSpecification must implement java.io.Serializable] with root cause
1.问题cause: Serialized class com.XXX.pojo.TbSpecification must implement java.io.Serializable] with root causejava.lang.IllegalStateException: Serialized class com.XXX.pojo.TbSpecification must im...
2019-03-15 22:42:34
4040
原创 Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanInitializat
1.问题Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanInitializat...2.问题分析在写的时候,27行报空指针异常,只能是specificationService是空指针,可能specificationService对象没有交给spring管理...
2019-03-15 22:20:13
8247
原创 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userServiceI
1.错误org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userServiceImpl': Injection of autowired dependencies failed; nested exception is org.mybatis.spring.MyBa...
2019-03-04 20:19:47
1999
原创 ORA-02292: 违反完整约束条件
1.问题Type Exception ReportMessage Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException:Description The server encountered an unexpected condition...
2019-03-02 16:43:04
2433
原创 The server cannot or will not process the request due to something that is perceived to be a client.
1.错误2.错误分析Bad Request,原因可能为form表单中无enctype="multipart/form-data"3.解决方式加入 enctype="multipart/form-data" 后,解决问题。
2019-03-02 16:31:44
1809
原创 org.springframework.web.util.NestedServletException: Request processing failed; nested exception...
1.错误:HTTP Status 500 – Internal Server ErrorType Exception ReportMessage Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache....
2019-03-01 16:49:01
12235
原创 【Intellij idea】编写代码如何在方法之间加入一条分割线
【File】→【Settings...】→【Editor】→【General】→【Appearance】→【Show method separators】
2019-03-01 16:16:17
840
原创 使用Mybatis添加用户时报:Setting autocommit to false on JDBC Connection
2019-01-24 15:18:13,391 0 [ main] DEBUG ache.ibatis.logging.LogFactory - Logging initialized using 'class org.apache.ibatis.logging.log4j.Log4jImpl' adapter.2019-01-24 15:18:13,632 2...
2019-01-24 21:14:02
3076
原创 idea执行时报“无效的发行版:9”
JDk版本和项目配置的不一致:Flie ——> Project Stricture... ——> Project language level如果是jdk8,把anguage level设置为8;如果是jdk9,把anguage level设置为9。...
2018-11-10 20:07:04
1071
转载 idea中进行运行时报错:Cannot start compilation:the output path is not specified for module spcify the...
https://m.th7.cn/show/4/201703/1140250.html
2018-11-10 19:59:37
1441
原创 Python安装与运行
安装到官网www.python.org下载。(点击Downloads,右侧会根据系统推荐;或者点击Windows进入下载页面,新手推荐最新版本,例如选择Latest Python 3 Release - Python 3.7.0,再选择Windows ×86-64 executable installer下载) 安装,打开刚下载的安装文件,点击Customize installation自定...
2018-09-30 14:55:56
440
原创 Myeclipse设置
字体大小:窗口(Window)→首选项(Preferences)→常规(General)→外观(Appearence)→颜色与字体(Colors And Fonts),在右边的对话框里选择Java - Java Editor Text Font,点击出现的修改(Change)按钮,可以设置显示在在主窗体中程序的字体大小,设置完之后点击右下角的应用(Apply),最后点击确定(OK)即可。 编辑区背...
2018-07-10 19:06:43
262
原创 Java环境变量的配置及出现的问题
JDK1.8.0_121win7安装jdk,安装过程中会出现两次安装提示 。第一次是安装jdk,第二次是安装jre,选择安装目录(建议默认)。其它选项默认即可。安装完JDK后开始配置环境变量:右键计算机→属性→高级系统设置→高级→环境变量。在“系统变量”选项区域中配置:(1)新建 在变量名填写:JAVA_HOME在变量值填写:C:\Program Files\Java\jdk1.8.0_121(...
2018-07-09 19:04:24
415
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人