随笔分类 -  遇到的异常

摘要:在高版本中修改root的密码,会存在: 这是由于mysql数据库下已经没有password这个字段了,password字段改成了authentication_string 修改步骤如下: 转自:http://blog.csdn.net/zml_2015/article/details/5048372 阅读全文
posted @ 2017-05-02 15:49 mslog 阅读(300) 评论(0) 推荐(0)
摘要:在进入mysql之后,输入相应的语句: 可能会报错,如下: ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement. 改正: 成功修改 阅读全文
posted @ 2017-05-02 15:43 mslog 阅读(414) 评论(0) 推荐(0)
摘要:[root@localhost conf]# /usr/local/solr-cloud/zookeeper01/bin/zkServer.sh status JMX enabled by defaultUsing config: /usr/local/solr-cloud/zookeeper01/ 阅读全文
posted @ 2017-04-12 13:02 mslog 阅读(1755) 评论(0) 推荐(0)
摘要:在编译程序之后,输入http://localhost:8082/一直在加载,也不报错 原因:数据库 服务没有打开 阅读全文
posted @ 2017-04-05 23:23 mslog 阅读(174) 评论(0) 推荐(0)
摘要:(转自http://blog.csdn.net/qq_29923439/article/details/51100413) 新装一台机器环境为服务器主板,双网卡,系统为CentOS5.4 ,eth0为内网ip,eth1为公网ip。但是由于在本地测试,设置的内网ip,域名服务器同样使用的是上海本地的域 阅读全文
posted @ 2017-04-05 12:43 mslog 阅读(11748) 评论(0) 推荐(2)
摘要:1、XmlBeanDefinitionStoreException尽可能是xml中的标题写错 org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 1 in XML document from clas 阅读全文
posted @ 2017-04-02 21:25 mslog 阅读(1340) 评论(0) 推荐(0)
摘要:因为文件格式为doc,Linux不能识别导致问题的发生。 解法1、把文件内容复制出来,然后把之前的/etc/init.d/nginx删除,用 vi /etc/init.d/nginx再建一个,再把内容复制进去 解法2、通过dos2unix是将Windows格式文件转换为Unix、Linux格式的实用 阅读全文
posted @ 2017-03-27 18:38 mslog 阅读(4757) 评论(0) 推荐(0)
摘要:java.net.SocketTimeoutException:connect timed out at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)at java.net.DualStackPlainSocketIm 阅读全文
posted @ 2017-03-27 13:46 mslog 阅读(2472) 评论(0) 推荐(1)
摘要:如果出现/usr/bin/ld: cannot find -lfdfsclient错误,说明找不到libfdfsclient.so 找到FasfDFS/make.sh中指定的安装位置,从其子目录fastdfs/lib中复制libfdfsclient.so到/usr/local/lib下 重新执行ma 阅读全文
posted @ 2017-03-26 22:50 mslog 阅读(647) 评论(0) 推荐(0)
摘要:一、在每台Storage上安装Nginx 1,环境: Nginx版本:nginx-1.10.1 pcre版本:8.31 用于支持rewrite模块 zlib版本:1.2.8 用于支持gzip模块 FastDFS版本:v5.06 FastDFS的Nginx插件使用最新版本:fastdfs-nginx- 阅读全文
posted @ 2017-03-26 22:49 mslog 阅读(1293) 评论(0) 推荐(0)
摘要:因为接着检查了服务器端的80端口不可以访问的到 ,发现是防火墙的问题。 所以: 查找防火墙的文件命令: vim /etc/sysconfig/iptables 打开文件之后会有:-A INPUT -p -tcp -m --dport 80 -j ACCEPT 此为打开了80端口 修改之后重启:ser 阅读全文
posted @ 2017-03-26 12:37 mslog 阅读(22697) 评论(1) 推荐(0)
摘要:yum install gcc-c++ 一、首先是:使得虚拟机联网 使用NAT模式 虚拟机网络连接使用NAT模式,物理机网络连接使用Vmnet8。 虚拟机设置里面——网络适配器,网络连接选择NAT模式。 虚拟机菜单栏—编辑—虚拟网络编辑器,选择Vmnet8 NAT模式, 1.在最下面子网设置ip为1 阅读全文
posted @ 2017-03-26 11:24 mslog 阅读(3497) 评论(0) 推荐(1)
摘要:查看虚拟机设置中关于CDROM的选项,将CD-ROM改到最上边,就好了 修改的方法:http://jingyan.baidu.com/article/9faa723183eea7473d28cb6f.html 阅读全文
posted @ 2017-03-25 23:08 mslog 阅读(4998) 评论(0) 推荐(0)
摘要:@RequestMapping("/list") @ResponseBody public List<EasyUITreeNode> getItemCatList(@RequestParam(value="id",defaultValue="0")Long parentId){ List<EasyU 阅读全文
posted @ 2017-03-25 10:56 mslog 阅读(30244) 评论(0) 推荐(0)
摘要:[INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project taotao-manager-service: 阅读全文
posted @ 2017-03-25 09:58 mslog 阅读(19324) 评论(1) 推荐(1)
摘要:新建一个测试类之后,进行测试提示找不到测试的类。 解决:更新整个maven项目 阅读全文
posted @ 2017-03-24 23:02 mslog 阅读(125) 评论(0) 推荐(0)
摘要:三月 24, 2017 10:53:36 下午 org.apache.catalina.core.StandardContext listenerStart严重: Exception sending context initialized event to listener instance of 阅读全文
posted @ 2017-03-24 22:56 mslog 阅读(673) 评论(0) 推荐(0)
摘要:[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project study-search: Failed to clean project: 阅读全文
posted @ 2017-03-24 13:44 mslog 阅读(13754) 评论(0) 推荐(1)
摘要:[INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project taotao-common: Execution de 阅读全文
posted @ 2017-03-23 17:50 mslog 阅读(23373) 评论(1) 推荐(0)
摘要:在用multipart上传文件的时候,报错: java.io.IOException: The temporary upload location [D:\apache-tomcat-8.0.9\work\Catalina\localhost\spittr\tmp\spittr\uploads] i 阅读全文
posted @ 2017-03-17 14:09 mslog 阅读(12878) 评论(1) 推荐(0)