解决eclipse spring配置报错:cvc-elt.1: Cannot find the declaration of element 'beans'.Referenced file contains errors (http://www.springframework.org/schema/aop/spring-aop-3.1.xsd). 原因是无法从网络上读取到相应的schema文件,但实际上在浏览器中是可以访问的.却一直在eclipse中显示红叉,当然,并不影响编译打包. 查看所依赖…
1.修改密码 修改密码: vim /etc/my.cnf 的mysqld字段加入skip-grant-tables 重启MySQL,service mysqld restart 终端输入 mysql 直接登录MySQL数据库,然后use mysql update mysql.user set authentication_string=password('123@wanyun') where user='root';update mysql.user set password_expired='…
配置过程中,查看/var/log/meassage 有报错信息: action '*' treated as ':omusrmsg:*' - please use ':omusrmsg:*' syntax instead, '*' will not be supported in the future [v8.17.0 try http://www.rsyslog.com/e/2184 ]error during parsing file /etc/rsyslog.conf, on or bef…
最近比较空,想研究下spring mvc,于是编按照教程一步一步配置开发环境.配置maven完成后,运行命令mvn -v的时候,竟然报错.错误信息如下: Error: JAVA_HOME not found in your environment.Please set the JAVA_HOME variable in your environment to match thelocation of your Java installation. 我认真检查了JAVA_HOME的配置,发现没什么…