![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Bug记录
DY丶老周
这个作者很懒,什么都没留下…
展开
-
springboot整合mybatis问题:ORA-00918: 未明确定义列
springboot整合mybatis问题:ORA-00918: 未明确定义列在做查询的时候,一直在提示:控制台报错:### Cause: java.sql.SQLSyntaxErrorException: ORA-00918: 未明确定义列; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: ORA-00918: 未明确定义列sql报错:ORA-00918: column ambiguous原创 2021-05-08 10:02:21 · 835 阅读 · 2 评论 -
使用activiti报错:org.activiti.bpmn.exceptions.XMLException: cvc-complex-type.2.4.a:
使用activiti报错:org.activiti.bpmn.exceptions.XMLException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'process'. One of '{"http://www.omg.org/spec/BPMN/20100524/MODEL":import, "http://www.omg.org/spec/BPMN/20100524/MODEL":extensi原创 2021-01-14 16:01:15 · 3278 阅读 · 0 评论 -
Non-terminating decimal expansion; no exact representable decimal result.
BigDecimal做除法运算报错:Exception in thread "main" java.lang.ArithmeticException: Non-terminating decimal expansion; no exact representable decimal result. at java.math.BigDecimal.divide(BigDecimal.java:1693) at com.jdcloud.openapi.service.impl.AAA.main(AAA.j原创 2020-11-21 17:13:13 · 397 阅读 · 0 评论 -
nested exception is org.apache.ibatis.binding.BindingException: Parameter ‘xxx‘ not found.
使用mybatis,入参为对象,绑定sql异常报错信息:Caused by: org.apache.ibatis.binding.BindingException: Parameter 'createUser' not found. Available parameters are [page, param1, paramCondition, param2] at org.apache.ibatis.binding.MapperMethodTParamMap.get(MapperMethod.java原创 2020-10-29 14:01:54 · 2436 阅读 · 0 评论 -
IDEA导入项目有个小J
IDEA导入项目类上都有个小J这种情况还不能编译处理方法:1.选对了jdk版本刚导进的项目,如果idea没有配置默认jdk,就会是一个空的jdk路径2.配置sources全部点完之后是这样的:小J也消失了接下来就是编译,启动服务欢迎大神指导,可以留言交流!======================本人原创文章,转载注明出入!=================...原创 2020-10-22 09:28:33 · 794 阅读 · 1 评论 -
springboot整合knife4j/swagger报错
springboot整合knife4j/swagger报错:Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.2020-10-19 10:27:11.485 ERROR 42996 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter : ********原创 2020-10-19 10:42:39 · 1157 阅读 · 0 评论 -
springboot整合Elasticsearch报错:400问题
Elasticsearch exception [type=illegal_argument_exception, reason=request [/blog/article/_search] contains unrecognized parameter: [ccs_minimize_roundtrips]]这个问题找了够2天时间了,记得之前搭建过一次,是可以调用成功的,昨天又搞了一个工程,调用失败。 之前整合成功的项目引起原因:springboot的版本导致的之前整合成功的版本为:<原创 2020-09-18 15:39:07 · 9270 阅读 · 2 评论 -
启动kibana无法访问,无法登录
Login is currently disabled. Administrators should consult the Kibana logs for more details.启动kibana无法登录:引起原因:是因为我之前的ES加密了,导致启动Kibana报错原创 2020-09-16 17:35:22 · 5660 阅读 · 2 评论 -
ES(Elasticsearch)访问:集群健康值: 未连接
ES(Elasticsearch)访问:http://localhost:9100/一直提示:集群健康值: 未连接原因是:因为给ES配置了加密,用之前的访问链接访问不到,访问的时候需要用户认证。处理办法:1.找到ES的配置文件 elasticsearch.yml 添加http.cors.allow-headers: Authorization,Content-Type可以都添加上访问链接不能是之前的http://localhost:9100应改为:http://原创 2020-09-14 16:44:07 · 2755 阅读 · 2 评论 -
Linux操作提示:Permission denied
Linux操作提示:sh: /connector/xm/xxx: Permission deniednpm ERR! code ELIFECYCLE这是没有权限,需要设置权限把报错的sh: 后面的全复制过来,执行命令:chmod 777 /connector/xm/xxx注意:根据要求设置权限大小之后再执行刚才报错操作就OK了欢迎大佬们留言评论,共同学习!!!感谢!!!===========================原创文章,转载注明出处!...原创 2020-09-08 17:30:38 · 449 阅读 · 0 评论 -
xml中使用 & 报错:XML Parser Error on line 35: 在实体引用中, 实体名称必须紧跟在 ‘&‘ 后面。
在实体引用中, 实体名称必须紧跟在 ‘&’ 后面。& 在xml中认定为非法字符。需要修改为: &再次使用就OK欢迎大神指导,可以留言交流!======================本人原创文章,转载注明出入!=================...原创 2020-08-17 10:35:55 · 830 阅读 · 0 评论 -
Fielddata is disabled on text fields by default. Set fielddata=true on [xxx]
使用es查询的时候报错:Fielddata is disabled on text fields by default. Set fielddata=true on [createTime] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field in原创 2020-07-18 19:34:27 · 5794 阅读 · 4 评论 -
Error running ‘Bootstrap‘:Cannot run program
启动IDEA时提示:Error running ‘Bootstrap’: Cannot run program “D:\idea\IntelliJ IDEA 2019.2.1\jbr\bin\java.exe” (in directory “D:\xm\contract”): CreateProcess error=206, 文件名或扩展名太长找到.idea/workspace.xml文件在标签:<component name="PropertiesComponent">添加:&原创 2020-07-07 10:50:45 · 1851 阅读 · 0 评论 -
There is no getter for property named xxx in xxx
这里记录一下bug.使用mybatis报错!启动项目是正常的,访问报错:2020-06-30 11:38:28.988 | ERROR | | | http-nio-8080-exec-1 -> CustomExceptionResolver#: | CustomExceptionResolver:org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.Reflect原创 2020-06-30 13:49:41 · 4524 阅读 · 0 评论 -
Idea启动项目:Process finished with exit code 0
Idea启动:Process finished with exit code 0这个在网上查了下,说是不是启动报错.而是启动完了,但是我们的控制台就这一句话,然后还把服务给停了,郁闷…目前想到了2个解决方法:1.如果是之前使用过的项目报错,就检查下pom最近是否新添加什么依赖了,或者删除什么依赖了2.如果是刚建的项目启动就报这个错,就把之前可以跑起来的项目/demo的依赖复制过来!propertiesdependencies这两个标签里的拿过来就差不多我新建出来的项目是没有 spring-b原创 2020-06-23 15:37:16 · 14879 阅读 · 8 评论 -
Faithfully yours, nginx. 启动nginx访问报错
An error occurred.Sorry, the page you are looking for is currently unavailable.Please try again later.If you are the system administrator of this resource then you should check the error log for details.Faithfully yours, nginx.访问nginx启动报错:引起原因:是因为后台原创 2020-06-19 17:49:16 · 37510 阅读 · 2 评论 -
Font STSongStd-Light with UniGB-UCS2-H is not recognized.导出pdf报错
Font ‘STSongStd-Light’ with ‘UniGB-UCS2-H’ is not recognized.使用 itextpdf 导出报表,不显示中文处理!但是处理好了又会报个错:Font ‘STSongStd-Light’ with ‘UniGB-UCS2-H’ is not recognized.Font font = new Font(BaseFont.createFont( "STSongStd-Light" ,"UniGB-UCS2-H",BaseFont.NOT_EMBEDD原创 2020-06-17 16:25:38 · 5810 阅读 · 2 评论 -
org.springframework.mail.MailSendException: Failed messages: com.sun.mail.smtp.SMTPSendFailedExcepti
Failed messages: com.sun.mail.smtp.SMTPSendFailedException: 554 DT:SPM 126 smtp7,DsmowACHo0FCY+hepsrTGQ–.1668S2 1592288066,please see http://mail.163.com/help/help_spam_16.htm?ip=xxxx&hostid=smtp7&time=1592288066问题描述:使用springboot发送邮件.测试的时候也没有发了多少原创 2020-06-16 14:28:57 · 14634 阅读 · 1 评论 -
使用gradle build项目报错:Main class name has not been configured and it could not 问题处理
Execution failed for task ‘:api:bootJar’.> Main class name has not been configured and it could not这里记录一个Bug处理:Task :api:bootJar FAILEDFAILURE: Build failed with an exception.What went wrong:Execution failed for task ‘:api:bootJar’.Main clas原创 2020-06-03 14:25:36 · 19265 阅读 · 3 评论