- 博客(9)
- 收藏
- 关注
原创 Spring Cloud查看所有注册服务
Spring Cloud用Zuul做代理服务器,查看Zuul中注册的所有服务: http://localhost:port/routes 返回字符串实例: {"/api-demand/**":"cloud-service-rawdemand","/cloud-config-server/**":"cloud-config-server","/cloud-service-rawdema...
2017-01-22 17:35:38
1087
原创 查找Spring Cloud与Spring Boot版本对应
文档地址: http://projects.spring.io/spring-cloud/#quick-start
2017-01-19 18:35:11
907
原创 Spring Cloud心跳监测
Spring Cloud实现心跳监测,在服务注册和停止时,注册中心能得到通知,并更新服务实例列表 Spring Cloud注册中心添加配置: eureka.server.enable-self-preservation=false Spring Cloud服务提供者添加配置: eureka.instance.lease-renewal-interval-in-seconds=5...
2017-01-19 17:46:54
905
原创 Spring Boot指定端口运行微服务实例
Spring Boot指定端口运行微服务实例: java -jar cloud-service-rawdemand-0.0.1-SNAPSHOT.jar --name="cloud-service-rawdemand-spring" --server.port=52012 参数:--service.port=52012 如程序中配置了52011,现在还想多运行一个实例到52012端口...
2017-01-19 17:44:03
1076
Java可以编译不能运行
带有package的java类编译与运行: 编译: javac -d . xxx.java 假设包名:com.lixx.io 运行: java com.lixx.io.xxx 否则会出现错误:找不到主类 如果没有包,则无需加参数,直接javac和java即可。 如果javac能编译,但java不能运行,并提示: Exception in thread "m...
2016-03-20 15:45:07
522
Struts2问题备注(15121501):Attribute name invalid for tag property according to TLD
HTTP Status 500 - /index.jsp (line: 11, column: 1) Attribute name invalid for tag property according to TLD 错误原因: 多写了name="prop01"导致 Struts2的标签库中,property不存在属性name...
2015-12-15 22:57:49
481
原创 GridView到处Excel
GridView中的数据导出到Excel,可以在后台使用一个无分页的Gridview作为导出源,程序例:先准备一个GridView和一个Buttontable> tr> td> asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false" PageSize="30"
2008-01-14 09:56:00
1857
2
原创 Excel与数据库操作
VC6.0中用ADO操作Excel的连接字符串:"DSN=Excel Files;DBQ=FilePath+FileName;DefaultDir=FilePath;Driver ID=790;MaxBuffersize=2048;pagetimeout=5;"例如:DSN=Excel Files;DBQ=D://T_20071122.xls;DefaultDir=D:
2008-01-14 09:40:00
1933
原创 一个C#写的CLOCK程序
窗体设计代码:[Form1.Designer.cs] namespace Game_One...{ partial class Form1 ...{ /**//// /// 必需的设计器变量。 /// private System.ComponentModel.IContainer components = nul
2008-01-11 16:14:00
798
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人