Wesley13 Wesley13
4年前
eclipse中不能找到dubbo.xsd解决方法
使用dubbo时遇到问题:org.xml.sax.SAXParseException: schema\_reference.4: Failed to read schema document 'http://code.alibabatech.com/schema/dubbo/dubbo.xsd', because 1) could not f
Wesley13 Wesley13
4年前
java中静态初始化块的执行顺序
在java中,其应该是先于所有的方法执行。下面是测试代码:1publicclassTest1{2static{3System.out.println("执行静态初始化块test1...");4}5{6System.out.println(
Easter79 Easter79
4年前
SpringBoot之普通类获取Spring容器中的bean
packagecom.geostar.geostack.git_branch_manager.common;importorg.springframework.beans.BeansException;importorg.springframework.context.ApplicationContext;
Stella981 Stella981
4年前
Linux系统中yum安装Apache+MySQL+PHP环境
用yum安装Apache,Mysql,PHP.2.1安装Apacheyuminstallhttpdhttpddevel安装完成后,用/etc/init.d/httpdstart启动apache设为开机启动:chkconfighttpdon2.2安装mysql2.2.1yuminstallmysq
Wesley13 Wesley13
4年前
Java中的BigDecimal类和int和Integer总结
前言我们都知道浮点型变量在进行计算的时候会出现丢失精度的问题。如下一段代码:System.out.println(0.050.01);System.out.println(1.00.42);System.out.println(4.015100);System.out.println(1
Stella981 Stella981
4年前
SQL Server递归查询在Highgo DB中实现 (APP)
目录环境文档用途详细信息环境系统平台:MicrosoftWindows(64bit)10版本:5.6.4文档用途在HighgoDB中实现和SQLServer一样效果的递归查询详细信息1、SQLServer表创建以及测试数据添加CreatetableGroupInfo(\Id\int,\
Wesley13 Wesley13
4年前
Java中不同包下类与类之间的访问
Java中不同包下类与类之间的访问(1)我们多次使用一个带包的类,都需要加包的全路径,非常的麻烦,这个时候,Java就提供了导包的功能,提供了一个关键字import。(2)格式:import包名.包名....包名.类名;这种方式导入的是:到类的名称。另一种:imp
Stella981 Stella981
4年前
JavaScript中实现函数重载和参数默认值
参数默认值是指在调用函数时,若省略了某个实参,函数会自动为该参数分配一个默认值,使得函数调用的方便性和灵活性大大提高。举个例子,比如PHP中的字符串截取函数substr(string,start,length),当不指定length时,函数将默认截取字符串中start位置到字符串结束,而如果指定了length,则截取从start位置开始的以len
Stella981 Stella981
4年前
MyBatis中的@Mapper注解及配套注解使用详解
https://blog.csdn.net/phenomenonstell/article/details/79033144(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fblog.csdn.net%2Fphenomenonstell%2Farticle%2Fdetails%2F790
Stella981 Stella981
4年前
Android获得控件在屏幕中的绝对坐标
intlocationnewint2;view.getLocationInWindow(location);//获取在当前窗口内的绝对坐标view.getLocationOnScreen(location);//获取在整个屏幕内的绝对坐标location0x坐标,location1