人本善良

导航

上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 34 下一页

2019年1月2日 #

A bean with that name has already been defined in DataSourceConfiguration$Hikari.class

摘要: A bean with that name has already been defined in DataSourceConfiguration$Hikari.class 构建springcloud的时候一定要注意起微服务的版本 不然会报上面的错误 原因:SpringBoot和SpringClou 阅读全文

posted @ 2019-01-02 15:08 简简单单2018 阅读(2340) 评论(0) 推荐(0)

2018年12月27日 #

com.mysql.jdbc.Connection.isValid(I)Z

摘要: spring boot项目 运行提示这个错误的时候 只需要配置 阅读全文

posted @ 2018-12-27 22:36 简简单单2018 阅读(1163) 评论(0) 推荐(0)

unable to auto-detect email address

摘要: git错误:unable to auto-detect email address 2017年11月14日 08:51:08 陈君豪 阅读数:7914 git错误:unable to auto-detect email address 2017年11月14日 08:51:08 陈君豪 阅读数:791 阅读全文

posted @ 2018-12-27 22:29 简简单单2018 阅读(1052) 评论(0) 推荐(0)

2018年12月12日 #

Spring系列之Spring常用注解总结 转载

摘要: Spring系列之Spring常用注解总结 传统的Spring做法是使用.xml文件来对bean进行注入或者是配置aop、事物,这么做有两个缺点:1、如果所有的内容都配置在.xml文件中,那么.xml文件将会十分庞大;如果按需求分开.xml文件,那么.xml文件又会非常多。总之这将导致配置文件的可读 阅读全文

posted @ 2018-12-12 10:06 简简单单2018 阅读(193) 评论(0) 推荐(0)

2018年12月6日 #

maven pom.xml 项目报错

摘要: Failed to read artifact descriptor for org.springframework.boot:spring-boot-starter-web:jar:2.1.0.RELEASE 只需要 clean maven 然后剪切掉pom.xml文件的 节点 更新下maven 阅读全文

posted @ 2018-12-06 13:10 简简单单2018 阅读(145) 评论(0) 推荐(0)

2018年12月5日 #

spring boot+mybatis整合

摘要: spring boot+mybatis整合 LZ今天自己搭建了下Spring boot+Mybatis,比原来的Spring+SpringMVC+Mybatis简单好多。其实只用Spring boot也可以开发,但是对于多表多条件分页查询,Spring boot就有点力不从心了,所以LZ把Mybat 阅读全文

posted @ 2018-12-05 23:20 简简单单2018 阅读(245) 评论(0) 推荐(0)

理解 IntelliJ IDEA 的项目配置和Web部署(转载)

摘要: 理解 IntelliJ IDEA 的项目配置和Web部署 1、项目配置的理解 IDEA 中最重要的各种设置项,就是这个 Project Structre 了,关乎你的项目运行,缺胳膊少腿都不行。最近公司正好也是用之前自己比较熟悉的IDEA而不是Eclipse,为了更深入理解和使用,就找来各种资料再研 阅读全文

posted @ 2018-12-05 17:15 简简单单2018 阅读(310) 评论(0) 推荐(0)

2018年12月4日 #

springmvc简单教程

摘要: IDEA建立Spring MVC Hello World 详细入门教程(转自) 引子,其实从.NET转Java已经有几个月时间了,项目也做了不少,但是很多配置都是根据公司模板或者网上教程比忽略画瓢,对其中最简单的配置和设置并不完全理解,依旧是小白用户。最近项目不忙,重新梳理了一下Spring MVC 阅读全文

posted @ 2018-12-04 13:53 简简单单2018 阅读(251) 评论(0) 推荐(0)

2018年12月3日 #

lombok使用

摘要: 1。Lombok插件是可以省略实体类的get,set方法哦,就是不用在实体类里面给每个字段实现读写方法,Lombok会自动给你配好,说白了,好处就是看着舒服啊!啰嗦了点,哈哈 【1】既然是插件,那肯定要maven依赖的辣 我是在2018年8月20日使用1.18的,以后不知道这鬼东西更新多少了 <de 阅读全文

posted @ 2018-12-03 16:31 简简单单2018 阅读(108) 评论(0) 推荐(0)

2018年11月30日 #

springboot 项目 注意事项

摘要: SpringBoot出现下列错误。 Your ApplicationContext is unlikely to start due to a @ComponentScan of the default packageDestroy method on bean with name 'org.spr 阅读全文

posted @ 2018-11-30 13:24 简简单单2018 阅读(466) 评论(0) 推荐(0)

上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 34 下一页