随笔分类 -  Java

How to configure Spring Security to allow Swagger URL to be accessed without authentication
摘要:整合SpringBoot ,Security ,Swagger. 阅读全文
posted @ 2018-03-15 15:47 darkcode 阅读(239) 评论(0) 推荐(0)
Spring MVC 实践
摘要:1,项目构建 pom.xml 2,Spring MVC 配置 3,Web 配置 4,控制器 5,页面 6,打包部署到Tomcat,访问结果 简单Spring MVC Demo完成。 阅读全文
posted @ 2018-03-15 11:52 darkcode 阅读(223) 评论(0) 推荐(0)
maven 中 slf4j的使用
摘要:Maven web 项目中日志记录 1.pom.xml中引用 2.日志配置log4j.properties 3.代码中使用 阅读全文
posted @ 2017-07-13 11:38 darkcode 阅读(47120) 评论(0) 推荐(1)
Spring bean
摘要:1.Spring bean 1)编写各个实体类 Java 各个类,描述对象 2)声明spring的配置文件 <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans 阅读全文
posted @ 2017-06-30 10:13 darkcode 阅读(143) 评论(0) 推荐(0)
Maven 创建 web 项目-环境搭建
摘要:1. Maven Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage 阅读全文
posted @ 2017-06-05 16:29 darkcode 阅读(158) 评论(0) 推荐(0)
CentOS7-JDK配置
摘要:Java JDK的配置 阅读全文
posted @ 2017-02-16 09:35 darkcode 阅读(230) 评论(0) 推荐(0)