![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
编程过程中的问题
编程过程中的问题及解决方案。
airyv
一名兴趣使然学习编程的学生。
展开
-
Markdown编辑公式错误ParseError: KaTeX parse error: {align} can be used only in display mode
问题描述编辑公式:$\begin{align} & \sum\limits_{i=1}^{n}{k=\frac{1}{2}}n(n+1) \\ & \text{ }=\Theta ({{n}^{2}}) \\ \end{align}$Markdown报错:ParseError: KaTeX parse error: {align} can be used only in display modeCSDN报错:KaTeX parse error: No such原创 2022-03-29 23:05:49 · 3018 阅读 · 1 评论 -
hexo INFO Validating config错误解决方案以及hexo部署到github主页404打不开解决方案
搭建博客主要参考CodeSheep的视频:手把手教你从0开始搭建自己的个人博客 |无坑版视频教程| hexo以及雨落弦鸣的视频:超简单效果超好的个人网站博客搭建(对小白很友好)首先安装nodejs和git环境nodejs环境搭建教程:nodejs下载安装及配置环境git搭建教程:Windows系统Git安装教程(详解Git安装过程)最开始采用CodeSheep的教程,开始比较顺利。首先换成淘宝源npm install -g cnpm --registry=https:registry.npm.t原创 2020-12-19 16:43:30 · 9864 阅读 · 12 评论 -
FASTDFS启动storage服务卡死,没反应,日志报错连接超时解决方法
FASTDFS启动tracker时没问题,安装storage服务时一直没反应,打开日志,错误信息如下:ERROR - file: storage_ip_changed_dealer.c, line: 180, connect to tracker server 121.40.177.15:22122 fail, errno: 110, error info: Connection timed out解决方法:关闭防火墙即可,cento7代码如下service firewalld stopps:连原创 2021-05-31 16:14:12 · 2518 阅读 · 3 评论 -
junit测试时报No runnable methods错误
导包错误import org.junit.jupiter.api.Test;报错:修改为:import org.junit.Test;即可正常运行。原创 2021-05-30 11:23:53 · 144 阅读 · 0 评论 -
报错This application has no explicit mapping for /error
完整错误:Whitelabel Error PageThis application has no explicit mapping for /error, so you are seeing this as a fallback.Sat May 29 20:07:50 CST 2021There was an unexpected error (type=Not Found, status=404).运行时出现了这个错误,认真检查后发现路径填错了。@RequestMapping(“xxx”) ,原创 2021-05-29 20:14:44 · 219 阅读 · 0 评论 -
spring-boot-maven-plugin标红,出错的解决方法
加入版本号即可,可用everything搜索spring-boot-maven-plugin,然后添加版本号,例如:2.2.5.RELEASE。原创 2021-05-08 22:09:23 · 472 阅读 · 0 评论 -
IDEA spring.xml文件提示错误Element property is not allowes here
property变红,提示Element property is not allowes here,这种情况可能是代码敲错了错误情况如图:多打了一个“/”符号,去掉就ok了。原创 2020-12-08 19:18:58 · 4324 阅读 · 2 评论 -
Mardown Preview预览代码块中出现<p data-line=“xxx“ class=“sync-line“ style=“margin:0;“></p>
在Mardown Preview Enhanced的预览框中出现<p data-line="xxx" class="sync-line" style="margin:0;"></p>的代码块解决方法:开头出现,则在代码上面的```前面加空格,若在末尾出现,则在代码末尾的```前面加空格...原创 2020-09-14 16:43:36 · 2488 阅读 · 11 评论 -
IDEA中提示问题 Warning:java: 源值1.5已过时, 将在未来所有发行版中删除
问题描述:运行Java Web项目时,IDEA中提示:Warning:java: 源值1.5已过时, 将在未来所有发行版中删除解决方法:打开【File】—【Project Structure】 java版本对应上。2.打开【File】—【Settings】,找到【Java Compiler】,将两处版本对应上。...原创 2020-09-13 15:27:22 · 375 阅读 · 0 评论 -
Invalid content was found starting with element ‘dependency‘
解决方案:你应该将你的dependencies放入每一个单独的<dependency>标签中,他们需要拥有独立的<dependency>标签,然后用<dependencies>标签包围。for example:<dependencies> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</原创 2020-09-13 10:04:54 · 1860 阅读 · 2 评论 -
IDEA通过Maven创建项目一直卡在Running C:\Users\Administrator\AppData\Local\Temp\archetype1tmp
在IDEA中通过maven项目管理工具创建javaweb项目的时候一直卡在了Running C:\Users\Administrator\AppData\Local\Temp\archetype1tmp 这一步。由于默认情况下,根据archetype创建maven项目会从网络下载catalog文件,导致创建maven项目缓慢Searching for remote catalog: http://repo1.maven.org/maven2/archetype-catalog.xml解决方法:修改s原创 2020-09-12 20:58:48 · 965 阅读 · 0 评论