ShardingJDBC分库分表配置 #端口 server.port = 56082 #应用名 spring.application.name = shopping #该配置运行环境为本地,dev开发,qas测试,prd生产 spring.profiles.active = local #项目路径l ...
分类:
数据库 时间:
2020-07-12 16:36:20
阅读次数:
75
初学Android开发遇到了APP无法请求网络权限问题,以下方法可以解决 找到路径app->src->-main->res->AndroidManifest.xml文件 打开 AndroidManifest.xml文件 在application节点之前增加以下代码 <!--允许程序打开网络套接字-- ...
分类:
移动开发 时间:
2020-07-12 16:34:39
阅读次数:
142
创建对象内存分析 代码实现: 1、 public class Application { public static void main(String[] args) { Pet dog = new Pet(); dog.name = "旺财"; dog.age = 3; dog.shout(); ...
分类:
其他好文 时间:
2020-07-11 09:54:29
阅读次数:
55
一、首页显示的微服务名 Eureka 首页显示的微服务名默认为:机器主机名:应用名称:应用端口,也就是: ${spring.cloud.client.hostname}:${spring.application.name}:${spring.application.instance_id}:${se ...
分类:
其他好文 时间:
2020-07-10 21:08:38
阅读次数:
111
Developing a multi-module application where the backend runs on Spring Boot and the frontend is powered by Angular is far less complicated than one mi ...
分类:
编程语言 时间:
2020-07-10 19:34:06
阅读次数:
88
API Java 的API(API: Application(应用) Programming(程序) Interface(接口)) 就是JDK中提供给我们使用的类,这些类将底层的代码实现封装了起来 Object类 Object类是Java语言中的根类,即所有类的父类。它中描述的所有方法子类都可以使用 ...
分类:
编程语言 时间:
2020-07-10 18:54:10
阅读次数:
54
定义线程池 第一步,先在Spring Boot主类中定义一个线程池,比如: @SpringBootApplication public class Application { public static void main(String[] args) { SpringApplication.run ...
分类:
编程语言 时间:
2020-07-10 18:41:19
阅读次数:
69
应用程序计时器 Application timers 应用程序计时器是内核对象,为任务提供简单的方法来计时事件,或者更常见的是,定期执行活动。介绍了Nucleus SE中计时功能的所有细节——准确性、中断处理等。 Using Timers 应用程序计时器可以配置为一次性的-即,它们被启动,然后,在指 ...
分类:
其他好文 时间:
2020-07-10 17:13:41
阅读次数:
105
1 2019-08-04 14:17:01.918 ERROR 11628 [ main] o.s.boot.SpringApplication : Application run failed 2 3 org.springframework.beans.factory.BeanCreationEx ...
分类:
其他好文 时间:
2020-07-10 17:02:48
阅读次数:
96
接口理论知识 一、接口测试概述1、什么是接口? 生活中的接口案例: 插座、水龙头、转接头、充电器、USB、电源 总结为:连接两个设备,并且进行物质传递 API(Application Program Interface):属于一种操作系统或程序接口。 GUI(Graphic User Interfa ...
分类:
其他好文 时间:
2020-07-10 15:20:21
阅读次数:
77