Stella981 Stella981
4年前
IDEA集成Maven
4\.IDEA集成Maven1.目标能够掌握IDEA配置本地Maven2.路径1.在IDEA配置Maven2.配置默认的Maven环境3.讲解3.1配置Maven3.1.1更改idea打开新项目默认配置
Stella981 Stella981
4年前
Spring Boot2.0 Oauth2 服务器和客户端配置及原理
一、应用场景为了理解OAuth的适用场合,让我举一个假设的例子。有一个"云冲印"的网站,可以将用户储存在Google的照片,冲印出来。用户为了使用该服务,必须让"云冲印"读取自己储存在Google上的照片。问题是只有得到用户的授权,Google才会同意"云冲印"读取这些照片。那么,"云冲印"怎样获得用户的授权呢?传统方法是,用户
Stella981 Stella981
4年前
Quartz结合SPRING多任务定时调用
public class QuartzJob {      public void work()      {              System.out.println(Spring Quartz的任务调度1被调用!");              //定时调用的业务逻辑      }
Easter79 Easter79
4年前
Spring的事务传播行为
先举一个Spring的嵌套例子ServiceA {    void methodA() {        ServiceB.methodB();    }}ServiceB {    void methodB();}事务传播属性可以在@Trans
Stella981 Stella981
4年前
More than one fragment with the name [spring_web] was found. This is not legal ...
 今天在搭建springweb应用环境的时候启动tomcat报错Morethanonefragmentwiththename\spring\_web\wasfound.Thisisnotlegal...···Causedby:java.lang.IllegalArgumentException:Mo
Stella981 Stella981
4年前
Linux学习26
前言在linux上查找日志的时候,如果我想找出某个时间段的日志,比如查找今天早上8点到下午2点的日志。用grep不太方便直接过滤出来,可以使用sed根据时间去查找sedn'/开始时间日期/,/结束时间日期/p'all.log查找日志比如下面这段日志,前面的时间格式都是类似2019102107:44:20
Wesley13 Wesley13
4年前
Java Spring用properties配置数据库连接池出现错误的处理方法[图]
错误org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:Line17inXMLdocumentfromclasspathresourcedbconfig.xmlisinvalid;nestedexceptionisorg.