
笔记
伤心的咸鱼君
这个作者很懒,什么都没留下…
展开
-
IDEA中项目中根据不同配置文件,启用不同的端口(Eureka篇)
打开program arguments, 输入--spring.profiles.active=eureka1, --spring.profiles.active是固定写法,eureka1是对应yml文件的名字。以eureka服务中心配置文件为例,创建2个不同的配置文件,继承application.yml。加上对应不同的端口,这样就实现了,同一个项目中,使用不同的端口去跑不同的配置文件。接着点击idea右上角的Edit Configurations。然后同理在刚刚复制的配置中。紧接着复制一份配置文件。原创 2022-10-22 21:06:52 · 761 阅读 · 0 评论 -
Vue3x+ElementPlus的按需引入
在vue.config.js中 configureWebpack: { plugins: [ AutoImport({ resolvers: [ElementPlusResolver()], }), Components({ resolvers: [ElementPlusResolver()], })] }然后在原创 2022-05-11 07:06:25 · 328 阅读 · 0 评论 -
Caused by: org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file -
springboot聚合项目出现报错Caused by: org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: file [C:\Users\ClayAwky\Desktop\VPN Website\VPN-management\vpn-a原创 2022-05-10 22:29:30 · 1556 阅读 · 0 评论 -
- options has an unknown property ‘data‘. These properties are valid: object { implementation?,
Vue.config.js报错Syntax Error: ValidationError: Invalid options object. Sass Loader has been initialized using an options object that does not match the API schema.- options has an unknown property 'data'. These properties are valid: object { implemen...原创 2022-05-10 22:23:32 · 1710 阅读 · 0 评论