Chrome下调用play后抱错:DOMException: play() failed because the user didn't interact with the document first. 声音无法自动播放这个在IOS/Android上面一直是个惯例,桌面版的Safari在2017年的11版本也宣布禁掉带有声音的多媒体自动播放功能,紧接着在2018年4月份发布的Chrome 66也正式关掉了声音自动播放,也就是说 <audio autopaly></audio> &
springboot测试启动报错: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test 解决:注意springboot启动类Application要和测试类在同一级包下
springboot项目启动报错Failed to configure a DataSource: 'url' attribute is not specified and no embedde 创建springboot项目后启动,报错为 Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2019-09-26 09:54
Springboot整合Elasticsearch报错 今天使用SpringBoot整合Elasticsearch时候,相关的配置完成后,启动项目就报错了. nested exception is java.lang.IllegalStateException: availableProcessors is already set to [4], rejecting [4] 我网上查询了一下,有人是是因为整合了Redis的原因.但是我把Redis相关的配置去掉后,问题还是没有解决,最后有人说是因