- 博客(10)
- 资源 (3)
- 收藏
- 关注
转载 maven 打包源码 和 doc文件
<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId>
2018-07-04 19:30:08 662
原创 maven 源码下载
maven 下载源码方法一: 修改maven 的配置文件setting.xml<profiles> <profile> <id>downloadSources</id> <properties> <downloadSources>true</downloadSources&g
2018-06-22 13:46:14 204
原创 net.sf.json.JSONObject 对象转JSON 时间类型处理
//后台代码JsonConfig jsonConfig = new JsonConfig(); jsonConfig.registerJsonValueProcessor(Date.class, new JsonDateValueProcessor("yyyy-MM-dd HH:mm:ss"));JSONObject jsonObj = JSONObject.fromObject(returnO...
2018-03-07 13:51:07 3007
原创 No Hibernate Session bound to thread, and configuration does not allow creat
No Hibernate Session bound to thread, and configuration does not allow creathibernate 中 单独执行 sql 报错 :在执行sql的方法上加入 事务 @Transactional(propagation=Propagation.REQUIRES_NEW)
2017-10-25 11:32:29 706
原创 js 跨域问题解决方案
1.建议方案:在所有进行跨域访问的方法内加入resp.setHeader("Access-Control-Allow-Origin", "*");//允许所有ip(域名)访问2.jsonp 方案ajax 请求:$.ajax({ url: 'xxxxx', type: 'post', dataType:'js
2017-03-14 17:05:29 367
原创 网页图片直接显示与上传
页面代码: demo #box1 { border: 1px dashed #666; width: 150px; height: 150px; display: flex; justify-con
2017-02-04 14:08:05 448
转载 Linux IO 模式 及 select、poll、epoll
当进程进入阻塞状态,是不占用CPU资源的。在 Linux 的缓存 I/O 机制中,操作系统会将 I/O 的数据缓存在文件系统的页缓存( page cache )中,也就是说,数据会先被拷贝到操作系统内核的缓冲区中,然后才会从操作系统内核的缓冲区拷贝到应用程序的地址空间。linux系统有下面五种网络模式的方案。- 阻塞 I/O(blocking IO)- 非阻
2017-01-23 16:55:49 133
转载 Spring 定时器--时间配置规范
org.springframework.scheduling.quartz.CronTriggerBean允许你更精确地控制任务的运行时间,只需要设置其cronExpression属性。一个cronExpression表达式有至少6个(也可能是7个)由空格分隔的时间元素。从左至右,这些元素的定义如下:1.秒(0–59)2.分钟(0–59)3.小时(0–23)4.月份中的日期(1
2017-01-20 16:50:19 266
原创 JFreeChart 中文乱码
JFreeChart 1.0.13 中文乱码 需要加入 如下 代码 :// 创建主题样式StandardChartTheme standardChartTheme = new StandardChartTheme("CN");// 设置标题字体standardChartTheme.setExtraLargeFont(new Font("隶书", Font.BOLD,
2017-01-17 16:15:19 293
原创 mysql 驱动太高 导致 报错
Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2" java.lang.UnsupportedClassVersionError: com/mysql/jdbc/Driver : Unsupported major.minor version 52.0at java.lang
2017-01-13 12:00:43 936
WindowsHotkeyExplorer_v2.1.zip
2019-08-12
gradle-5.5-all.zip
2019-07-10
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人