
JavaEEBug
一往无前-千夜
痴迷于技术,常年更新博客!每日一个问题
展开
-
Android中的windowSoftInputMode属性详解
在前面的一篇文章中,简单的介绍了一下如何实现软键盘不自动弹出,使用的方法是设置android:windowSoftInputMode属性。那么,这个属性到底是干什么的,他有什么作用呢?今天这篇文章,就是探索android:windowSoftInputMode属性的作用的。 首先,我们从这个属性的名称中,可以很直观的看出它的作用,这个属性就是来设置窗口软键盘的交互模式的。转载 2017-09-18 09:23:36 · 472 阅读 · 0 评论 -
怎么解决java.lang.NoClassDefFoundError错误
在项目中进行开发的,做app首页的时候,放了一个横向的HorizontalScrollView ,里面添加子控件,HotGroupItemView,当不滑动的时候,点击里面的子View,可以正常的跳转,但是滑动后,遇到下面这个异常,但是看代码明明这个类存在,java.lang.NoClassDefFoundError: com.hx.socialapp.activity.social.GroupD原创 2017-09-09 17:06:40 · 6791 阅读 · 1 评论 -
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 · 2890 阅读 · 2 评论 -
解决: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 · 1266 阅读 · 0 评论 -
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 · 1231 阅读 · 1 评论 -
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 · 1116 阅读 · 0 评论 -
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 · 13123 阅读 · 2 评论 -
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 · 120553 阅读 · 68 评论