Comments (1)
这个问题不确定是不是nacos的bug,报错原因是因为你电脑系统的编码是GBK, 而文件采用UTF-8编码导致。
该问题一般window系统才会出现。
如何检查系统的编码:
在Windows平台下,进入DOS窗口,输入:chcp
输出: 936,表示编码格式为GBK
解决方案(任选其一):
方案1: 修改你系统的默认编码
方案2: 在nacos中删除中文可以解决此问题
方案3: 在idea中启动项目时,因为 idea相关配置中设置UTF-8的文件编码格式file.encoding=utf-8。打包运行后,该设置需要手动指定,如下:
java -D'file.encoding=utf-8' -jar .\zuihou-gateway-server.jar
或者
java -Dfile.encoding=utf-8 -jar .\zuihou-gateway-server.jar
from lamp-cloud.
Related Issues (20)
- 无法在cloud上正确引入私服的jar包
- 无法通过postman请求登录认证 HOT 1
- 通过网关请求登录认证的时候,报参数类型解析异常
- Knife4j文档请求异常 HOT 1
- 前后端部署到腾讯云服务器 前后端访问路径不一致 HOT 1
- 后端启动的时候正常,前端刷新页面报系统繁忙,后台报Cause: java.sql.SQLSyntaxErrorException: Unknown column 'size' in 'field list' HOT 4
- 文档无法查看,报错! HOT 1
- Entity与SuperEntity未加注解@EqualsAndHashCode(callSuper = true)导致子类继承后即便加上该注解hashCode也不一致,调用.equals将返回false HOT 2
- 跨服务回显org时如果在redis中无相应key value将直接往redis插入key,null键值对,导致回显错误 HOT 4
- schema 模式下的多租户. seata 分布式事务问题. 回滚如何找到schema的. HOT 1
- searchFormSchema内定义一个solt 如何在BasicTable展示 ? HOT 2
- BasicTable columns内容多 表头和内容没有对齐 HOT 5
- 验证码接口404 HOT 8
- lamp-web前端代码无法安装依赖 HOT 2
- lamp-cloud如何同时插入三张表的数据 HOT 1
- 删除租户报错 HOT 1
- 企业版lamp-web-pro 4.13.0启动后访问报错 HOT 1
- lamp-boot-pro-datasource-column版本 登录日志和操作日志没有起作用 HOT 2
- ApiSelect HOT 6
- 无效的基本身份验证令牌 HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lamp-cloud.