Spring Boot
鱼巷、猫未随
但行好事,莫问前程。
展开
-
解决:The type org.springframework.context.ConfigurableApplicationContext cannot be resolved.
在STS中运行Spring Boot项目时,报以下错误提示信息:↓解决方案:步骤1、找到项目的pom.xml文件所在路径,在该目录下运行cmd命令行(即:要确保你的pom.xml与你的命令行在同一个目录中)运行命令 mvn dependency:purge-local-repository等待大约15分钟左右,会出现构建成功的消息。步骤2、删除本地资源库(路径为:C:\U...原创 2019-08-03 15:26:58 · 2535 阅读 · 4 评论 -
自己编写阿里云settings.xml
打开一个空记事本,复制粘贴下列代码:package cn.lk.wjyl.dao;import java.sql.SQLException;import java.text.SimpleDateFormat;import java.util.Date;import java.util.List;import org.apache.commons.dbutils.QueryRun...原创 2019-08-03 15:46:11 · 372 阅读 · 0 评论 -
STS解决“Archive for required library: ...”错误
报错:Archive for required library: 'C:/Users/dell/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/9.0.21/tomcat-embed-core-9.0.21.jar' in project 'demo1' cannot be read or is not a valid ZIP ...原创 2019-08-03 16:13:50 · 1552 阅读 · 0 评论 -
浅谈关于shiro——SimpleAuthenticationInfo中的参数
/** * 执行认证逻辑 */ @Override protected AuthenticationInfo doGetAuthenticationInfo(AuthenticationToken arg0) throws AuthenticationException { System.out.println("执行认证逻辑"); ...原创 2019-09-20 09:19:00 · 10840 阅读 · 7 评论