自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 问答 (2)
  • 收藏
  • 关注

原创 String s = new String("xyz")创建了几次对象

错误的回答:创建一个对象和他的引用(引用并不能算个对象)在java中除了8中基本类型外,其他的都是类对象以及其引用。所以"xyz"在java中它是一个String对象.对于string类对象来说他的对象值是不能修改的,也就是具有不变性。eg:Strings="hello";s="world";Strings1="hello";Strings2=newString("he...

2019-07-29 10:02:34 402

原创 javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.h: No trusted certificate found

错误日志:CWPKI0022E:SSL握手故障:已从目标主机:端口“api.weixin.qq.com:443”发送主题DN为“CN=mp.weixin.qq.com,OU=R&D,O=ShenzhenTencentComputerSystemsCompanyLimited,L=Shenzhen,ST=Guangdong,C=CN”的签署者。可能需要将...

2019-04-22 16:52:23 2151

原创 微信公众号推送用户图片消息

业务大致逻辑:1.授权获取code2.通过code获取openid3.上传图片到微信服务器获取mediaId4.公众号推送图片到用户@Overrideprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {...

2019-04-22 15:14:58 3021 1

原创 springboot 集成rabbitmq

步骤一:导入maven依赖:<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-amqp</artifactId></dependency>步骤二:引入RabbitMQ基本的配置...

2019-03-19 14:53:34 140

原创 jQuery ajax中 使用append()方法添加的元素事件无效

$(function () { var obj = null; $.ajax({ url: "/navbor/navbor", type: "get", data: obj, dataType: "json", success: function (data) { var ht...

2019-03-18 16:56:51 2619

原创 springboot中使用@ConfigurationProperties注解无法读取到application.propeities

解决办法使用@ConfigurationProperties(prefix = "application")@PropertySource("classpath:application-redis.properties")替代eg:@ConfigurationProperties(prefix = "application")@PropertySource("class...

2019-03-18 16:44:25 12890 5

原创 springboot项目整合redis乱码

之前SSH项目redis乱码解决:<!-- 配置RedisTemplate --><bean id="redisTemplate" class="org.springframework.data.redis.core.RedisTemplate"> <property name="connectionFactory" ref="jedisConne...

2019-03-18 16:40:45 221

原创 springcloud maven项目 在本地用idea运行可以,放阿里云服务器报错

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scopedTarget.eurekaApplicationInfoManager' defined in class path resource [org/springframework/cloud/...

2019-03-01 10:06:23 1040 2

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除