- 博客(7)
- 收藏
- 关注
原创 修改系统默认volume_*_speaker的值
【原因分析】需要修改默认的Audio值和调节范围music : 0- 15(U50) default: 5 pepito: 0- 15 default: 5 KO notification : 0 - 7(U50) default :5 pepito : 0 -15 default: 9 KO Alarm : 0 - 7(U50) default :6 pepito : 0 -15 def...
2018-12-14 13:13:42 1950
原创 解决Sping5中SpringWebContext方法过时
Sping5中SpringWebContext方法过时为了优化访问速度,应对高并发,想把页面信息全部获取出来存到redis缓存中,这样每次访问就不用客户端进行渲染了,速度能快不少。thymeleafViewResolver.getTemplateEngine().process("goodslist.html",ctx);里面的ctx参数,这个参数就是WebContext然后定义这个变量...
2018-12-05 16:54:20 9180 5
原创 解决o.s.web.servlet.PageNotFound 异常
异常描述2018-12-05 15:45:34.901 WARN 20108 --- [nio-8080-exec-3] o.s.web.servlet.PageNotFound : No mapping for GET /bootstrap/css/bootstrap.min.css2018-12-05 15:45:34.901 WARN 20108 --- [n...
2018-12-05 16:50:27 35345 9
原创 解决rabbitmq DeclarationException: Failed to declare queue异常
异常描述创建队列进行消息发送的时候报错org.springframework.amqp.rabbit.listener.BlockingQueueConsumer$DeclarationException: Failed to declare queue(s):[miaosha.queue] at org.springframework.amqp.rabbit.listener.Blo...
2018-12-05 16:47:33 52928 14
原创 @Configuration 使用
@Configuration用于定义配置类,可替换xml配置文件,被注解的类内部包含有一个或多个被@Bean注解的方法,这些方法将会被AnnotationConfigApplicationContext或AnnotationConfigWebApplicationContext类进行扫描,并用于构建bean定义,初始化Spring容器。注意:@Configuration注解的配置类有如下要求:...
2018-12-04 19:55:08 2703
原创 解决RabbitMQ AmqpTimeoutException异常
异常描述今天在配置RabbitMQ的时候老是报这个错误org.springframework.amqp.AmqpTimeoutException: java.util.concurrent.TimeoutException at org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAcc...
2018-12-04 19:53:05 18600 9
原创 adb shell 命令大全
文章目录查看前台 Activity调用 Activity查看正在运行的 Services调用 Service发送广播查看应用详细信息查看应用列表清除应用数据与缓存查看屏幕分辨率查看屏幕密度屏幕截图录制屏幕查看前台 Activityadb shell dumpsys activity activities或者adb shell dumpsys activity top调用 Activit...
2018-12-03 14:19:43 7025
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人