码迷,mamicode.com
首页 >  
搜索关键字:no resource found    ( 12885个结果
@ImportResource注解;
导入Spring的配置文件,让篇日志文件的内容生效 方法一: SpringBoot里边没有Spring的配置值文件,需要自己编写,而且不能自动识别,要在主类加上@ImportResource注解,指定配置文件 测试 方法二:(SB推荐),使用全注解的方式 1.配置类 Spring配置文件 2.使用@ ...
分类:其他好文   时间:2020-07-01 12:22:36    阅读次数:45
Azure Resource Graph (2) 查询语句
《Windows Azure Platform 系列文章目录》 今天下午正好需要查询Azure资源,这里简单介绍一下: 1.查询Azure虚拟机信息: https://github.com/leizhang1984/AzureChinaResourceGraph/blob/master/1Query ...
分类:其他好文   时间:2020-06-30 22:31:12    阅读次数:64
Spring Boot 报错 o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor'
原因 在项目启动的时候在 resource目录下没有加载到配置信息 我的项目中,有两个配置文件位于 src/main/java 目录下,而项目默认的加载配置文件的目录是 src/main/resource,因而找不到配置文件。 解决办法 在 pom.xml 中,将 src/main/java 添加为 ...
分类:移动开发   时间:2020-06-30 14:48:09    阅读次数:583
MyBatis级联操作
先解决一下idea无法识别lombok构造方法的问题,解决方案是在idea的插件中下载并安装lombok插件。 MyBatis级联操作,列举最简单的student-classes(学生与班级)的关系表: create table if not exists student ( id int prim ...
分类:其他好文   时间:2020-06-30 14:28:08    阅读次数:51
ideal中配置热更新问题:配置好以后前端无法更新
1.pom文件下配置依赖: <!-- 热跟新 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <optional>true</opti ...
分类:其他好文   时间:2020-06-30 13:18:49    阅读次数:74
Springboot:解决Failed to load ApplicationContext问题
最近再做spring junit 做单元测试中,报 Failed to load ApplicationContext 错误。 import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.bea ...
分类:移动开发   时间:2020-06-30 12:38:56    阅读次数:60
service mysql启动失败unit not found
想利用 service mysql start 启动mysql数据库,但是发现出现错误: Failed to start mysql.service: Unit not found. 1、查询/etc/init.d/下是否存在mysql ll /etc/init.d/ | grep mysql 发现 ...
分类:数据库   时间:2020-06-30 11:00:02    阅读次数:154
oracle用户授权
grant create session,resource to <user>create user DI70HMTEST identified by primeton000000;grant dba to DI70HMTEST; create user HMTESTDATA identified ...
分类:数据库   时间:2020-06-30 10:24:51    阅读次数:68
win32释放资源
BOOL FreeMyResource(UINT uResouceName,char *szResourceType,char *szFileName) { HRSRC hRsrc = ::FindResource(NULL,MAKEINRESOURCE(uResouceName),szResour ...
分类:Windows程序   时间:2020-06-30 10:24:32    阅读次数:60
Springboot 报错 Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986
今天看项目日志,发现报这个异常。 是tomcat容器的问题,因为出现了特殊字符,所以报异常了。Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 398 ...
分类:编程语言   时间:2020-06-29 18:33:31    阅读次数:97
12885条   上一页 1 ... 36 37 38 39 40 ... 1289 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!