![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java遇错合集
将我们前进路上的bug全部消灭!!!
★半岛铁盒
唯有心如止水,方能气贯长虹!
展开
-
【Java遇错】Error: failed to initialize Sentinel CommandCenterLog
Error: failed to initialize Sentinel CommandCenterLog原创 2023-07-08 22:50:17 · 670 阅读 · 0 评论 -
【Java遇错】Exception evaluating SpringEL expression: “orderConfirmData.address“ (template: “confirm“...
Exception evaluating SpringEL expression: "orderConfirmData.address"原创 2023-06-27 16:33:16 · 237 阅读 · 0 评论 -
【debug】idea中启用debug不成功
idea中启用debug不成功原创 2023-06-05 18:02:30 · 1822 阅读 · 1 评论 -
【谷粒商城遇错】谷粒商城遇错及解决办法合集
谷粒商城遇错及解决办法合集原创 2023-04-03 16:25:31 · 1142 阅读 · 0 评论 -
【前端遇错】DevTools 无法加载 SourceMap 错误:状态代码 404,net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools 无法加载 SourceMap: 无法加载 http://****/static/rooted/js/jquery.min.map: 的内容HTTP 错误:状态代码 404,net::ERR_HTTP_RESPONSE_CODE_FAILURE原创 2023-03-24 18:11:21 · 4109 阅读 · 0 评论 -
谷粒商城-人人开源项目allowedOriginPatterns(java.lang.String)找不到符号 --已解决
谷粒商城-人人开源项目allowedOriginPatterns(java.lang.String)找不到符号 --已解决转载 2023-03-04 15:33:39 · 618 阅读 · 0 评论 -
报错:You may use special comments to disable some warnings. Use // eslint-disable-next-line to ignore
You may use special comments to disable some warnings.Use // eslint-disable-next-line to ignore the next line.Use /* eslint-disable */ to ignore all warnings in a file.转载 2023-03-02 17:38:13 · 331 阅读 · 0 评论 -
【Java遇错】Correct the classpath of your application so that it contains a single, compatible version..
Correct the classpath of your application so that it contains a single, compatible version of com.baomidou.mybatisplus.core.toolkit.ReflectionKit(更正应用程序的类路径,使其包含com.baomidou.mybatisplus.core.toolkit.ReflectionKit的单个兼容版本)原创 2023-02-24 18:58:26 · 847 阅读 · 2 评论 -
【MySQL】解决2003-Can‘t connect to MySQL server on ‘XXX‘(10038)
2003-Can't connect to MySQL server on 'XXX'(10038)原创 2023-01-10 21:37:53 · 2762 阅读 · 0 评论 -
【XML】——CDATA区
如果xml文档中包含一段Java程序,这段代码又包含很多特殊符号,这时候如果对每个特殊符号都是用预定义实体,则也太麻烦了,这时候就出现了CDATA区,在这个区中的代码,解释器将会忽略,全部以原始形式显示。语法:<![CDATA[...]]><?xml version="1.0" encoding="UTF-8"?><java> <![CDATA[ if(a>b){ System.out.print(true); }else{ Sys转载 2021-05-26 15:01:05 · 275 阅读 · 0 评论 -
Maven分模块开发,执行指令失败:‘modules.module[5]‘ specifies duplicate child module health_jobs @ line 16, column
问题描述:Maven工程分模块开发完成 父工程执行install命令后控制台报出以下错误:问题分析:在父工程的pom.xml 文件中,指定了重复了子模块 <module>health_jobs</module>问题解决:直接将重复的部分删除即可正常运行Maven命令如图:...原创 2022-03-21 22:29:06 · 599 阅读 · 0 评论 -
【Windows cmd命令】Windows cmd命令 ‘mvn‘ 不是内部或外部命令,也不是可运行的程序 或批处理文件
问题描述:Windows cmd命令中输入mvn -version 然后显示: 'mvn' 不是内部或外部命令,也不是可运行的程序 或批处理文件问题解决:1.找到M2_HOME查看是否路径中带有bin(有的是在MAVEN_HOME中查看)2.如果带有bin,则把系统变量的path中的bin删掉3.如果1中路径没有带bin,则在2中添加成为%M2_HOME%\bin4.配置好后把cmd窗口关闭,重新打开进行测试(成功)...原创 2022-03-11 22:52:00 · 4427 阅读 · 0 评论 -
【JavaWeb-遇错】浏览器报错:$未定义; IDEA里如何正确引入并使用JQuery
问题:IDEA 引入JQuery 后,IDEA中没有报错,但是运行后功能无法实现!按F12 浏览器提示 $ 未定义。解决方法:方法一:同时引入服务器端js和本地js<head> <title></title> <script src="http://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo原创 2021-12-22 17:06:36 · 812 阅读 · 0 评论 -
【JavaWeb-遇错】继承或者实现Servlet相关时总是报红或者包导不进来
Servlet相关一、实现Servlet方法时候,import不进来二、@WebServlet需要引入的依赖包一、实现Servlet方法时候,import不进来问题描述:在实现这个Servlet时,使用import来导入Servlet,但是不能成功,一直找不到public class StudentServlet implements Servlet{}问题解决:先把这个复制过去,然后看错误提示进行修改。之后就不报红了,而且也导入进来了import javax.servlet.*;二、@原创 2021-12-21 18:20:09 · 1854 阅读 · 0 评论 -
Intellij中出现:Diamond types are not supported at this language level
Intellij中出现:Diamond types are not supported at this language level解决方法:原创 2021-09-07 22:19:48 · 56 阅读 · 0 评论