码迷,mamicode.com
首页 >  
搜索关键字:springframework    ( 4755个结果
Spring执行ApplicationEvent事件顺序ServletWebServerInitializedEvent
测试代码: package com.github.abel533.event; import com.github.abel533.C; import org.springframework.context.ApplicationEvent; import org.springframework.c ...
分类:移动开发   时间:2020-03-14 16:28:49    阅读次数:70
SpringBoot------查看项目开发的接口
1.修改application.yml配置 logging: level: org.springframework.web: TRACE 2.启动项目后,查看地址 ...
分类:编程语言   时间:2020-03-14 15:11:14    阅读次数:118
SpringCloud------断路器Dashboard监控仪表盘
1.添加依赖 <!-- 仪表盘监控 --> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-hystrix-dashboard</artifactId ...
分类:编程语言   时间:2020-03-14 14:28:38    阅读次数:79
springmvc+mockmvc调试
javaweb项目在调试controller层时可能会需要重复部署打开服务器浪费大量的时间,spring和junit提供了测试的方法mockmvc maven依赖(spring版本5.1.5.RELEASE) <dependency> <groupId>org.springframework</gr ...
分类:编程语言   时间:2020-03-14 12:29:58    阅读次数:88
严重: Exception sending context initialized...org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 6 in XML document from class path resource [applicationContext.xml] is invalid;
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerorg.springframework ...
分类:移动开发   时间:2020-03-13 18:52:07    阅读次数:92
注解事务头部
<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
分类:其他好文   时间:2020-03-13 14:33:18    阅读次数:63
idea 报JDBC连接失败原因之一
Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection idea File > Settings > [Project Settings] > SQL Dialec ...
分类:数据库   时间:2020-03-13 13:17:27    阅读次数:80
使用SpringBoot实现文件的上传
使用SpringBoot实现文件的上传 springboot可以直接使用 org.springframework.web.multipart.MultipartFile 所以非常容易实现 一、首先是简单的单文件上传 先在index.html页面下写一个简单的form表单 <h1>单文件</h1><f ...
分类:编程语言   时间:2020-03-12 21:51:27    阅读次数:80
java springboot 引用openfeign 接口转发
1、build.gradle中引入组件compile("org.springframework.cloud:spring-cloud-starter-config:2.1.1.RELEASE")compile("org.springframework.cloud:spring-cloud-starter-openfeign:2.1.3.RELEASE")2、
分类:编程语言   时间:2020-03-12 15:54:58    阅读次数:160
关于hibernate的哪些事儿
hibernate与spring整合 方式一:无障碍整合:带Hibernate配置文件 <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xs ...
分类:Web程序   时间:2020-03-11 11:16:41    阅读次数:88
4755条   上一页 1 ... 63 64 65 66 67 ... 476 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!