Maven打包Failure executing javac, but could not parse the error:错误: 不支持的编码: UTF -8

版权声明: https://blog.csdn.net/Dongguabai/article/details/83182566

今天使用Maven打包的时候出现了这样的异常:

刚开始一头雾水,明明之前已经设置过是UTF-8了啊,怎么还出现不支持UTF -8,后来发现是这个compile中间多加了一个空格:

更改后重新package即可。

猜你喜欢

转载自blog.csdn.net/Dongguabai/article/details/83182566