上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 26 下一页

2022年8月25日

摘要: 1. 使用Maven打包项目的时候遇到如下问题:缺少web.xml文件 webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode) 2.解决方案: 在pom.xml文件中定义一个 阅读全文
posted @ 2022-08-25 21:21 scrutiny-span 阅读(2361) 评论(0) 推荐(0)
 
摘要: 问题 使用Maven创建web工程的时候,创建出来的web.xml版本有问题。 临时解决方案 将在Tomcat安装目录下的webapps/ROOT/WEB-INF下的web.xml替换项目下的web.xml 阅读全文
posted @ 2022-08-25 21:20 scrutiny-span 阅读(52) 评论(0) 推荐(0)
 
摘要: 问题 解决方案 删除node_modules文件夹 执行npm install下载依赖包 npm run serve运行 阅读全文
posted @ 2022-08-25 21:18 scrutiny-span 阅读(73) 评论(0) 推荐(0)
 
摘要: 问题 解决方案 修改node_modules\@babel\helper-compilation-targets\package.json文件下的exports配置。 { "exports": { ".":"./lib/index.js" }, } 阅读全文
posted @ 2022-08-25 21:17 scrutiny-span 阅读(389) 评论(0) 推荐(0)
 
摘要: 问题描述 解决方案 将ssh下载方式替换成https git config --global url."https://".insteadOf ssh://git 下载 npm install --registry=https://registry.npm.taobao.org 阅读全文
posted @ 2022-08-25 21:15 scrutiny-span 阅读(143) 评论(0) 推荐(0)
 
摘要: 问题描述 解决方案 在控制面板=》用户账户=》Windows凭据中修改配置信息 阅读全文
posted @ 2022-08-25 21:13 scrutiny-span 阅读(89) 评论(0) 推荐(0)
 
摘要: 参考 认证和授权是SpringSecurity作为一个安全框架的核心功能。 快速入门 导入依赖 // spring security <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-st 阅读全文
posted @ 2022-08-25 21:09 scrutiny-span 阅读(85) 评论(0) 推荐(0)
 
摘要: 参考视频 SpringIOC控制反转(Inverse of Control) IOC的概念:控制反转就是对对象控制权的转移,从程序代码本身反转到了外部容器。通过容器实现对象的创建,属性赋值,依赖的管理。 IOC的实现方式:IOC的实现方式多种多样,当前比较流行的实现方式是==依赖 注入(DI)。== 阅读全文
posted @ 2022-08-25 21:05 scrutiny-span 阅读(72) 评论(0) 推荐(0)
 
摘要: springboot默认的缓存管理 常用的缓存注解 @EnableCaching:在类上使用,表示使用基于注解的方式进行缓存管理 @Cacheable:用在类或者方法上。 该注解用在方法上时,在方法执行前,先根据key在缓存中查询是否有key对应的value值,有的话不执行目标方法;没有则执行目标方 阅读全文
posted @ 2022-08-25 20:55 scrutiny-span 阅读(492) 评论(0) 推荐(0)
 
摘要: slf4j简介 slf4j是对所有日志框架制定的一种规范、标准、接口,而不是一个框架的具体实现。 springboot集成slf4j的简单示例 springboot内部已经集成slf4j。 @SpringBootApplication public class Slf4jDemoApplicatio 阅读全文
posted @ 2022-08-25 20:41 scrutiny-span 阅读(902) 评论(0) 推荐(0)
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 26 下一页