`
sd8089730
  • 浏览: 251412 次
  • 性别: Icon_minigender_1
  • 来自: 吉林
社区版块
存档分类
最新评论
文章列表
转载至:http://www.jianshu.com/p/ba87a9ee6001   最近再写一个Restful API的小例子,遇到这样一个问题,在Spring Boot 下使用CrudRepository,总是提示如下错误: Caused by: java.sql.SQLSyntaxErrorException: Unknown column 'userprofil0_.real_name' in 'field list' at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.jav ...
转载至:http://www.zhetenger.com/node/44   几个月前写过一个dnspod脚本,也是用来自动更新动态IP地址到DNSPOD解析顶级域名。周末闲着无聊,重新写了个脚本,在原来的基础上增加了一些功能,比如批量创建,批量更新,批量删除。脚本兼容支持centos, ubuntu这些使用bash的版本,也支持集成busybox的轻量发行版,如openwrt, ddwrt, tomato.但本人只在openwrt, centos和ubuntu上测试过。下面说下使用方法,首先你得有一个顶级域名并已转到dnspod解析,这步就省略了。 下载脚本 下载lino-dnsp ...
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" minWidth="955" minHeight="600" creationComplete="loaded( ...
  http://jvectormap.com/   <!--StartFragment --> JVectorMap 是一个显示矢量地图的jQuery插件.它使用 SVG 在Firefox 3 or 4, Safari, Chrome, Opera, IE9, 同时也支持老的ie浏览器ie6到ie8.使用 jVectorMap也很简单,和其他的jQuery方法相同。 在初始话地图的时候你也可以提供参数去改变地图的样式。   制作工具:Illustrator   
java.sql.SQLException: Unknown type '246 in column 0 of 1 in binary-encoded result set的解决办法     java.sql.SQLException: Unknown type '246 in column 0 of 1 in binary-encoded result set这个异常容易出现在对Bigint字段的操作上。使用的mysql-connector-java-3.1.7-bin.jar,是属于mysql的一个bug。 解决办法:使用mysql-connector-java-3.0.17-b ...
    BLOB类型的字段用于存储二进制数据 MySQL中,BLOB是个类型系列,包括:TinyBlob、Blob、MediumBlob、LongBlob,这几个类型之间的唯一区别是在存储文件的最大大小上不同。 MySQL的四种BLOB类型类型 大小(单位:字节)TinyBlob 最大 255Blob 最大 65KMediumBlob 最大 16MLongBlob 最大 4G  
LambdaProbe 是一款强大的免费开源工具,LambdaProbe拥有几乎所有Tomcat Manager的功能, 可以说是一个增强版本的 Tomcat Manager。除此之外,Tomcat Probe 还拥有很多让开发者和系统管理者更方便的性能。从而使得Tomcat对开发者和管理者更加透明。 包括 应用程序,数据源,发布,日志,线程,集群,系统信息,状态,连接器状态这些功能. 如配合 JDK 1.5 甚至可以实时的画出 Server 的详细内存占用状态. 下载地址:http://www.lambdaprobe.org/downloads/1.7/probe.1.7b. ...

Oracle递归查询

转载至:http://www.cnblogs.com/MFLY/archive/2011/07/17/2108749.html     从网上摘的,留作备忘。 一、树型表结构:   节点ID  上级ID  节点名称 二、公式:   select 节点ID,节点名称,level        from   表        connect by prior 节点ID=上级节点ID        start with 上级节点ID=节点值       说明:         1、常见的树形结构为公司组织机构、地区……     2、求节点ID以上的结构,或以上的结构,将“节点 ...
转载至:http://www.dynamicdrive.com/dynamicindex11/xpprogressbar.htm Author: Brian Gosselin | Homepage Description: A great looking pure DHTML progress bar that resembles the one seen in Window XP's startup screen. All visual aspects of the bar can be customized, and the script can be invoked mult ...
转载至:http://www.andowson.com/posts/list/403.page 依據Tomcat的網站上的說法http://wiki.apache.org/tomcat/FAQ/Logging#Q6: System.out 和 System.err 都被列印到 catalina.out。 catalina.out 不會 rotate。 如果您使用了 logging 機制,就不會有任何東西被寫到標準輸出了,所以這應該不會是個問題。 可是實際上發現,雖然有設了log4j之類的 logging 機制,但寫程式的人如果還是寫成System.out.println()或是遇到except ...
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:134) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:345) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:132) at org.apache.maven.cli.MavenCli.mai ...

Struts2 国际化

<constant name="struts.custom.i18n.resources" value="resource/messages"></constant>   resource包下  messages_en.properties ,messages_zh.properties     页面 <s:test name="index.title"/>
Serv-U 上传中文文件出错的解决方案   为什么用Serv-U9建FTP服务器时的上传错误,我的那个账户已经开启了所有权限,但是上传文件的时候总是有错误提示“将文件复制到FTP服务器的时候发生错误,请检查是否有权限将文件放到服务器上。详细信息:200 type set to I ,227 entering passive mode (192.168.1.59 8,88)。 501 syntax error in parameters or arguments”同时当我上传一个文件夹的时候文件夹还是会上传上去,而且偶尔会有一两个文件也跟着上传上去,当就是不能全部传上去,总是出现这个错误提示 ...
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.spr ...
原文转至:http://marshal.easymorse.com/archives/1617  JDK 7 oracle 文章地址:http://docs.oracle.com/javase/tutorial/essential/io/notification.html   目前为止,java没有提供自带的对文件目录改变的监听器。使用java自带的(如果是native的就更好了)会方便很多。 这要等到java 7的出现,见:http://tech.puredanger.com/java7#jsr203,jsr203对io的新扩展中,有: A new filesystem inte ...
Global site tag (gtag.js) - Google Analytics