随笔分类 -  疑难杂症

boot-01-heloworld-1.0-SNAPSHOT.jar中没有主清单属性
摘要:1 maven 打包后 运行 java -jar xxx.jar 报错 2 解决方案 pom 增加 <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven
64
0
0
Mybatis-plus 主键 类型 为 Long 查询时 会多三个 零
摘要:1 问题描述 2 解决方案 将Long 改为String 就可以了
49
0
0
Cannot locate specified Dockerfile: Dockerfile
摘要:1丶错误信息 :无法定位到Dockerfile 2丶解决方案 : 看路径是否写对 看Dockerfile 是否写对 3丶SUCCESS :
2076
0
0
Transfer failed for https://maven.aliyun.com/repository/public/org/apache/maven/plugins/maven-resour
摘要:1丶问题分析 gitlab 容器内部 mvn install 出错 一开始我还以为是远程仓库的url不行 于是疯狂修改settings.xml 结果还是不行, 然后猜测可能是容器内部没有网 ,百度 修改dns 配置 vi /etc/resolv.conf nameserver 114.114.114
2770
0
0
gitlab clone 地址 不对
摘要:1丶问题描述 2丶解决方案 1丶进入容器内部 docker exec -it 容器id bash 2丶编辑gitlab.yml vi /opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml 3丶此时看到罪魁祸首 修改ip地址 改为正确的
203
0
0
Please run `sudo gitlab-ctl reconfigure` to fix it and try again.
摘要:1gitlab 安装出错 在GITLAB_OMNIBUS_CONFIG 后加个 |
407
0
0
SpringCloud 和 SpringBoot 和Spring Cloud alibaba 版本冲突 导致 服务发现 服务注册 服务调用时报错
摘要:一丶错误一 一丶错误信息 org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'memberController': Unsatisfied dependenc
1691
0
0
No Feign Client for loadBalancing defined. Did you forget to include spring-cloud-starter-loadbalancer
摘要:1,错误信息 org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'memberController': Unsatisfied dependency expr
2016
0
0
An attempt was made to call a method that does not exist. The attempt was made from the following location:
摘要:1,SpringBoot 项目启动报错 *************************** APPLICATION FAILED TO START *************************** Description: An attempt was made to call a met
9168
0
0
java.sql.SQLException: Access denied for user ''@'192.168.56.1' (using password: NO)
摘要:1,yml 配置数据源 连接mysql 出错:java.sql.SQLException: Access denied for user ''@'192.168.56.1' (using password: NO) 2,解决方案 将 data-username 的 data- 去掉
365
0
0
springBoot 启动就停止
摘要:1丶错误原因 2丶解决方案 少个jar包 引入 spring-boot-starter-web 就可以了 <dependency> <groupId> org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</ar
426
0
0
Missing URI template variable 'memberId' for method parameter of type String
摘要:1丶错误信息:Missing URI template variable 'memberId' for method parameter of type String 2丶解决方案:路径中的值 要和 @PathVariable 参数定义的 形参名 一致
524
0
0
EduClient#getCourseInfoByCourseId(String) failed and no fallback available.
摘要:1丶服务调用出错:EduClient#getCourseInfoByCourseId(String) failed and no fallback available. 2丶解决方案: 写错啦。。。。。 3丶写对就行了
439
0
0
Could not find artifact com.aliyun:aliyun-sdk-vod-upload:pom:1.4.13 in alimaven (https://maven.aliyun.com/repository/public/)
摘要:1.阿里云 视频点播 上传 sdk maven 下载不到 2.解决方案 1.去官网下载sdk https://help.aliyun.com/document_detail/51992.html?spm=a2c4g.11186623.4.5.1fb9419amjLiYL#title-mbq-hhb-
737
0
0
npm ERR! node-sass@4.14.1 postinstall: `node scripts/build.js`
摘要:vue-element-admin-master npm install 出错 一丶报错信息 二丶解决方案 输入 npm config set sass_binary_site=https://npm.taobao.org/mirrors/node-sass 再次 npm install 启动 np
2575
0
0
主机 ping不通 CentOs7 ,CentOs7 联网
摘要:1CentOs7 联网 https://blog.csdn.net/greatxiaoting/article/details/81488441 https://blog.csdn.net/gaokcl/article/details/82834925?utm_medium=distribute.p
146
0
0
IDEA多模块项目报:Module "XXXXXX" must not contain source root "XXXXXXXX". The root already belongs to module "XXXXXXX"
摘要:1想让 application.properties 变成小叶子 2.右键Open Module Settings 修改 时 发现报错 3.解决方案 去掉根项目上所有的 4.完美解决
394
0
0
解决redis 报错:Could not get a resource from the pool; nested exception is io.lettuce.core.RedisConnectionException
摘要:1,正常的解决思路:修改redis.conf 修改 protected-mode yes 改为 protected-mode no 2,如果还报错 看防火墙是否关闭 3,关了防火墙 还报错,立刻马上检查 你的配置文件 看看后面是否有空格 !!!!!!!!!!!!!!!!!!! 我就是因为这个原因重装
11015
0
0
maven 加载不到xml文件
摘要:一、maven 加载不到xml文件 1、异常信息描述: AbstractHandlerExceptionResolver.java:194 |org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerException
185
0
0
点击右上角即可分享
微信分享提示
深色
回顶
收起