随笔分类 -  错误记录

mount: /app/file: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount. helper program.
摘要:在docker中使用mount命令挂载文件出现:mount: /app/file: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program. doc
49
0
0
Using generated security password
摘要:#### spring security默认的用户名(user)和随机生成的密码,在控制台输出`Using generated security password: 1dfdgki3-q234-76hj-6h7l-1re87f546r646` #### 也可以手动配置 ``` spring: sec
1124
0
0
Failed to auto-configure a DataSource: 'spring.datasource.url' is not specified and no embedded data
摘要:导入一个新的springboot maven项目启动一直报这个错,查出来的答案都说是加注解把数据库扫描给排除掉,这种方式其实有点鸵鸟,项目原先是没问题的,现在导入到自己的环境启动不起来,那肯定是不能去改动代码的。 排查了一遍,发现是项目中的resources文件没有指定成资源文件,所以找不到数据库的
68
0
0
IDEA maven项目的java类文件左下角出现红色的J标识
摘要:找到对应的pom文件,右键->maven->Reload project
648
0
0
idea去掉Smart commands execution提示
摘要:一、在 idea 界面,连按两下 Shift ,出现界面 二、输入registry,选择Registry... 三、找到terminal.shell.command.handling,取消勾选
130
0
0
idea maven项目project不显示项目目录
摘要:本来正常的项目,有天打开Project,没有项目的目录结构显示了,试过几个方法,有说删除.idea和.iml文件的,我试过不行,后来对比其他几个项目发现少了.iml文件 缺少.iml文件,在终端输入如下代码,然后等待下载就好 mvn idea:module
822
0
0
Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M2:enforce (enforce-rules) on project usercenterapi-common-service:
摘要:在本地执行mvn clean compile命令编译时出现以下错误 我是因为依赖冲突引起的,在这个错误上面一点一般会有提示,仔细看看冲突的位置 找到这两个依赖,如果用不上的话直接去掉就行
1874
0
0
编译项目报错:Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed.
摘要:执行mvn clean compile或mvn clean install命令时报以下错误 Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. 输入以下命令
4985
0
0
.ssh/config line 4: garbage at end of line; "Enterprise"
摘要:命令行打开.ssh文件夹 open ~/.ssh 删除.ssh中所有的文件
1302
0
0
点击右上角即可分享
微信分享提示
深色
回顶
收起