![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
随笔
文章平均质量分 61
窗外风雨声
新手上路,加油加油
展开
-
2021-06-15
Bean Validator报错错误概述公司项目集成spring bean validator 做基本入参校验,却一直报这个错:javax.validation.UnexpectedTypeException: HV000030: No validator could be found for constraint 'javax.validation.constraints.NotEmpty' validating type 'java.lang.String'. Check configuratio原创 2021-06-15 14:58:44 · 155 阅读 · 0 评论 -
页面没有加载controller和service时报的错
angular.min.js:80 Error: [ng:areq] http://errors.angularjs.org/1.2.9/ng/areq?p0=uploadController&p1=not%20a%20function%2C%20got%20undefined at angular.min.js:2 at ub (angular.min.js:14)...原创 2019-06-26 22:32:56 · 204 阅读 · 0 评论 -
Linux下设置zookeeper开机自启
具体设置步骤:https://www.cnblogs.com/zhangmingcheng/p/7455278.html解决服务 zookeeper 不支持 chkconfig:https://blog.csdn.net/qq_30865917/article/details/86007048转载 2019-06-17 17:35:19 · 268 阅读 · 0 评论 -
解决代码有错项目中却不报红叉的问题
原创 2019-06-16 14:37:56 · 750 阅读 · 0 评论 -
html,xml,jsp,java代码等的格式化排版设置
原创 2019-06-16 14:02:33 · 571 阅读 · 0 评论 -
mapper对象注入失败不仅要看java文件还要看xml文件!,因为里面有一个namespace
RT原创 2019-06-15 23:16:15 · 325 阅读 · 0 评论 -
后台报错NoSuchMethodError
严重: Servlet.service() for servlet [youlexuanweb] in context with path [] threw exception [Handler processing failed; nested exception is java.lang.NoSuchMethodError: com.offcn.service.BrandService.fin...原创 2019-06-14 22:29:52 · 290 阅读 · 0 评论 -
导包
JSTL(JSP标准标签库)要导入的包有:jstl.jar & standard.jar,导入方式为:<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>jQuery<script type="text/javascript" src="js/jquery-3.3.1.min...原创 2019-04-19 20:44:12 · 161 阅读 · 0 评论 -
易错点总结
1.static是成员修饰符,只能修饰成员位置的变量,方法或者是类,不能修饰局部的。原创 2019-03-02 11:20:16 · 163 阅读 · 0 评论 -
随笔:in.next()和in.nextLine()的区别以及使用方法,冒泡排序和选择排序
这两个语句都是用来从控制台接受字符串的,区别是:next(); 这个函数会扫描从有效字符起到空格,Tab,回车等结束字符之间的内容并作为String返回。nextLine(); 这个函数会直接输出你输入的内容,即使你什么都没输入直接回车他也会输出。next();什么都不输入直接敲回车不会返回,而nextLine()即使不输入东西直接敲回车也会返回。当你前面定义了.nextInt();等函数...转载 2019-02-23 14:21:01 · 13180 阅读 · 0 评论