码迷,mamicode.com
首页 >  
搜索关键字:log4j spring 日志    ( 80667个结果
SpringBoot简单尝试
一、spring boot核心 配置在类路径下autoconfigure下(多瞅瞅) @SpringBootApplication里的重要注解(@Configuration,@EnableAutoConfiguration,@ComponentScan三个注解的组合。) @ComponentScan ...
分类:编程语言   时间:2021-04-08 14:09:17    阅读次数:0
SpringMVC的视图解析器
视图和视图解析器 请求处理方法执行完成后,最终返回一个 ModelAndView 对象。对于那些返回 String,View 或 ModeMap 等类型的处理方法,Spring MVC 也会在内部将它们装配成一个 ModelAndView 对象,它包含了逻辑名和模型对象的视图 Spring MVC ...
分类:编程语言   时间:2021-04-08 13:53:43    阅读次数:0
idea 热部署Devtools
开发时使用,生产环境关闭 1.Adding devtools to your project <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> ...
分类:其他好文   时间:2021-04-08 13:37:40    阅读次数:0
Spring定时任务动态取消/创建/修改
首先配置ThreadPoolTaskScheduler线程池: package cn.demo.support.config; import org.springframework.context.annotation.Bean; import org.springframework.context ...
分类:编程语言   时间:2021-04-08 13:36:55    阅读次数:0
mysql5.7报错: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated...
今天,公司新购买了云服务器,要部署测试环境,测试时发现开发环境没问题,但测试环境却报错了,打开日志分析错误原因,原来时mysql5.7版本的sql_model默认配置了ONLY_FULL_GROUP_BY的原因。 完整错误日志如下: ### Error querying database. Caus ...
分类:数据库   时间:2021-04-08 13:20:36    阅读次数:0
MySQL数据库启动异常-[ERROR] [MY-011971]
问题背景: MySQL服务启动失败 协助启动数据库时发现日志中大量的表空间文件异常的错误信息 1 [ERROR] [MY-011971] [InnoDB] Tablespace 'innodb_undo_001' Page [page id: space=4294967279, page numbe ...
分类:数据库   时间:2021-04-08 13:14:37    阅读次数:0
Spring Data JPA
一、JPA概述及基本操作 1、ORM思想 ORM(Object-Relational Mapping) 表示对象关系映射。 目的:通过操作实体类就可以对数据库表进行操作 建立两个映射: 实体类和表的映射 实体类属性和表中字段的映射 实现ORM思想的框架:Hibernate、mybatis 2、JPA ...
分类:编程语言   时间:2021-04-08 12:59:01    阅读次数:0
ioc创建对象的几个方式
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance ...
分类:其他好文   时间:2021-04-07 11:44:50    阅读次数:0
java之xml文件解析
解析properties文件 Properties properties = new Properties(); File file = new File("log4j properties"); //InputStream 是一个抽象类,不能new InputStream,但是可以创建一个子类的n ...
分类:编程语言   时间:2021-04-07 11:42:41    阅读次数:0
springBoot自带日志(logback)配置以及使用
#springBoot日志(logback)配置以及使用 ###1.简介 刚从.net转为java,学习了springBoot,想起了当时工作中用.net记录日志,然后想用springBoot记录一下日志,从网上看了很多大神写的各种方法,挑了一种,自己用明白了,特意记录一下! ###2.配置 因为l ...
分类:编程语言   时间:2021-04-07 11:37:04    阅读次数:0
80667条   上一页 1 ... 52 53 54 55 56 ... 8067 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!