出错解决方案
文思湧
码奴生来就只知道前进!
展开
-
OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exe
tomcat镜像无法使用ip addr命令原创 2022-11-07 17:14:35 · 1954 阅读 · 0 评论 -
minikube拉取镜像失败、安装慢、无法启动apiserver,一条命令解决
minikube安装出错解决方案原创 2022-11-05 18:22:25 · 3578 阅读 · 0 评论 -
springmvc运行com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: 1字节的 UTF-8 序列的
在我编写的spring-mvc.xml有中文注释,可能会乱抛出异常,可以在pom.xml中配置项目编码属性即可解决。<properties><project.build.sourceEncoding>UTF-8</project.build.sourceEncoding></properties>原创 2022-05-13 10:32:06 · 167 阅读 · 0 评论 -
selenium.common.exceptions.SessionNotCreatedException: Message: session not created
我这不是版本兼容问题,可能是我当初安装谷歌浏览器的时候没有选择默认安装路径,所以还需要添加环境配置,在这里我们直接重装谷歌浏览器https://chrome.xahuapu.net/version/5.html下载对应的驱动放到python根目录https://registry.npmmirror.com/binary.html?path=chromedriver/编写一个py程序然后启动# 导包 from selenium import webdriverfrom time import.原创 2022-02-05 19:42:57 · 1034 阅读 · 0 评论 -
无法跳转jsp页面 JSP file [/WEB-INF/jsp/index.jsp] not found
可能是模块建立的问题,将一个springboot模块建立在另一个模块之中,在启动运行的时候,系统又有先使用外部模块的配置信息,如图配置$MODULE_WORKING_DIR$原创 2022-01-16 01:12:16 · 2500 阅读 · 0 评论 -
springboot配置视图解析器无法跳转
Whitelabel Error PageThis application has no explicit mapping for /error, so you are seeing this as a fallback.Mon Sep 27 20:12:06 CST 2021There was an unexpected error (type=Not Found, status=404).JSP file [/WEB-INF/jsp/index.jsp] not found报错了,要注册web原创 2021-09-27 20:14:29 · 239 阅读 · 0 评论 -
ERROR: Could not open requirements file: [Errno 2] No such file or directory: ‘requirement.txt‘
pip freeze > requirement.txtpip install -r requirment.txt还出错就先执行pip install mesa然后重复操作原创 2021-08-05 19:02:11 · 4381 阅读 · 3 评论 -
org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert val
org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Long'; nested exception is java.lang.NumberFormatException: For input string: "null" at org.sprin原创 2021-07-26 20:28:18 · 2409 阅读 · 0 评论 -
java.lang.IllegalArgumentException: Invalid character found in method name [d0x000x000x00_0x0d0x000x
启动SpringBoot项目报错java.lang.IllegalArgumentException: Invalid character found in method name [d0x000x000x00_0x0d0x000x我的原因是可能是端口占用问题,之前运行了其他项目导致出错,重启计算机就没错了原创 2021-07-23 21:04:03 · 1098 阅读 · 0 评论 -
A component required a bean of type ‘com.example.demo.repository.PhoneTypeRepository‘ that could not
Description:A component required a bean of type ‘com.example.demo.repository.PhoneTypeRepository’ that could not be found.Action:Consider defining a bean of type ‘com.example.demo.repository.PhoneTypeRepository’ in your configuration.出现这种请况有多种原因我是删除掉这原创 2020-11-18 22:37:22 · 564 阅读 · 0 评论 -
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.mapper.UserMapp
在我这里出错的原因是XML配置文件有错正确写法: <build> <resources> <resource> <directory>src/main/resources</directory> <includes> <include>**/*.properties&l.原创 2020-10-25 09:51:27 · 119 阅读 · 0 评论 -
Cause: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
Cause: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure把连接数据库的userSSL得改为false,我用的是MySQL5.7,8.0就要是true原创 2020-10-03 11:01:33 · 241 阅读 · 0 评论