![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
风起枫落却无痕
这个作者很懒,什么都没留下…
展开
-
Unable to init enough connections amount! Only 24 of 32 were initialized
springboot集成redisson启动失败原创 2022-10-26 09:59:07 · 3947 阅读 · 1 评论 -
导出excel IView+Vue+Java
前端 await this.$vaHttp.post(manageApi.exportExcel, this.form, {responseType: 'blob'}).then(({data}) => { const blob = new Blob([data]) const fileName = `test.xlsx` const elink = document.createE原创 2021-02-10 09:25:05 · 199 阅读 · 0 评论 -
IDEA 在build output启动时报错,而且乱码
IDEA 在build启动时报错,而且乱码!!!解决了一阵个下午,加晚上。乱码解决进去以后在最后一行添加-Dfile.encoding=UTF-8编译时报错的原因时使用了lombok!!!!!! 无法使用set方法原创 2020-10-14 20:16:22 · 1761 阅读 · 3 评论 -
IDEA新建dubbo+springboot分布式项目
新建父工程和其下的三个子工程打开IDEA,左上角File-New-Project-选择maven-Next填上项目坐标-修改项目名删除taotao-parent下的src文件夹-在taotao-parent项目上邮件–New–Module–选择Maven–填写子工程坐标名taotao-common–Next修改工程名为taotao-common跟建taotao-common一样,新...原创 2020-07-04 10:01:00 · 715 阅读 · 0 评论 -
搭建dubbo服务踩过的坑!
dubbo服务提供者忘了添加@ComponentService实现类的接口类(interfaceClass)写成一样的了@Component@Service(version = "1.0", timeout = 10000, interfaceClass = ContentService.class)public class ContentServiceImpl implements ContentService {@Component@Service(version = “1.0”, t.原创 2020-05-30 23:35:41 · 296 阅读 · 0 评论 -
创建自己的Redis服务类,多态管理单机RedisPool和集群RedisCluster
接口定义:public interface JedisClient { String set(String key, String value); String get(String key); Boolean exists(String key); Long expire(String key, int seconds); Long ttl(String key); Long incr(String key); Long hset(String key, String field, St原创 2020-05-11 17:59:34 · 121 阅读 · 0 评论 -
com.alibaba.dubbo.rpc.RpcException: Fail to start server(url: dubbo://192.168.xx.x:20880/
Caused by: com.alibaba.dubbo.remoting.RemotingException: Failed to bind NettyServer on /192.168.56.1:20880, cause: Failed to bind to: /0.0.0.0:20880at com.alibaba.dubbo.remoting.transport.AbstractSer...原创 2020-04-29 12:26:02 · 775 阅读 · 0 评论 -
dubbo项目正常启动,dubbo却未发布到zookeeper ,dubbo-admin项目发现不了
分享一个坑爹的问题dubbo分布式项目搭建完成了,服务提供者正常启动但是却没有发布成功SpringBoot+Dubbo的项目D:\software\Java\jdk1.8.0_212\bin\java.exe -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.managemen...原创 2020-04-27 21:34:50 · 1670 阅读 · 0 评论 -
SpringBoot分布式taotao商城框架搭建-非dubbo项目
SpringBoot分布式taotao商城框架搭建-非dubbo项目SpringBoot+SpringDataJPA+IDEA先期准备MySql安装好IDEAmaven在新建工程之前需要安装MySql并新建数据库:taotao然后新建一个叫tb_user的表:create table tb_user( id bigint auto_increm...原创 2020-04-26 16:47:00 · 301 阅读 · 0 评论 -
SpringBoot项目Failed to configure a DataSource: 'url' attribute is not specified and no embedded datas
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.2020-04-26 09:59:57.562 ERROR 11508 --- [ main] o.s.b.d.LoggingFailureAnalys...原创 2020-04-26 10:06:32 · 156 阅读 · 0 评论 -
SpringBoot分布式项目 引入JPA,出现a bean named 'entityManagerFactory' that could not be found
当在maven中加入spring-boot-starter-data-jpa依赖的时候老是出现错误,解决办法:将下述parent中的version更换一下,有的版本出现问题,有的则不会 org.springframework.boot spring-boot-starter-parent 2.1.5.RELEASE改一下version后,spring-boot-st...原创 2020-04-24 10:18:01 · 687 阅读 · 0 评论 -
SpringBoot项目启动报错unable to start embedded tomcat Error creating bean with name 'httpPutFormContentFil
2020-04-24 09:44:46.167 ERROR 15232 --- [ost-startStop-1] o.s.b.c.embedded.tomcat.TomcatStarter : Error starting Tomcat context. Exception: org.springframework.beans.factory.BeanCreationException. ...原创 2020-04-24 09:51:37 · 3467 阅读 · 0 评论