K8S中pod在挂载volume FailedMount错误(exit status 32)
1.在application配置文件中使用@出现异常:Exception in thread "main" while scanning for the next tokenfound character '@' that cannot start any token. (Do not use @ for indentation)in 'reader', line 4, column 11:nam
1.在application配置文件中使用@出现异常:
Exception in thread "main" while scanning for the next token
found character '@' that cannot start any token. (Do not use @ for indentation)
in 'reader', line 4, column 11:
name: @project.artifactId@
代码:
info:
app:
name: @project.artifactId@
encoding: @project.build.sourceEncoding@
java:
source: @java.version@
target: @java.version@
解决方案,用单引号或双引号将@@之间的内容包起来:
info:
app:
name: "@project.artifactId@"
encoding: '@project.build.sourceEncoding@'
java:
source: '@java.version@'
target: '@java.version@'
2.K8S中pod在挂载volume时出现FailedMount错误(exit status 32)
node服务器安装nfs 离线安装手册 https://blog.csdn.net/sunyaoxjtu/article/details/102529797
更多推荐
所有评论(0)