- 博客(12)
- 资源 (1)
- 收藏
- 关注
原创 If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
学习Spring Boot 过程中遇到了下列这个问题Description:Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.//无法配置数据库,没有指定url属性,并且无法配置embedded datasou...
2018-09-28 17:08:39 120354 68
原创 Consider revisiting the conditions above or defining a bean of type 'javax.sql.DataSource' in your c
Spring Boot开发中 遇到的问题描述:Description:Parameter 0 of constructor in org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration required a bean of type 'javax.sql.DataSource' that c...
2018-09-28 16:01:49 13050 2
转载 This application has no explicit mapping for /error, so you are seeing this as a fallback.
转载自:https://www.cnblogs.com/lilinzhiyu/p/7921890.html最近在学Spring Boot的时候老是遇到各种各样的错误, 对着代码一步一步敲的,报了上述这个错误.出现这个异常说明了跳转页面的url无对应的值.原因1:Application启动类的位置不对.要将Application类放在最外侧,即包含所有子包 原因:spring-bo...
2018-09-28 13:59:54 1098
原创 Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could
最近在学习Spring boot的时候遇到 这样一个错误(编程工具:IDEA)Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.中文翻译:配置数据源失败:未指定“URL”属性,无法配置嵌入式数据源。 ...
2018-09-27 18:31:33 1203 1
转载 关于spring boot自动注入出现Consider defining a bean of type 'xxx' in your configuration问题解决方案
转载自: 版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/a532672728/article/details/77702772 搭建完spring boot的demo后自然要实现自动注入来体现spring ioc的便利了,但是我在实施过程中出现了这么一个问题,见下面,这里找到解决办法记录下来,供遇到同样的问题的同僚参考 ...
2018-09-27 10:29:25 22851 4
转载 Spring 中@NotNull, @NotEmpty和@NotBlank之间的区别是什么?
转载自: https://www.cnblogs.com/Terry-Wu/p/8134732.html简述三者区别@NotNull://CharSequence, Collection, Map 和 Array 对象不能是 null, 但可以是空集(size = 0)。 @NotEmpty://CharSequence, Collection, Map 和 Array 对象不能是 ...
2018-09-26 17:22:30 611
转载 Android Tangram模型:连淘宝、天猫都在用的UI框架模型你一定要懂
转载自:https://blog.csdn.net/carson_ho/article/details/72123380前言Tangram 是阿里出品、用于快速实现组合布局的框架模型,在手机天猫 Android & iOS版 内广泛使用今天我将对Tangram 模型 进行全面介绍,希望你们会喜欢。 目录1. 为什么要使用 Tangram 模型在讲解 Tang...
2018-09-25 18:11:30 425
转载 解决:Connections could not be acquired from the underlying database!
转载自:http://jyao.iteye.com/blog/1915561 og4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.org.quartz.SchedulerConfigException: Failure occured during job recovery. ...
2018-09-20 16:50:41 1251
原创 MySQL安装问题--Can't connect to MySQL server on localhost (10061)解决方法
有时候安装mysql后使用mysql命令时报错 Can't connect to MySQL server on localhost (10061),或者用net start mysql 时报服务名无效,一般是因为mysql服务没有启动。这时候可以用管理身份运行cmd.exe(注意必须是管理员身份运行),否则会报Install/Remove of the Service Denied...
2018-09-20 11:56:53 146253 17
原创 Cannot resolve symbol '**
今天在用idea 开发 java EE项目的时候,明明已经添加test jar包,但是 在写注解Cannot resolve symbol 'RunWith 的时候,报错, 搞了半天没搞定,找了网上的这篇,提供了解决办法: 1.File->Invalidate Caches/Restart 清除缓存重启 2.还不行就maven -> Reinport ...
2018-09-19 15:29:45 2833 2
原创 Collection、ArrayList、HashMap、HashSet转为线程安全(集合的安全性问题)
最近在看bugly的是否,发现二维码扫描代码中有一段报错了,线程不安全问题. 里面有段 new HashSet() 代码,这个HashSet,底层是采用HashMap来实现的,线程不是安全的, 所以有时候会有线程不安全的问题产生.参考自:https://blog.csdn.net/HD243608836/article/details/80214413前言:Collection、Ar...
2018-09-19 12:09:11 3112 1
原创 MyEclipse中添加Servlet-api.jar的方法
在开发java项目的时候遇到: javax.servlet.http.HttpServletResponse下爆红线 发现配置tomcat成功后,项目运行不起来, 后来百度了一下,这个问题是因为没有把 Tomcat中的 Servlet-api没有添加到MyEclipse 没有导入这个jar包导致这个问题产生, 找到了问题点,但是,不知道怎么添加这个jar包? 解决办法和操作...
2018-09-07 11:41:30 3511
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人