在setttins.xml文件中找到<mirrors></mirrors>标签对,进行修改: 1 <mirrors> 2 <mirror> 3 <id>nexus-aliyun</id> 4 <mirrorOf>*</mirrorOf> 5 <name>Nexus aliyun</name> 6 < ...
分类:
其他好文 时间:
2020-11-26 15:05:05
阅读次数:
6
如何使用eclipse使用Maven Maven Eclipse Eclipse 提供了一个很好的插件 m2eclipse ,该插件能将 Maven 和 Eclipse 集成在一起。 在最新的 Eclipse 中自带了 Maven,我们打开,Windows->Preferences,如果会出现下面的 ...
分类:
系统相关 时间:
2020-11-26 15:03:00
阅读次数:
7
一、SpringBoot日志 选用 SLF4j(接口)和 logback(实现类),除了上述日志框架,市场上还存在 JUL(java.util.logging)、JCL(Apache Commons Logging)、Log4j、Log4j2、SLF4j、jboss-logging 等。Spring ...
分类:
编程语言 时间:
2020-11-25 13:00:13
阅读次数:
14
加上aliyun的镜像地址,我的maven setting.xml 里完整镜像地址如下: <mirrors> <mirror> <id>alimaven</id> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content ...
分类:
编程语言 时间:
2020-11-25 12:28:47
阅读次数:
4
<dependency> <groupId>com.demo</groupId> <artifactId>demo</artifactId> <version>1.0.1-SNAPSHOT</version> <scope>system</scope> <systemPath>${basedir}/ ...
分类:
编程语言 时间:
2020-11-25 12:05:27
阅读次数:
6
mvn install:install-file -Dfile='绝对路径' -DgroupId='包名' -DartifactId='项目名' -Dversion='版本' -Dpackaging='jar/war' 其中: 绝对路径:文件的绝对路径,“\” 或者“/” 都行,一般用“/”; 包名 ...
分类:
其他好文 时间:
2020-11-24 12:25:14
阅读次数:
8
mvn install:install-file -Dfile=D:/anzhuang/PC_RFID.jar -DgroupId=com.dr -DartifactId=pcrfid -Dversion=1.0 -Dpackaging=jar -Dfile=D:/anzhuang/PC_RFID. ...
分类:
编程语言 时间:
2020-11-24 12:07:12
阅读次数:
11
<!--在build中配置resources,来防止我们资源导出失败的问题--> <build> <resources> <resource> <directory>src/main/resources</directory> <includes> <include>**/*.properties< ...
分类:
其他好文 时间:
2020-11-23 12:17:28
阅读次数:
4
1. 简介 Java解析、生成Excel比较有名的框架有Apache poi、jxl。但他们都存在一个严重的问题就是非常的耗内存,poi有一套SAX模式的API可以一定程度的解决一些内存溢出的问题,但POI还是有一些缺陷,比如07版Excel解压缩以及解压后存储都是在内存中完成的,内存消耗依然很大。 ...
分类:
编程语言 时间:
2020-11-23 11:47:07
阅读次数:
8
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.s ...
分类:
其他好文 时间:
2020-11-21 12:42:43
阅读次数:
29