上一页 1 ··· 9 10 11 12 13 14 下一页
摘要: 解决思路: 1、SpringMVC springMVC容器中需要添加相关配置,其中的 2、SpringBoot SpringBoot中的就需要区分是1.X还是2.X这个里面是有说法的,可以去网上百度 通过@Configuration注解将拦截器配置实现,这个只是其中一种方式; SpringBoot在 阅读全文
posted @ 2019-05-10 14:16 龙X 阅读(7274) 评论(0) 推荐(0) 编辑
摘要: 站在巨人的肩膀上,感谢! https://www.jianshu.com/p/ec40a82cae28?utm_campaign=maleskine&utm_content=note&utm_medium=seo_notes&utm_source=recommendation 1 引言# 本文主要讲 阅读全文
posted @ 2019-05-09 16:45 龙X 阅读(213) 评论(0) 推荐(0) 编辑
摘要: protected WebApplicationContext createWebApplicationContext(ServletContext sc) { Class contextClass = determineContextClass(sc); if (!ConfigurableWebApplicationContext.class.isAssignableFrom(contextC... 阅读全文
posted @ 2019-05-08 19:57 龙X 阅读(2607) 评论(0) 推荐(0) 编辑
摘要: -Dapollo_profile=github,auth-Ddev_meta=http://localhost:8080/-Dserver.port=8070-Dspring.datasource.url=jdbc:mysql://localhost:3306/ApolloPortalDB?char 阅读全文
posted @ 2019-05-08 19:51 龙X 阅读(1652) 评论(0) 推荐(0) 编辑
摘要: 版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u012562943/article/details/833051021、声明Bean的注解@Component 组件,没有明确的角色。 @Service 在业务逻辑层使用(service层)。 @Re 阅读全文
posted @ 2019-05-08 19:50 龙X 阅读(169) 评论(0) 推荐(0) 编辑
摘要: <resultMap id="userResult" type="com.cloudwalk.shark.model.User"> <id property="id" column="ID" jdbcType="INTEGER"></id> <result property="userName" c 阅读全文
posted @ 2019-05-08 19:39 龙X 阅读(1185) 评论(0) 推荐(0) 编辑
摘要: springboot2.x 的 RedisCacheManager变化 springboot2.x 的 RedisCacheManager变化 springboot2.x 的 RedisCacheManager变化 springboot2.x 的 RedisCacheManager变化 spring 阅读全文
posted @ 2019-05-08 19:23 龙X 阅读(3724) 评论(0) 推荐(0) 编辑
摘要: Intellij IDEA使用(十四)—— 在IDEA中创建包(package)的问题 2018年02月24日 17:24:49 _云卷云舒_ 阅读数:6264 标签: intellij idea 更多 个人分类: IntelliJ IDEA Intellij IDEA使用(十四)—— 在IDEA中 阅读全文
posted @ 2019-05-08 19:18 龙X 阅读(4528) 评论(0) 推荐(0) 编辑
摘要: org.springframework.web.context.ContextLoaderListener ContextLoaderListener.java public class ContextLoaderListener extends ContextLoader implements ServletContextListener { public Conte... 阅读全文
posted @ 2019-05-08 15:32 龙X 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 研发的工作就是写代码,我们通常写的都是java的类。这个东东计算机是无法识别的,所以需要需要一个东东帮我们做转化,这个就是编译器, 将java转换成class,但是class文件还不是二进制文件不是0101,这个时候就需要把class加载到我们的计算机中,这个时候就会用到我们的类加载机制; 也就是加 阅读全文
posted @ 2019-04-03 20:37 龙X 阅读(227) 评论(0) 推荐(1) 编辑
上一页 1 ··· 9 10 11 12 13 14 下一页