引子最近在为新的小强性能测试班备课,在整理dubbo的时候一直出现applicationContext.xml的报错,我也是最了,最后查了一些资料终于解决解决方案在dubbo的jar包中把dubbo.xsd文件单独copy出来在eclipse中配置如下:windows->preferrence->xml->xmlCatalogadd->cata..
分类:
移动开发 时间:
2017-05-03 19:14:23
阅读次数:
228
Spring Cloud Config 云端存储配置信息 Spring Cloud Config 具有中心化,版本控制,支持动态更新,平台独立,语言独立等特性.我们的例子:1、真正的数据存在Git等repository中,2、ScConfigServer从git获取相应信息,3、ScConfigCl ...
分类:
编程语言 时间:
2017-05-03 17:29:15
阅读次数:
206
spring-boot项目中,默认提供内嵌的tomcat,所以打包直接生成jar包,用Java -jar命令就可以启动。 但是也有一定的需求,会使用外部tomcat来部署项目。下面来看: 1.新建项目boot-tomcat-test 2.pom依赖:(添加spring-boot-starter-to ...
分类:
编程语言 时间:
2017-05-03 13:07:47
阅读次数:
1300
构建dubbo项目的时候会遇到: Multiple annotations found at this line: - cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found f ...
分类:
其他好文 时间:
2017-05-02 11:55:51
阅读次数:
356
因为自己在引用jar包上吃过很多亏,也浪费过很多时间,所以每次都会把使用到的jar包都标明,谢谢理解! 引用jar包: 1、运行类: 2、切面类:该类需@Component、@Aspect配合使用,因为classpath路径找不到@Aspect注释的类 3、applicationContext.xm ...
分类:
编程语言 时间:
2017-05-02 10:11:00
阅读次数:
291
http://www.springframework.org/schema/beans/spring-beans.xsd Window》》preference》》搜索xml(XML Catalog) ...
分类:
移动开发 时间:
2017-05-01 17:46:47
阅读次数:
156
sublime text 3 3126 注册码+中文包 Sublime Text 3 3126 注册码,网上找的。我用的最后一个。 复制一个,打开 Sublime Text 3, help -- enter license 粘贴即可。 —– BEGIN LICENSE —–Michael Barne ...
分类:
其他好文 时间:
2017-04-29 09:45:06
阅读次数:
328
1.WebService a.定义:WebService是一种跨编程语言和跨操作系统平台的远程调用技术 b.三大技术: XML+XSD,SOAP,WSDL c.SOAP协议 = HTTP协议 + XML数据格式 d.WSDL:基于XML的描述语言(相当于字典、菜单) 2.服务端: a.在xml中配置 ...
分类:
编程语言 时间:
2017-04-25 20:01:07
阅读次数:
226
1.新建TaskUtil.java 2.新建 Scheduler-config.xml 3.引入Scheduler.xml配置文件 本人在spring-mvc中加载 ...
分类:
编程语言 时间:
2017-04-25 16:42:22
阅读次数:
617
在eclipse中,有时候在xml文件中,特别是于Spring相关的配置文件中,会出现一些不影响程序正常运行的编译错误,如: Referenced file contains errors (http://www.springframework.org/schema/beans/spring-bea ...
分类:
编程语言 时间:
2017-04-24 12:40:17
阅读次数:
183