`
bsr1983
  • 浏览: 1101315 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
如有多台CentOS服务器运行相同的服务,且对时间准确性要求较高,那必须保证多台服务器时间统一。 最简单的就是每台服务器都用ntpdate同步同一台网络时间服务器的时间。 1、输入ntpdate time.nist.gov同步网络时间
开启显示 defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder 取消显示 defaults write com.apple.finder AppleShowAllFiles FALSE ; killall Finder

spring注入null值

使用spring配置jedis连接池,需要指定db索引,但jedis poo构造函数中需要给password也赋值,看了源码,如果password赋值null,则不再做auth,具体配置如下: <bean id="jedisConfig" class="redis.clients.jedis.JedisPoolConfig"> <property name="testWhileIdle" value="${redis.pool.testWhileIdle}"/> ...
1.《人类简史》http://item.jd.com/11549140.html(2016-1-29 至 2016-03-02) 2.《皮囊》 http://item.jd.com/11582083.html(2016-03-04 至 2016-03-07) 3.《拆掉思维里的墙》http://item.jd.com/10806698.html (2016-02-04 至 2016-03-13) 4.《乖,摸摸头》http://item.jd.com/11545102.html (2016-03-13 至 2016-03-20) 5.《他们最幸福》http://item.jd.com ...
在chrome地址栏输入 chrome://chrome-urls/ 可以看到所有的chrome支持的伪url (1)chrome://accessibility/ 可达性分析,默认是关闭的,点击accessibility off后变成accessibility on|show accessibility tree,点击show accessibility tree显示分析树 (2)chrome:/ ...
1.官方参考文档地址: http://httpd.apache.org/docs/current/howto/ssi.html#basicssidirectives https://tomcat.apache.org/tomcat-7.0-doc/ssi-howto.html 2.配置步骤 (1)修改tomcat根目录下的conf文件夹中的context.xml,修改如下: <Context privileged="true"> <!-- Default set of monitored resources --& ...
  Errors occurred during the build. Errors running builder 'DeploymentBuilder' on project 'XXX '. java.lang.NullPointerException   1. Shut down the workspace. 2. Delete the file com.genuitec.eclipse.ast.deploy.core.prefs which is located at <workspace dir>/.metadata/.plugins/org.eclipse.co ...
Myeclise 中web项目部署到tomcat时Deploy Location 是 INVALID的解决方案 弄了一个maven的web项目,想要将web项目直接部署到tomcat的ROOT下,但部署的时候Deploy Location 是 INVALID。 检查项目根目录下的.settings文件夹中的org.eclipse.wst.common.component   <?xml version="1.0" encoding="UTF-8"?> <project-modules id="moduleCoreI ...
       最近在写一个后台管理系统的时候,很简单的一个登录页面的html文件,通过浏览器访问的时候,总是报一些很诡异的错误,如:       (1)Uncaught SyntaxError: Unexpected token <       (2)Uncaught ReferenceError: $ is not defined       (3)Resource interpreted as Stylesheet but transferred with MIME type text/html 具体错误如下图:       打开Chrome的开发者工具,点击查看Sourc ...
调用CXF编写的webservice时出现异常: org.apache.cxf.common.i18n.UncheckedException: No operation was found with the name { } 经过google,发现是@webservice的注解中未添加targetNamespace属性造成的。 修改方法就是增加该属性,至于值为多少,可以查询该webservice的wsdl。 下文中的targetNamespace即为该属性 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchem ...
cmd可以ping通baidu.com,但是浏览器打不开网站,同时其他软件也不能运行,所有和网络有关的软件都不能启动,包括mysql的服务 修复方法: 打开cmd,执行 netsh winsock reset
WebSockets Plugin 安装说明 Prerequesites Installation   Stop Openfire. Copy the websockets.war file to the OPENFIRE_HOME/plugins directory. Restart Openfire. From a browser, go to http://your_openfire-server:7070/websockets If this page does not appear, please check you log files and post any e ...
2013年的时候,兴致勃勃准备学习Spring的源码,但只进行到将源码下载到本地并编译为eclipse项目就结束了,今天再次重拾此任务,发现spring framework的版本已更新到4.2.1了。 本次没有再用eclipse,而是使用了intellij IDEA来作为源码学习的工具,因此构建方式也和eclipse的不太一样。具体步骤如下: (1)从github上下载spring framework的源码,地址为: https://github.com/spring-projects/spring-framework 默认下载的就是当前的最新版本,而且IDEA中已经集成了github ...
1.卸载subeclipse(其他插件也是一样卸载) Help->About MyEclipse Enterprise Workbench->Intallation Details 在列表里面找到subeclipse相关的plugin,Uninstall即可 如果不记得有哪些plugin,则可以通过Installation History查看安装历史 2.重新安装过程中报错: An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase. sessi ...
Erlang官网:http://www.erlang.org/ 1.Erlang SDK下载 地址:http://www.erlang.org/download.html windows 64版本地址:http://www.erlang.org/download/otp_win64_17.5.exe 2.Erlang Build 工具 rebar 安装 官网:http://www.rebar3.org/ 通过源码安装(需要安装git及配置Path) 执行以下命令进行安装: $ git clone https://github.com/rebar/rebar3.gi ...
Global site tag (gtag.js) - Google Analytics