输入top命令,我们可以看到buff/cache占用了很大的内存 我们可以通过如下命令进行解决处理 1,同步数据到磁盘 sync 2,清理缓存 echo 3 /proc/sys/vm/drop_caches 参数可以是: # 参数说明: # 0 //默认是0; # 1-清空页缓存; # 2-清空inode和目录树缓
数据库:mysql category表:id,name,description Pkid product表:id,name ,price, description ,category_id pkid fkcategory_id 新建java project项目: Add Hibernate
Exception in thread "main" java.lang.NoSuchMethodError: org.hibernate.hql.antlr.HqlBaseParser.recover(Lantlr/RecognitionException;Lantlr/collections/impl/BitSet;)V at org.hibernate.hql.antlr.HqlBase
Exception in thread "main" java.lang.NoSuchMethodError: org.hibernate.hql.antlr.HqlBaseParser.recover(Lantlr/RecognitionException;Lantlr/collections/impl/BitSet;)V at org.hibernate.hql.antlr.HqlBase
WordPress后台某些页面在访问时会出现“502 Bad Gateway”错误,页面包括:update-core.php、 themes.php、 plugins.php。这几个页面的共同点就是会访问WP服务器检查更新,所以,这种问题出现的原因是您的网站所在的主机环境配置支持不够导致的。 需要注意是的 WordPress 最新版本的最低主机环境配置,必须满足以下条
前天使用Struts2写了一个类型转换器,用于将IP地址转换成字符串保存。 希望本人能够对同样是初学者的你有所帮助 我写的是一个登录模块,需要将用户的登录IP,登录时间上传到服务器 我的思路是这样的 首先由客户端输入账户密码,然后将账户,密码,IP,时间传给服务器。 action里面的代码如下 public class Login extends ActionSup
前天使用Struts2写了一个类型转换器,用于将IP地址转换成字符串保存。 希望本人能够对同样是初学者的你有所帮助 我写的是一个登录模块,需要将用户的登录IP,登录时间上传到服务器 我的思路是这样的 首先由客户端输入账户密码,然后将账户,密码,IP,时间传给服务器。 action里面的代码如下 public class Login extends ActionSup
前天使用Struts2写了一个类型转换器,用于将IP地址转换成字符串保存。 希望本人能够对同样是初学者的你有所帮助 我写的是一个登录模块,需要将用户的登录IP,登录时间上传到服务器 我的思路是这样的 首先由客户端输入账户密码,然后将账户,密码,IP,时间传给服务器。 action里面的代码如下 public class Login extends ActionSup
Error creating bean with name 'pm' defined in file Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: warning no match for this type name: xxxx [Xlint:invalidAbsol
Error creating bean with name 'pm' defined in file Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: warning no match for this type name: xxxx [Xlint:invalidAbsol
Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customEditorConfigurer' defined in class path resource [propertyEditorSupport.xml]: I
Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customEditorConfigurer' defined in class path resource [propertyEditorSupport.xml]: I
安装tomcat的方法就不详述了,可参考下面的地址 https://www.bugkong.com/archives/2015_01_201.html 由于服务器每次重启,我都需要进入服务器去启动tomcat,比较不方便,因此我们可以自己设置一段脚本,让其在centos开机时自动运行。 首先我们以root用户登录 1,创建启动脚本 vim /etc/init.d/tomc
安装tomcat的方法就不详述了,可参考下面的地址 https://www.bugkong.com/archives/2015_01_201.html 由于服务器每次重启,我都需要进入服务器去启动tomcat,比较不方便,因此我们可以自己设置一段脚本,让其在centos开机时自动运行。 首先我们以root用户登录 1,创建启动脚本 vim /etc/init.d/tomc
安装tomcat的方法就不详述了,可参考下面的地址 https://www.bugkong.com/archives/2015_01_201.html 由于服务器每次重启,我都需要进入服务器去启动tomcat,比较不方便,因此我们可以自己设置一段脚本,让其在centos开机时自动运行。 首先我们以root用户登录 1,创建启动脚本 vim /etc/init.d/tomc
在Spring的AOP学习中,如果出现这个错误,表示缺少一个包 aopalliance-1.0.jar 下载这个包,导入即可
在Spring的AOP学习中,如果出现这个错误,表示缺少一个包 aopalliance-1.0.jar 下载这个包,导入即可