自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (2)
  • 收藏
  • 关注

原创 java3d遇到的java.lang.UnsatisfiedLinkError: no j3dcore-ogl in java.library.path

导入jar包后运行报错:Exception in thread "main" java.lang.UnsatisfiedLinkError: no j3dcore-ogl in java.library.path at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.loadLibrary0(U...

2019-06-03 17:47:51 1666 1

转载 运行时修改TimerTask的执行周期

运行时修改TimerTask的执行周期java.util.TimerTask类的执行周期period变量的声明如下: /** * Period in milliseconds for repeating tasks. A positive value indicates * fixed-rate execution. A negative value indi...

2019-05-14 15:13:34 630

转载 JavaScript 允许重复声明变量,后声明赋值的覆盖之前的

var a = 1;var a = 'x';console.log(a);// 输出 'x'JavaScript 允许重复定义函数JavaScript 没有重载这个概念,它仅依据函数名来区分函数。后定义的同名函数覆盖之前的,与参数无关。function test() { console.log("test");}test(); //输出 "test"...

2019-05-06 17:39:50 5375

转载 JavaWeb服务启动时,在后台启动加载一个线程进行Socket监听端口

最近,做一个项目,需要做一个web服务器,该服务器要与Android端和GPRS模块互相通信。考虑Android端与服务器端用Http通信,GPRS模块与服务器用Tcp通信。因此需要在Web服务器启动的时候启动加载一个线程负责Tcp端口的监听。search了一些方法,从中挑选了两个在此记录一下:方法一:监听(Listener)我们创建一个监听类,继承自ServletContext...

2019-04-12 10:49:27 1432

原创 JSONObject的key值的修改

JSON前后台对接数据的调试特别麻烦,最近要做的要求Json的Key值必须是小写。通过在entity(实体类)中添加注解@JSONField(name="XXXX")虽然也可以实现转化的json的key值是小写的,但需要一个个的去写太过麻烦了。在网上找到了一个通过递归来将所有key值换成小写的。 https://www.cnblogs.com/lgtrajectory/p/4080852....

2019-03-14 19:07:05 11069

原创 Uncaught Error: Syntax error, unrecognized expression:

jquery-3.1.0.min.js:2 Uncaught Error: Syntax error, unrecognized expression: }/info/device/hvac/refrigeratingmachine/getStateSearch at Function.ga.error (jquery-3.1.0.min.js:2) at ga.tokenize ...

2019-03-07 18:40:04 5632

原创 Uncaught TypeError: Failed to execute 'removeChild' on 'Node': parameter 1 is not of type 'Node'.

VM9328 hbox.js:52 Uncaught TypeError: Failed to execute 'removeChild' on 'Node': parameter 1 is not of type 'Node'. at Object.remove (VM9328 hbox.js:52) at HBox.fn.init._executive (VM9328 hbox...

2019-03-07 18:22:35 6365

原创 迭代器(Iterator)的java.util.NoSuchElementException错误的改正

我也是在百度上找的改正方法,然后试着自己写一下。本来想在写一段完整的代码,但又感觉好麻烦,于是就截取错误的代码了。     错误代码:     Iterator ite = map.keySet().iterator();      while(ite.hasNext()) {           if(map.get(ite.next()).getCardId()==in2.

2015-06-05 23:17:13 1015

Appstart source-archive.zip

Appstart是一个跨平台的应用程序启动程序(用Java编写),它使您无需编写另一个shell /批处理脚本来启动Java桌面应用程序。 All you have to do is: put the appstart.jar in your application dir. You can rename it to your likings, such as run.jar, start.jar, your_app_name.jar setup the appstart.properties file, specifying the main class to launch and other VM options (see AppstartProperties) then put all your jars and classes in the subfolder "lib". Voila! You can now double-click the appstart.jar and your application is started, without hideous DOS windows, class-path headhaches or fears of the dreaded OutOfMemoryException. http://code.google.com/p/appstart/!

2019-09-18

Insomnia.Setup.5.12.4.exe

官网:https://insomnia.rest/ 强大的HTTP toolbelt,在一个直观的应用程序 Mac、Windows和Linux上的免费和开放源码 ,这个是Windows版本。 我是拿来查询elasticsearch数据,挺好用的。

2017-12-11

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除