随笔分类 - 开发工具
摘要:背景: 在ruoyi-admin的pom.xml引入了junit的依赖配置,如下: <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13.2</version> <scope>test</
阅读全文
摘要:参考资料: https://zhuanlan.zhihu.com/p/186214575 https://blog.csdn.net/huanglu0314/article/details/118487580
阅读全文
摘要:参考资料: https://www.cnblogs.com/binghe021/p/16189722.html
阅读全文
摘要:在Windows下安装nvm可以参考这里https://www.jianshu.com/p/cce91f3bb181 nvm安装完成以后,需要进行配置,具体步骤如下: nvm list available nvm install 16.12.0 nvm use 16.12.0 在执行 nvm use
阅读全文
摘要:参考资料: https://www.cnblogs.com/ibigboy/p/11124524.html
阅读全文
摘要:在pom.xml里添加如下依赖: <!-- flyway 开始 --> <dependency> <groupId>org.flywaydb</groupId> <artifactId>flyway-core</artifactId> </dependency> <!-- flyway 结束 -->
阅读全文
摘要:背景: 如果不把session存储到redis里,而是采用传统的方式,在前后端分离的项目中,会出现获取不到session的情况 String verificationCodeIn = (String) httpServletRequest.getSession().getAttribute(veri
阅读全文
摘要:背景: spring boot 2.1.0 集成 kafka,报错:[org.springframework.kafka.annotation.KafkaListenerAnnotationBeanPostProcessor]: Constructor threw exception; nested
阅读全文
摘要:<!-- redis --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> <version>2.1.0.RELEASE
阅读全文
摘要:<!-- spring session --> <dependency> <groupId>org.springframework.session</groupId> <artifactId>spring-session-data-redis</artifactId> </dependency>
阅读全文
摘要:一、引入kafka依赖: <!-- kafka 依赖 开始 --> <dependency> <groupId>org.springframework.kafka</groupId> <artifactId>spring-kafka</artifactId> </dependency> <depen
阅读全文
摘要:背景: 如果要使用@ApiOperation注解,需要引入swagger,而不是引入OpenAPI。 在父工程的pom.xml里添加swagger的依赖: <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagg
阅读全文
摘要:如果是父子模块,可以把下面的配置添加到父模块的pom.xml <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <optional>true</
阅读全文
摘要:在父项目的pom.xml里添加如下依赖: <dependency> <groupId>org.springdoc</groupId> <artifactId>springdoc-openapi-ui</artifactId> <version>1.6.4</version> </dependency
阅读全文
摘要:背景: 因为使用的是laravel 8,下面这个不支持laravel 8 composer require mpociot/laravel-apidoc-generator 改用下面的 composer require --dev knuckleswtf/scribephp artisan vend
阅读全文
摘要:tar -czvf test.tar.gz --exclude=test/.node_modules test/ 参考资料: https://blog.51cto.com/meiling/2385324
阅读全文
摘要:一、安装compodoc npm install --save-dev @compodoc/compodoc 没有使用全局安装,生成文档的时候,需要执行 ./node_modules/.bin/compodoc -p tsconfig.app.json -s -r 9000 编辑package.js
阅读全文
摘要:RedisInsight https://redis.com/redis-enterprise/redis-insight/
阅读全文

浙公网安备 33010602011771号