码迷,mamicode.com
首页 >  
搜索关键字:beans    ( 2634个结果
2-形象理解SpringIOC(控制反转)
通过一个学生选择课程的demo 以3中不同的实现方式理解一下springIOC,体会IOC的好处: 声明一个ICourse接口: package org.ks.newinstance; public interface ICourse { void learn(); //学习。。。。 } 两个ICo ...
分类:编程语言   时间:2020-03-17 00:08:20    阅读次数:88
Referenced file contains errors (xml文件第一行小红叉错误)
在eclipse中开发网页时,经常会遇到写xml文件时第一行无缘无故报错。在最左面的行数上面报出一个小红叉, 点击查看错误信息:Referenced file contains errors (http://www.springframework.org/schema/beans......之类的。 ...
分类:其他好文   时间:2020-03-15 14:59:50    阅读次数:64
nacos-spring-project 的注解配置
spring 项目可以通过注解方式使用 nacos-client 使用示例 @Configuration @EnableNacosConfig(globalProperties = @NacosProperties(serverAddr = "127.0.0.1:8848")) @NacosProp ...
分类:编程语言   时间:2020-03-14 16:22:02    阅读次数:328
Spring Cloud微服务安全实战_6-2_jwt认证之认证服务改造
一 、认证服务器上发Token的改造:uuid字符串改造为JWT 之前生成的token都是一个无意义的字符串uuid,也存在着上一篇 https://www.cnblogs.com/lihaoyang/p/12203586.html 所说的几个问题。本篇就要把token改造成JWT。 在认证服务器配 ...
分类:编程语言   时间:2020-03-14 12:57:05    阅读次数:75
严重: Exception sending context initialized...org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 6 in XML document from class path resource [applicationContext.xml] is invalid;
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerorg.springframework ...
分类:移动开发   时间:2020-03-13 18:52:07    阅读次数:92
注解事务头部
<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
分类:其他好文   时间:2020-03-13 14:33:18    阅读次数:63
listener中获取spring中管理的bean
看第一个例子: 自定义一个listener: package com.test.common.listener; import javax.servlet.ServletContextEvent; import javax.servlet.ServletContextListener; import ...
分类:编程语言   时间:2020-03-11 23:22:37    阅读次数:72
关于hibernate的哪些事儿
hibernate与spring整合 方式一:无障碍整合:带Hibernate配置文件 <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xs ...
分类:Web程序   时间:2020-03-11 11:16:41    阅读次数:88
: No qualifying bean of type 'com.picc.hfms.budget.dao.StListServiceDao' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations:
今天在启动微服务项目的时候报错: Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'budgetServiceImpl': Unsat ...
分类:其他好文   时间:2020-03-11 01:25:28    阅读次数:85
ehcache缓存
ehcache缓存 1.缓存框架的作用:减轻服务器的压力。 2.缓存框架 的分类: ①单点缓存框架(ehcache、guacache、oscache),是以java语言写的,在单个jvm中缓存的框架。 ②分布式缓存框架redis 共享缓存框架。 跨语言。 3.缓存框架的基本流程 ①流程图如下 如果运 ...
分类:系统相关   时间:2020-03-10 22:07:40    阅读次数:79
2634条   上一页 1 ... 22 23 24 25 26 ... 264 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!