- 博客(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
空空如也
shardingshpere+mybatis项目不支持LocalDateTime
2021-06-22
android怎么获取动态添加的编辑框的内容
2017-07-19
TA创建的收藏夹 TA关注的收藏夹
TA关注的人