- 博客(6)
- 收藏
- 关注
原创 bug排除
问题:java.lang.IllegalStateException: Failed to check the status of the service 系统提示服务端异常,式服务端出现了问题,经检查后发现是web.xml没有初始化spring容器,初始化完成后,修复
2017-12-07 20:03:45
353
原创 导出pdf代码记录
@Action(value="jsperReportPDF") public String exportPDF() throws Exception{ //查询数据 List wayBills = wayBillservice.findAll(model); //导出数据\ HttpServletResponse resp = ServletActionContext.getRe
2017-11-28 09:41:58
844
原创 bug解决_{@org.springframework.beans.factory.annotation.Autowired(required=true)}
问题: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'itemsController': Injection of autowired dependencies failed; nested exception is org.springframework.b
2017-11-27 21:08:44
3088
原创 导出xls文件案例记录
import java.io.IOException; import java.io.OutputStream; import java.util.List; import javax.servlet.ServletOutputStream; import javax.servlet.http.HttpServletResponse; import org.apache.
2017-11-22 20:05:13
291
原创 获取泛型
实体类父类: public class Person { } 实体类子类: public class Man extends Person { } 测试类: public class GetGeneric { public static void main(String[] args) { //获取man的字节码对象 Class clazz = Man.cl
2017-11-21 22:45:13
215
原创 快排代码示例
第一次写快排代码,做个记录 /** * 归位算法逻辑 * @author Administrator * */ public class QuickSort { @Test public void sortDemo(){ int[] arr = {6,1,2,5,9,3,4,7,10,8}; quickSort(arr,0,arr.length-1); Syste
2017-11-21 19:19:50
437
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人