![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
白猫黑猫
致力于研究、学习计算机网络知识,从天亮到天黑从天黑到天亮
展开
-
Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.
09-Jul-2018 23:02:37.393 信息 [http-nio-8080-exec-1] org.apache.catalina.core.ApplicationContext.log Initializing Spring FrameworkServlet 'SpringMVC'09-Jul-2018 23:02:38.319 严重 [http-nio-8080-exec-1]...原创 2018-07-10 09:46:08 · 6178 阅读 · 0 评论 -
spring springmvc mybatis jsp依赖包
阿里仓库https://maven.aliyun.com/mvn/search官网仓库https://mvnrepository.com/<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocat...翻译 2019-07-14 00:33:32 · 416 阅读 · 0 评论 -
搭建分布式工程
依赖包 :https://blog.csdn.net/qq_41442848/article/details/95812816阿里仓库https://maven.aliyun.com/mvn/search官网仓库https://mvnrepository.com/--/***/---1、创建parent聚合工程 pom2、创建common工具工程 jar3、创...原创 2019-07-14 00:34:28 · 296 阅读 · 0 评论 -
svn存放新项目和导入新项目
导入svn(paeent父工程)1、svn在 help中在线下载安装 http://subclipse.tigris.org/update_1.8.x 或者使用本地已安装的svn2、右击项目parent工程 选择Team 》》share project》》选svn》》http://ip/svn/project(项目存放地址)3、完成后 进入svn库的界面 取消.settings...原创 2019-07-16 22:22:21 · 1092 阅读 · 0 评论 -
springmvc xml 配置
1、springmvc配置<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="h...原创 2019-07-10 11:11:18 · 228 阅读 · 0 评论 -
centos7启动iptables时报Job for iptables.service failed because the control process exited with error cod
转:https://blog.csdn.net/sinat_29821865/article/details/80982250启动iptables: service iptables start报错如下:Job for iptables.service failed because the control process exited with error code. See ...转载 2019-07-18 20:47:35 · 3265 阅读 · 0 评论 -
单列模式 工厂模式 观察者模式 转载
作者:MarinaTsang来源:CSDN原文:https://blog.csdn.net/MarinaTsang/article/details/84141785版权声明:转载链接!单例设计模式概念:全局只有一个实例,自行实例化对象,自行向整个系统提供这个实例。应用场景:需要全局只有一个实例的时候,如保存用户信息。只有一个访问途径优点:全局只有一个实例,避免了频繁...转载 2019-07-12 14:49:48 · 113 阅读 · 0 评论 -
状态模式
https://www.runoob.com/design-pattern/state-pattern.html状态模式在状态模式(State Pattern)中,类的行为是基于它的状态改变的。这种类型的设计模式属于行为型模式。在状态模式中,我们创建表示各种状态的对象和一个行为随着状态对象改变而改变的 context 对象。介绍意图:允许对象在内部状态发生改变时改变它的行为,对...翻译 2019-07-12 14:52:03 · 79 阅读 · 0 评论 -
分页插件pageHelperVS 分页
**************************PageHelper插件使用分页查询**************************一、<!-- PageHelper插件配置--><configuration> <plugins> <plugin interceptor="com.githu...原创 2019-07-16 22:21:47 · 412 阅读 · 0 评论 -
nginx图片文件路径映射 nginx图片服务器
在cong >nginx.conf>server下增加vsftp映射路径1、完成后先停止后再重启2、再修改访问文件的权限改成777原创 2019-07-22 10:53:25 · 2821 阅读 · 1 评论 -
spring启动入口
web项目中,Spring启动是在web.xml配置监听器,如下所示:<!--配置Spring上下文监听器--> <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>...转载 2019-08-06 16:34:25 · 1366 阅读 · 0 评论 -
org.apache.ibatis.binding.BindingException: Mapper method 'com.four.numfour.dao.PtableMapper.updatTb
错误:org.apache.ibatis.binding.BindingException: Mapper method 'com.four.numfour.dao.PtableMapper.updatTbaleImage' has an unsupported return type: class com.four.numfour.pojo.Ptable at org.apach...原创 2019-08-19 19:12:41 · 3075 阅读 · 1 评论 -
Nodejs安装
1、下载安装包 进入http://nodejs.cn/download/下载适合windows64位系统的安装包 默认安装,也可以将nodejs安装在D盘2、测试命令 安装完成后打开cmd窗口 输入node -v和npm -v测试是否已经成功安装3、修改node_global和node_cache配置。 因为安装后npm的以上2个配置路径是默认在是C盘中,为了不占C盘...翻译 2019-08-12 09:52:41 · 183 阅读 · 0 评论 -
GC配置
通过设置verbose参数来输出JVM的gc情况,命令如下:-verbose:gc或者-XX:+PrintGC1、在Eclipse中可以通过Run As>Run Configurations>Arguments>VM Arguments进行设置。2、或者这个在D盘放到指定的盘的路径下我这里是F盘下-verbose:gc -Xms20M -Xmx20M...翻译 2019-07-13 10:50:00 · 291 阅读 · 0 评论 -
aop实现原理 aop底层源码
*********************************************************************************************************@EnableAspectJAutoProx 这个是什么类 @Import(AspectJAutoProxyRegistrar.class) 导入组件AspectJAutoPro...翻译 2019-07-12 19:10:18 · 182 阅读 · 0 评论 -
session 获取存放及原理
//存入session@RequestMapping("/login")public String login(Model model, HttpServletRequest request){ HttpSession session = request.getSession(); //获取session session...原创 2019-07-09 12:25:29 · 312 阅读 · 0 评论 -
[RMI TCP Connection(4)-127.0.0.1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerB
08-Jul-2018 14:47:22.656 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/9.0.808-Jul-2018 14:47:22.685 信息 [main] org.apache.catalina.startup.Ve...原创 2018-07-08 21:40:45 · 8530 阅读 · 0 评论 -
Git使用详细教程
原文地址:http://www.admin10000.com/document/5374.html参考地址:https://blog.csdn.net/wangrenbao123/article/details/55511461/ 一:Git是什么? Git是目前世界上最先进的分布式版本控制系统。 二:SVN与Git的最主要的区别? SVN是集中式版本控制系统,版本库...转载 2018-09-19 11:01:37 · 116 阅读 · 0 评论 -
List、Set、HashMap、HashSet 继承与接口关系
1、HashMap 继承与接口关系图2、HashSet 继承与接口关系(HashSet 独立图)3、List 、ArrayList 、HashSet、Set、关系图原创 2018-09-26 15:02:57 · 3310 阅读 · 0 评论 -
aop静态代理CglibAopProxy 动态代理DynamicAopProxy 实现原理
aop动态代理(JdkDynamicAopProxy) aop静态代理(ObjenesisCglibAopProxy) 底层实现源码falseaop代理底层根源实现,字节码原创 2019-05-27 18:42:41 · 709 阅读 · 0 评论 -
The origin server did not find a current representation for the target resource 报错404 @ResponseBody
报错404查过前端提交参数 ,格式,代码,字符没发现什么问题后用postman提交后发现还是404 ,猜测应该是后端的问题,但是后端返回数据又是正常的,控制台有输出返回的结果集,就算debug也能看到数据,那问题就应该在前端和后端中间出的差错喽!所以。。。前端是AJAX提交看看@ResponseBody的作用 ,我这里不使用model 或request(百度后)...原创 2019-06-12 20:31:27 · 760 阅读 · 0 评论 -
Error creating bean with name 'userServiceImpl'Injection of autowired 分布式新搭建项目无法自动装配 creating bean
错误:Error creating bean with name 'userServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field:...原创 2019-05-29 15:19:20 · 15315 阅读 · 1 评论 -
ISO8859-1转UTF-8字符格式 配置 tomcat web.xml 字符乱码
第一种 在类方法中单个转换 转换字符码 String loginname = user.getLoginname(); byte[] b = loginname.getBytes("ISO8859-1"); 把ISO8859-1转换成UTF-8; loginname = new String(b,"UTF-8");...原创 2019-06-08 12:58:09 · 1189 阅读 · 0 评论 -
Failed to load D:\Andorid\AndroidSDK\android-sdk-windows\build-tools\29.0.0-preview\lib\dx.jarUnknow
[2019-06-04 13:24:54 - Dex Loader] Failed to load D:\Andorid\AndroidSDK\android-sdk-windows\build-tools\29.0.0-preview\lib\dx.jar[2019-06-04 13:24:54 - HelloWorld] Unknown error: Unable to build: the...原创 2019-06-04 14:06:31 · 3868 阅读 · 0 评论 -
spring MVC 原理机制 请求 步骤
spring MVC 原理机制1、客户端 发送请求到控制中心2、(DispatcherServlet是配置在web.xm的配置l)由(DispatcherServlet)控制中心处理过来的请求转发到 Handler调用HandlerMapping分析URL头部信息 然后就找到了跳转地址 (其实就是找到controllerd的地址再到方法的地址)3、在给视图有视图处理后返回...原创 2019-06-04 14:26:31 · 87 阅读 · 0 评论 -
Spring Cloud
原文地址:https://spring.io/projects/spring-cloudSpring Cloud为开发人员提供了快速构建分布式系统中一些常见模式的工具(例如配置管理,服务发现,断路器,智能路由,微代理,控制总线,一次性令牌,全局锁定,领导选举,分布式会话,集群状态)。分布式系统的协调导致锅炉板模式,使用Spring Cloud开发人员可以快速站起来实现这些模式的服务和应用程序。...翻译 2019-06-27 13:45:38 · 76 阅读 · 0 评论 -
result 返回提示信息 形式 参数
public class getSet {private boolean success = true; //是否成功private String msg = "操作成功"; //提示信息private Object obj = null; //其它信息private Map...原创 2019-07-09 11:21:49 · 824 阅读 · 0 评论 -
springboot service.impl.PtablServiceimpl required a bean of type 'com.four.numfour.Ptablemapper
修改前修改后报错:Description:Field ptableMapper in com.four.numfour.service.impl.PtableServiceimpl required a bean of type 'com.four.numfour.dao.PtableMapper' that could not be found.The inject...原创 2019-08-18 15:36:40 · 889 阅读 · 0 评论