- 博客(10)
- 收藏
- 关注
原创 idea+liunx实现远程调试
启动jar时指定开发的端口号,使用如下命令启动jar包 nohup java -Xdebug -Xrunjdwp:transport=dt_socket,address=port,suspend=n,server=y -jar *** & 其中port为端口号,***为你的应用。 在idea中进行如下配置 第4步填入你应用所在的远程服务器 第5步填入你上面设置的端口号。 点Ok完成 ...
2021-01-26 14:12:55
90
原创 SpringCloud 微服务工具集v1.1
SpringCloud 微服务工具集v1.1 版本: Hoxton SR6 1.什么是微服务 官网: https://www.martinfowler.com/articles/microservices.html In short, the microservice architectural style is an approach to developing a single application as a suite of small services, each running in i
2021-01-22 12:59:22
576
原创 spring通过上下文获取bean
通过类名称或class获取bean package com.hex.contract.common; import org.springframework.beans.BeansException; import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; import org.springframework.stereotype.Co
2021-01-21 16:23:16
485
原创 本地项目推送到gitee
在本地创建仓库后,先add,然后commit 使用下面命令推送到gitee可以避免被reject git pull origin master –allow-unrelated-histories git push -u origin master -f
2021-01-06 10:29:23
86
转载 idea创建springboot+mybatis+gradle项目
idea创建springboot+mybatis+gradle项目 在gradle.build中加入下列代码 buildscript {//修改仓库为阿里云仓库 repositories { maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' } } dependencies { //这里引入了spring-boot的版本管理,所以
2020-09-23 17:59:26
238
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人