
笔记
weixin_45503563
这个作者很懒,什么都没留下…
展开
-
Caused by: java.lang.NoClassDefFoundError: org/aspectj/lang/annotation/Pointcut异常
springboot 做spring Aop测试时发生下记异常。解决方案:导入aspectjweaver。原创 2022-12-15 16:42:52 · 3535 阅读 · 1 评论 -
将用户名从中文改为英文
将用户名从中文改为英文这是困扰了我很多年的问题,前几年搞过一次,但是有点担心,就放弃了,今天2021/11/04终于解决了!!!!如果网友要通过我这篇博文来做修改,请慎重,不保证后果。1、win + r → regedit → 确定2、找到路径:计算机\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList下几个S-1开头的文件夹里的ProfileImagePath值,将中文改为你的英文→我的已原创 2021-11-04 22:44:13 · 4659 阅读 · 5 评论 -
Element ‘web-app‘ cannot have character [children], because the type‘s content type is element-only.
Element ‘web-app’ cannot have character [children], because the type’s content type is element-only.好好看看你的配置文件里的注释是不是用到了"//"。原创 2021-11-04 21:20:11 · 291 阅读 · 0 评论 -
source在使用到别的工程下的类时报错
鼠标的光标放上去之后,会提示选择fix project setup 解决项目设置点击OK 类就被找到了原创 2021-06-29 14:18:47 · 101 阅读 · 0 评论 -
NoClassDefFoundError解消
Exception in thread “main” java.lang.NoClassDefFoundError: Could not initialize class XXX ClassLoader classLoader = JDBCUtils.class.getClassLoader(); URL res = classLoader.getResource("jdbc.properties"); String path = res.getPath(); System.out.prin原创 2021-06-22 19:24:36 · 74 阅读 · 0 评论 -
SHELL if判断-e,-f,-f,-L,-r,-w,-x,-s,-nt,-ot
filename为文件名-e (exist)-e filename, 判断文件是否存在-d (directory)-d filename,判断文件是否为目录-f (file)-f filename,判断文件是否为常规文件-L (link)-L filename,判断文件是否问链接文件-r (read)-r filename,判断文件是否可读-w (write)-w filename,判断文件是否可写-x (exec)-x filename,判断文件是否可执行-s (size)-s filen转载 2021-06-21 15:55:19 · 382 阅读 · 0 评论 -
创建文件及文件夹以及删除文件及文件夹
package com.hzh.Operation;import java.io.File;import java.io.IOException;/**@Description:@date: 2021年4月22日下午10:02:31*/public class FileOperation {public static void main(String[] args) { String filePath = "C:\\Users\\小太阳\\Desktop\\java\\wwwwww\\原创 2021-04-22 23:08:30 · 178 阅读 · 0 评论 -
命令行 beyond compare比较导出HTML
beyond compare比较导出HTMLdiff_to_html.txttext-report layout:side-by-side options:display-all, line-numbers output-to:“c:\ rep.html” output-options: wrap-word, html-color “c:\ before\qq.txt” c:\after\qq.txt"命令:BCompare.exe /silent @diff_to_html.txt my_file原创 2020-09-13 14:15:23 · 847 阅读 · 0 评论