
异常错误处理
学习过程中,异常错误记录,及异常错误解决方法。
Mr.D.Chuang
时代各有不同,青春一脉相承。一起学习,一起奋进,一起进步,砥砺前行。
展开
-
Spring Boot打包报错Failed to execute goal org.apache.maven.pluginsmaven-resources-plugin:3.2.0
Spring Boot打包报错[ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-resources) on project helloworld: Input length = 1 -> [Help 1]原创 2023-12-16 21:08:24 · 742 阅读 · 0 评论 -
java错误:不支持发行版本5
在idea中创建一个Maven项目,运行项目时报:java: 错误: 不支持发行版本 5!打开Project Structure ,查询Modules的项目jdk版本,发现项目中所有的模块的都变成了5了。打开File -> Settings -> Buiild,Execution,Deployment -> Compiler -> java compiler,版本也变成了5。将这个两个地方jdk版本都修改成自己使用的版本,然后保存,就能正常使用了。原创 2022-12-24 20:20:30 · 10227 阅读 · 7 评论 -
报错:org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 19
今天开发SpringMVC项目时,导入jackson-databind jar包依赖后报错。错误信息为:org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 19异常报错原因:tomcat插件的版本过低,jackson-databind 依赖版本高了。解决方法:方法一:降低jackson-databind 依赖版本;方法二:使用高版本的tomcat。原创 2022-11-04 23:08:10 · 3275 阅读 · 0 评论 -
TortoiseGit clone项目时报错:No supported authentication methods available (server sent: publickey)
TortoiseGit clone项目时报错:No supported authentication methods available (server sent: publickey)原创 2022-10-23 15:38:13 · 12590 阅读 · 3 评论