`
文章列表

java

    博客分类:
  • java
异常信息: Java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.ObjectWriter.forType(Lcom/fasterxml/jackson/databind/JavaType;)Lcom/fasterxml/jackson/databind/ObjectWriter;     at org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.writeInternal(AbstractJackson2HttpMessageC ...
这个错误原因可能有很多,这只是一只可能的解决方法,如下: 主要原因是eclipse.ini配置文件错误了,配置文件中-vm参数设置错误,或者没有-vm这行,在windows7系统下需要使用 " / " 而不是 " \ " 原配置文件: -startup plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.2.R36 ...
action中 转发:ServletActionContext.getResponse().sendRedirect(path + "deposit!getUserCardList.action) 请求路径:String path = ServletActionContext.getRequest().getRequestURL().toString();

小问题boom!!

    博客分类:
  • java
代码中提示少 sun.misc.BASE64Decoder  jar包时, 引入java_home\jre\lib\rt.jar ===========================================

sqlite3:使用

sqlite3: 一个SQLite数据库的命令行接口         原文地址:http://www.sqlite.org/sqlite.html     SQLite库包含一个名字叫做sqlite3的命令行,它可以让用户手工输入并执行面向SQLite数据库的SQL命令。本文档提供一个样使用sqlite3的简要说明 ...
AnnotationExceptionNo identifier specified for entity错误org.hibernate.AnnotationException: No identifier specified for entityorg.hibernate.AnnotationException: No identifier specified for entity. 报这个异常的原因是因为JavaBeam的主键没有注解映射关系 解决方案如下: @Id  @GeneratedValue(strategy=GenerationType.IDENTITY)   @Co ...
package com.faithbj.shop.util; import java.util.Random; public class GeneratePresentCardID { public synchronized static String getCharacterAndNumber(int length) { String val = ""; Random random = new Random(); for (int i = 0; i < length; i++) { String charOrNum = random.next ...
前几天试用了Infobright,感觉不如想象中的好 1.只在一张表中操作,有时候查询的速度竟然还比普通mysql的速度要慢。eg: select * from test where cid >xx 之类的查询 2.至于说到多表查询,Infobright更是慢的让人崩溃,是Infobright不适合用于多表查询? 还请坛子里的大虾看到回复一下吧~多谢
Global site tag (gtag.js) - Google Analytics