![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Exception
DATA5U
这个作者很懒,什么都没留下…
展开
-
工作中的问题总结(1)
1. Debian中卸载与安装MYSQL a. 停止mysql服务,如果不管用,就grep包括"mysql“的进程,全部pkill掉; b. 卸载1:apt-get remove mysql-server --purge c. 卸载2:apt-get remove mysql-common --purge 记得一定要加--purge实现完全卸载。 d. 重新安装:a...原创 2011-10-12 16:41:09 · 123 阅读 · 0 评论 -
网页中JS传递乱码问题1
开发聊天室过程中,网页的textarea中输入的中文文字传递之后会变成乱码,解决方案如下: 在使用文字之前:encodeURI(text) 在输出的时候:decodeURI(text) 这样就解决问题了。OOO...2012-03-06 13:55:05 · 95 阅读 · 0 评论 -
CentOs5.5 卸载 及 安装 MYSQL 的经验
在操作CentOs下的mysql数据库时,遇到了一系列问题,如下: 1. 本地连接时ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'mysql' 2. 远程连接时1130-host ... is not allowed to connect to this MySql server 3. ...2012-04-01 10:14:35 · 113 阅读 · 0 评论 -
Linux下安装好apache和PHP后出现you don't have permission to access / on this server
百度、谷歌了很多资料,都没有解决,最后自己摸索出解决方案: 1. 切换到root身份 2. 在/var/www/下建一个目录test: mkdir test 3. 修改/etc/httpd/conf/httpd.conf,将其中的修改DocumentRoot "/var/www/html"改为DocumentRoot "/var/www/test" 4. 修改<...2012-04-05 22:07:13 · 266 阅读 · 0 评论 -
myeclipse项目有红叉,但是代码找不到错误
1. 这种情况,修改项目目录下/.setting/org.eclipse.wst.common.project.facet.core.xml 2. 其中有一行 <runtime name="Apache Tomcat v7.0"/> 3. 我myeclipse中的tomcat是6.0版本的,所以把这一行改为<runtime name="Apach...2014-06-17 11:44:06 · 286 阅读 · 0 评论 -
使用spring做java的swing客户端报错:找不到元素 'beans' 的声明 或者 找不到元素 'tx' 的声明。...
使用Java语言编写Swing客户端,其中用到事物TX,spring头配置如下: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-ins...2013-10-18 10:21:11 · 252 阅读 · 0 评论 -
spring与mybatis项目出现 java.lang.NumberFormatException: For input string: "${jdbc.ma
具体说来就是,myabatis使用MapperScannerConfigurer扫描模式后他会优先于PropertyPlaceholderConfigurer执行,所以这个时候,${jdbc.maxActive } 还没有被properties文件里面的值所替换,所以出现TypeMismatchException,然后就异常了。正确配置如下 <!--...原创 2014-03-31 14:51:04 · 419 阅读 · 0 评论