BUG
德莱華
好好学习天天编码
展开
-
MYSQL 5.7 Linux脚本出现[Warning] Using a password on the command line interface can be insecure.
MYSQL版本:5.7在学习使用linux脚本来更新数据库中的数据,实现更新数据库版本的需求时碰到:在写linux脚本执行MYSQL命令的时候,如果使用MYSQL="mysql -hlocalhost -P3306 -uroot -p666666 --default-character-set=utf8 -A -N"登陆并执行sql语句的时候,每次连接都会出现mysql: [Warning] U...原创 2018-03-08 17:01:45 · 20890 阅读 · 2 评论 -
org.apache.catalina.connector.RequestFacade cannot be cast to org.springframework.web.multipart.Mult
使用ajax提交表单上传文件时发生(SpringMvc)解决方案:在springMVC.xml中加入这么一段bean,注意:bean的属性id和class都必须存在且id必须为multipartResolver<bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsM...原创 2018-03-09 15:20:59 · 3378 阅读 · 0 评论 -
Cannot reference a field before it is defined
静态块和静态资源是按顺序加载的,定义语句应该放在最上面原创 2018-04-20 11:25:03 · 1926 阅读 · 0 评论