谷粒商城 问题总结
- 路径中包含中文
D:/HashiCorp/Vagrant/embedded/gems/2.2.5/gems/childprocess-0.6.3/lib/childprocess/windows/process_builder.rb:43:injoin': incompatible character encodings: GBK and UTF-8 (Encoding::CompatibilityError) from D:/HashiCorp/Vagrant/embedded/gems/2.2.5/gems/childprocess-0.6.3/lib/childprocess/windows/process_builder.rb:43:in
create_command_pointer’
解决方法:
修改virtualBox默认虚拟电脑位置(需要包含Vagrantfile和.vagrant):
- 降低springboot和springcloud版本时,找不到对应版本
解决方法:更改Maven设置中的JDK和JRE版本
- SpringCloud GateWay创建 测试API网关时,启动失败
启动失败原因:导入了gulimall-common公共依赖,而gateway与spring-boot-starter-web和spring-boot-starter-webflux依赖冲突
解决方法:不要继承common,把注册和配置的依赖单独导入
5. Visual Studio Code 使用Live Server插件跑代码时,浏览器不会自动更新html内容的问题
解决方法:代码未保存:在vs code的设置中,设置自动保存,自动刷新成功。