org.yaml.snakeyaml.scanner.ScannerException: while scanning for the next token
问题描述:
spring:profiles:active: @activatedProperties@
在yml读取pom.xml中定义的 profile变量
<profiles><!-- 开发环境 --><profile><id>dev</id><properties><activatedProperties>dev</activatedProperties></properties></profile></profiles>
错误描述:
Caused by: org.yaml.snakeyaml.scanner.ScannerException:
while scanning for the next token found character '@' that cannot start any token.(Do not use @ for indentation)
解决方法:
在右侧的maven栏中重新reload的一下就行了
org.yaml.snakeyaml.scanner.ScannerException: while scanning for the next token相关推荐
- org.yaml.snakeyaml.scanner.ScannerException: while scanning for the next token found character ‘@‘
一.解析yaml报错 报错信息: Application run failed org.yaml.snakeyaml.scanner.ScannerException: while scanning ...
- org.yaml.snakeyaml.scanner.ScannerException: while scanning a simple key
org.yaml.snakeyaml.scanner.ScannerException: while scanning a simple key 异常: 14:50:33.658 [main] ERR ...
- 解决:SpringBoot 错误:Caused by: org.yaml.snakeyaml.scanner.ScannerException
前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家.点击跳转到教程. 错误: Caused by: org.yaml.snakeyaml.scanner.ScannerE ...
- SpringBoot中yml文件报错:org.yaml.snakeyaml.scanner.ScannerException:mapping values are not allowe here...
场景 SpringBoot中配置静态资源访问路径时提示: 报错代码如下: 实现 首先确保yml文件的格式要正确,每个冒号的后面要紧跟空格. 根据提示报错信息在static-path-pattern这个 ...
- org.yaml.snakeyaml.scanner.ScannerException: mapping values are not allowed here
报错详情 报错原因 映射不允许在这,需要对齐 解决原因 yml文件的格式要正确,每个冒号的后面要紧跟空格(13行在id:加一个空格即可)
- ScannerException: while scanning for the next token found character ‘@‘ 问题解决
在把一个老项目修改为动态读取配置参数的时候,发现报了这个错误: org.yaml.snakeyaml.scanner.ScannerException: while scanning for the ...
- 报错:ERROR yaml.scanner.ScannerError: while scanning a quoted sca 如何解决
一.报错 ERROR test_login.py - yaml.scanner.ScannerError: while scanning a quoted sca 二.报错分析 根据报错提示,可以定位 ...
- pom.xml中解决Provides transitive vulnerable dependency maven:org.yaml:snakeyaml:1.33警告
警告出现 构建springboot3项目时,pom文件的spring-boot-starter-web依赖部分整体高亮, 显示Provides transitive vulnerable depend ...
- Provides transitive vulnerable dependency org.yaml:snakeyaml:1.33
一.错误介绍 新创建了一个springboot3的项目,弹出警告. <parent><groupId>org.springframework.boot</groupId& ...
最新文章
- SpringBoot thymeleaf使用方法,thymeleaf模板迭代
- 检测到你的手机处于root环境_选择群控系统的注意事项!繁星云手机盒子会比群控更合适好用吗!...
- mysql 密码 You must reset your password using ALTER USER statement before executing this statement....
- nvcc fatal : A single input file is required for a non-link phase when an outputfile is specified
- 树型权限管理插件:jQuery Tree Multiselect详细使用指南
- jQuery中HTML的操作
- .NET对象克隆的深究(转)
- mescroll上拉加载的实现
- php 删除某个文件夹,Php删除指定文件与文件夹的方法
- 《软件测试》第五次作业
- 六、Web服务器——FilterListener 学习笔记
- 区块链监管难题争论不休,这里具体谈谈辅助监管的四种技术
- docker-compose文件详解
- m3u8格式转换器android,m3u8文件视频转换器(安卓版)
- Bulletproofs: Short Proofs for Confidential Transactions and More学习笔记
- usaco Raucous Rockers
- 斐波那契(黄金分割法)查找算法
- 项目之: JMSamp、ActiveMQ
- 离群值是什么意思_离群值!离群值?离群值!
- aria2网页服务器错误,配置aria2服务器错误