- 博客(15)
- 收藏
- 关注
原创 springmvc 报406错误
详细错误如下: The resource identified by this request is only capable of generating responses with characteristics not acceptable according to the request "accept" headers.我代码返回的是JSON字串,其它各种serv
2015-08-26 14:46:42
596
原创 tomcat启动报错
tomcat 启动的时候,弹出信息框:page load failed error:找不到指定主机名的服务器原因很有可能是 hosts文件中没有添加这个(或者是修改了这个):127.0.0.1 localhost
2015-08-20 10:52:48
1004
原创 mac 10.10.3 安装 php5.6.7和apache2.4.12
我安装这个的初衷很简单:只是想看一看 验证码!! 故事就从这儿开始吧最近倒腾了一个代码,然后想登上去,然后需要输入验证码,可是在Google浏览器上一直显示的是一张破裂的图片,于是开始艰辛之旅。首先我想到的是,图片显示不出来,是不是因为没有这张图片不存在?,于是去素材库找这张图片,倒腾了一番,在网上搜了一下,好像。。。图片是程序产生的(PHP新人一枚),然后另一哥们机子上倒是跑得很溜,他系统是Ubu
2015-05-07 22:53:39
1521
原创 rabbitmq 消息传送与监听
rabbit配置文件:rabbit:connection-factoryid="connectionFactory"host="localhost"username="guest"password="guest"/>send(exchange, routingKey, convertMessageIfNecessary(object),correlation
2015-03-19 16:21:58
8700
原创 XXX calss can not be resolved
对于这种现象,普遍是由jar包缺少引起的,非maven项目,则需要清掉jre之类,重新加载,maven项目最好是到达项目根目录然后运行 maven clean package,即重新加载jar包
2015-02-05 16:15:47
408
原创 java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
对于spring+maven+eclipse(不是myeclipse),一般出现这种错误是因为jar包没有完整(spring3.XX有很多),但是有一种情况比较特(dan)殊(teng)的是:eclipse发布的时候在classpath中,默认没有将maven依赖与webcontent相联系起来需要在项目的 .classpath中添加:name="org.eclipse.
2015-02-04 19:10:04
434
原创 Jedis connection refused
redis.clients.jedis.exceptions.JedisConnectionException: java.net.ConnectException: Connection refused你打开redis服务了吗?
2014-12-04 21:00:55
707
原创 合并排序
import java.util.Stack;public class MergeSort{//int[] a sort array,int a[p] start of array,int a[r] end of arraypublic void start_Iteration(int[] a,int p,int r){//p>=r means there is only one
2014-11-13 21:24:13
490
原创 eclipse报错之The hierarchy of the type “class name” is inconsistent (jface)
jar包的问题,可能是缺少org.eclipse.core.commands_XXX.jar
2014-11-02 14:44:11
863
原创 Struts2
在web.xml中配置org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter时,不建议写成org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
2014-09-06 15:00:51
535
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人