
java
文章平均质量分 71
lbl_lambert
我愿陪你仗剑走天涯
展开
-
JAVA类加载器一些实用技巧
1、如何排找不到Jar包的问题?有时候我们会面临明明已经把某个jar加入到了环境里,可以运行的时候还是找不到。那么我们有没有一种方法,可以直接看到各个类加载器加载了哪些jar,以及把哪些路径加到了classpath里?答案是肯定的,代码如下:package jvm;import java.lang.reflect.Field;import java.net.URL;import java.net.URLClassLoader;import java.util.ArrayList;publi原创 2022-04-06 20:45:09 · 212 阅读 · 0 评论 -
maven 报错 The goal you specified requires a project to execute but there is no POM in this directory
安装jar到本地maven仓库命令时使用mvn install:install-file -DgroupId=xxxx -DartifactId=xxxxx -Dversion=1.8 -Dpackaging=jar -Dfile=xxxx -DgeneratePom=true在centos7的系统上会可能出现报错 The goal you specified requires a project to execute but there is no POM in t原创 2020-11-05 16:10:34 · 6367 阅读 · 0 评论 -
扩展mybatis generator 插件根据字段注释生成常量及整合Lombok
springboot扩展mybatis generator 插件根据字段注释生成常量及整合Lombok原创 2020-01-08 16:49:03 · 1094 阅读 · 0 评论