").append(m.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){g.each(c,e||[a.responseText,b,a])}),this},m.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){m.fn[b]=function(a){return this.on(b,a)}}),m.expr.filters.animated=function(a){return m.grep(m.timers,function(b){return a===b.elem}).length};var cc=a.document.documentElement;function dc(a){return m.isWindow(a)?a:9===a.nodeType?a.defaultView||a.parentWindow:!1}m.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=m.css(a,"position"),l=m(a),n={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=m.css(a,"top"),i=m.css(a,"left"),j=("absolute"===k||"fixed"===k)&&m.inArray("auto",[f,i])>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),m.isFunction(b)&&(b=b.call(a,c,h)),null!=b.top&&(n.top=b.top-h.top+g),null!=b.left&&(n.left=b.left-h.left+e),"using"in b?b.using.call(a,n):l.css(n)}},m.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){m.offset.setOffset(this,a,b)});var b,c,d={top:0,left:0},e=this[0],f=e&&e.ownerDocument;if(f)return b=f.documentElement,m.contains(b,e)?(typeof e.getBoundingClientRect!==K&&(d=e.getBoundingClientRect()),c=dc(f),{top:d.top+(c.pageYOffset||b.scrollTop)-(b.clientTop||0),left:d.left+(c.pageXOffset||b.scrollLeft)-(b.clientLeft||0)}):d},position:function(){if(this[0]){var a,b,c={top:0,left:0},d=this[0];return"fixed"===m.css(d,"position")?b=d.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),m.nodeName(a[0],"html")||(c=a.offset()),c.top+=m.css(a[0],"borderTopWidth",!0),c.left+=m.css(a[0],"borderLeftWidth",!0)),{top:b.top-c.top-m.css(d,"marginTop",!0),left:b.left-c.left-m.css(d,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||cc;while(a&&!m.nodeName(a,"html")&&"static"===m.css(a,"position"))a=a.offsetParent;return a||cc})}}),m.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c=/Y/.test(b);m.fn[a]=function(d){return V(this,function(a,d,e){var f=dc(a);return void 0===e?f?b in f?f[b]:f.document.documentElement[d]:a[d]:void(f?f.scrollTo(c?m(f).scrollLeft():e,c?e:m(f).scrollTop()):a[d]=e)},a,d,arguments.length,null)}}),m.each(["top","left"],function(a,b){m.cssHooks[b]=La(k.pixelPosition,function(a,c){return c?(c=Ja(a,b),Ha.test(c)?m(a).position()[b]+"px":c):void 0})}),m.each({Height:"height",Width:"width"},function(a,b){m.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){m.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return V(this,function(b,c,d){var e;return m.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?m.css(b,c,g):m.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),m.fn.size=function(){return this.length},m.fn.andSelf=m.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return m});var ec=a.jQuery,fc=a.$;return m.noConflict=function(b){return a.$===m&&(a.$=fc),b&&a.jQuery===m&&(a.jQuery=ec),m},typeof b===K&&(a.jQuery=a.$=m),m});
diff --git a/security-filter-demo/WebContent/login.jsp b/security-filter-demo/WebContent/login.jsp
new file mode 100644
index 0000000..d704bb8
--- /dev/null
+++ b/security-filter-demo/WebContent/login.jsp
@@ -0,0 +1,35 @@
+<%@ page language="java" contentType="text/html; charset=UTF-8"
+ pageEncoding="UTF-8"%>
+
+
+
+
+登录窗体
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/security-filter-demo/WebContent/success.jsp b/security-filter-demo/WebContent/success.jsp
new file mode 100644
index 0000000..e6a8993
--- /dev/null
+++ b/security-filter-demo/WebContent/success.jsp
@@ -0,0 +1,26 @@
+<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
+<%
+String path = request.getContextPath();
+String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
+%>
+
+
+
+
+
+
+ My JSP 'index.jsp' starting page
+
+
+
+
+
+
+
+
+
+ 登录成功
+
+
diff --git a/security-filter-demo/build/classes/com/servlet/LoginServlet.class b/security-filter-demo/build/classes/com/servlet/LoginServlet.class
new file mode 100644
index 0000000..669cfff
Binary files /dev/null and b/security-filter-demo/build/classes/com/servlet/LoginServlet.class differ
diff --git a/security-filter-demo/build/classes/com/sg/security/XSSHttpRequestWrapper.class b/security-filter-demo/build/classes/com/sg/security/XSSHttpRequestWrapper.class
new file mode 100644
index 0000000..54e6c7f
Binary files /dev/null and b/security-filter-demo/build/classes/com/sg/security/XSSHttpRequestWrapper.class differ
diff --git a/security-filter-demo/build/classes/com/sg/security/XSSSecurityCon.class b/security-filter-demo/build/classes/com/sg/security/XSSSecurityCon.class
new file mode 100644
index 0000000..c054f6a
Binary files /dev/null and b/security-filter-demo/build/classes/com/sg/security/XSSSecurityCon.class differ
diff --git a/security-filter-demo/build/classes/com/sg/security/XSSSecurityConfig.class b/security-filter-demo/build/classes/com/sg/security/XSSSecurityConfig.class
new file mode 100644
index 0000000..082dffc
Binary files /dev/null and b/security-filter-demo/build/classes/com/sg/security/XSSSecurityConfig.class differ
diff --git a/security-filter-demo/build/classes/com/sg/security/XSSSecurityFilter.class b/security-filter-demo/build/classes/com/sg/security/XSSSecurityFilter.class
new file mode 100644
index 0000000..3d9f7e2
Binary files /dev/null and b/security-filter-demo/build/classes/com/sg/security/XSSSecurityFilter.class differ
diff --git a/security-filter-demo/build/classes/com/sg/security/XSSSecurityManager.class b/security-filter-demo/build/classes/com/sg/security/XSSSecurityManager.class
new file mode 100644
index 0000000..0488c37
Binary files /dev/null and b/security-filter-demo/build/classes/com/sg/security/XSSSecurityManager.class differ
diff --git a/security-filter-demo/security-filter.iml b/security-filter-demo/security-filter.iml
new file mode 100644
index 0000000..045f48d
--- /dev/null
+++ b/security-filter-demo/security-filter.iml
@@ -0,0 +1,43 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/security-filter-demo/src/com/servlet/LoginServlet.java b/security-filter-demo/src/com/servlet/LoginServlet.java
new file mode 100644
index 0000000..c1102d7
--- /dev/null
+++ b/security-filter-demo/src/com/servlet/LoginServlet.java
@@ -0,0 +1,49 @@
+package com.servlet;
+
+import java.io.IOException;
+import javax.servlet.ServletException;
+import javax.servlet.annotation.WebServlet;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+/**
+ * Servlet implementation class LoginServlet
+ */
+@WebServlet("/LoginServlet")
+public class LoginServlet extends HttpServlet {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * @see HttpServlet#HttpServlet()
+ */
+ public LoginServlet() {
+ super();
+ }
+
+ /**
+ * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
+ */
+ protected void doGet(HttpServletRequest request, HttpServletResponse response)
+ throws ServletException, IOException {
+ String userName = request.getParameter("userName");
+ String password = request.getParameter("password");
+ if (userName != null || password != null) {
+ if ("admin".equals(userName) && "admin".equals(password)) {
+ /* response.sendRedirect("success.jsp");*/
+ request.getRequestDispatcher("success.jsp").forward(request, response);
+ } else {
+ response.sendRedirect("error.jsp");
+ }
+ }
+ }
+
+ /**
+ * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
+ */
+ protected void doPost(HttpServletRequest request, HttpServletResponse response)
+ throws ServletException, IOException {
+ this.doGet(request, response);
+ }
+
+}
diff --git a/security-filter-demo/src/com/sg/security/XSSHttpRequestWrapper.java b/security-filter-demo/src/com/sg/security/XSSHttpRequestWrapper.java
new file mode 100644
index 0000000..deabeef
--- /dev/null
+++ b/security-filter-demo/src/com/sg/security/XSSHttpRequestWrapper.java
@@ -0,0 +1,118 @@
+package com.sg.security;
+
+import java.io.IOException;
+import java.util.Enumeration;
+import java.util.Map;
+import java.util.Set;
+
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletRequestWrapper;
+import javax.servlet.http.HttpServletResponse;
+
+
+/**
+ * @author winnie
+ * @date
+ * @describe request信息封装类,用于判断、处理request请求中特殊字符
+ */
+public class XSSHttpRequestWrapper extends HttpServletRequestWrapper {
+
+ /**
+ * 封装http请求
+ * @param request
+ */
+ public XSSHttpRequestWrapper(HttpServletRequest request) {
+ super(request);
+ }
+
+ @Override
+ public String getHeader(String name) {
+ String value = super.getHeader(name);
+ // 若开启特殊字符替换,对特殊字符进行替换
+ if(XSSSecurityConfig.REPLACE){
+ XSSSecurityManager.securityReplace(name);
+ }
+ return value;
+ }
+
+ @Override
+ public String getParameter(String name) {
+ String value = super.getParameter(name);
+ // 若开启特殊字符替换,对特殊字符进行替换
+ if(XSSSecurityConfig.REPLACE){
+ XSSSecurityManager.securityReplace(name);
+ }
+ return value;
+ }
+
+ /**
+ * 没有违规的数据,就返回false;
+ *
+ * @return
+ */
+ @SuppressWarnings("unchecked")
+ private boolean checkHeader(){
+ Enumeration headerParams = this.getHeaderNames();
+ while(headerParams.hasMoreElements()){
+ String headerName = headerParams.nextElement();
+ String headerValue = this.getHeader(headerName);
+ if(XSSSecurityManager.matches(headerValue)){
+ return true;
+ }
+ }
+ return false;
+ }
+
+ /**
+ * 没有违规的数据,就返回false;
+ *
+ * @return
+ */
+ @SuppressWarnings("unchecked")
+ private boolean checkParameter(){
+ Map submitParams = this.getParameterMap();
+ Set submitNames = submitParams.keySet();
+ for(String submitName : submitNames){
+ Object submitValues = submitParams.get(submitName);
+ if(submitValues instanceof String){
+ if(XSSSecurityManager.matches((String)submitValues)){
+ return true;
+ }
+ }else if(submitValues instanceof String[]){
+ for(String submitValue : (String[])submitValues){
+ if(XSSSecurityManager.matches((String)submitValue)){
+ return true;
+ }
+ }
+ }
+ }
+ return false;
+ }
+
+
+ /**
+ * 没有违规的数据,就返回false;
+ * 若存在违规数据,根据配置信息判断是否跳转到错误页面
+ * @param response
+ * @return
+ * @throws IOException
+ * @throws ServletException
+ */
+ public boolean validateParameter(HttpServletResponse response) throws ServletException, IOException{
+ // 开始header校验,对header信息进行校验
+ if(XSSSecurityConfig.IS_CHECK_HEADER){
+ if(this.checkHeader()){
+ return true;
+ }
+ }
+ // 开始parameter校验,对parameter信息进行校验
+ if(XSSSecurityConfig.IS_CHECK_PARAMETER){
+ if(this.checkParameter()){
+ return true;
+ }
+ }
+ return false;
+ }
+
+}
diff --git a/security-filter-demo/src/com/sg/security/XSSSecurityCon.java b/security-filter-demo/src/com/sg/security/XSSSecurityCon.java
new file mode 100644
index 0000000..97838a2
--- /dev/null
+++ b/security-filter-demo/src/com/sg/security/XSSSecurityCon.java
@@ -0,0 +1,53 @@
+/**
+ *
+ */
+package com.sg.security;
+
+/**
+ * @author winnie
+ * @date
+ * @describe
+ */
+public class XSSSecurityCon {
+
+ /**
+ * 配置文件标签 isCheckHeader
+ */
+ public static String IS_CHECK_HEADER = "isCheckHeader";
+
+ /**
+ * 配置文件标签 isCheckParameter
+ */
+ public static String IS_CHECK_PARAMETER = "isCheckParameter";
+
+ /**
+ * 配置文件标签 isLog
+ */
+ public static String IS_LOG = "isLog";
+
+ /**
+ * 配置文件标签 isChain
+ */
+ public static String IS_CHAIN = "isChain";
+
+ /**
+ * 配置文件标签 replace
+ */
+ public static String REPLACE = "replace";
+
+ /**
+ * 配置文件标签 regexList
+ */
+ public static String REGEX_LIST = "regexList";
+
+ /**
+ * 替换非法字符的字符串
+ */
+ public static String REPLACEMENT = "";
+
+ /**
+ * FILTER_ERROR_PAGE:过滤后错误页面
+ */
+ public static String FILTER_ERROR_PAGE = "/common/filtererror.jsp";
+
+}
diff --git a/security-filter-demo/src/com/sg/security/XSSSecurityConfig.java b/security-filter-demo/src/com/sg/security/XSSSecurityConfig.java
new file mode 100644
index 0000000..00cd388
--- /dev/null
+++ b/security-filter-demo/src/com/sg/security/XSSSecurityConfig.java
@@ -0,0 +1,38 @@
+/**
+ *
+ */
+package com.sg.security;
+
+/**
+ * @author winnie
+ * 安全过滤配置信息类
+ */
+public class XSSSecurityConfig {
+
+ /**
+ * CHECK_HEADER:是否开启header校验
+ */
+ public static boolean IS_CHECK_HEADER;
+
+ /**
+ * CHECK_PARAMETER:是否开启parameter校验
+ */
+ public static boolean IS_CHECK_PARAMETER;
+
+ /**
+ * IS_LOG:是否记录日志
+ */
+ public static boolean IS_LOG;
+
+ /**
+ * IS_LOG:是否中断操作
+ */
+ public static boolean IS_CHAIN;
+
+ /**
+ * REPLACE:是否开启替换
+ */
+ public static boolean REPLACE;
+
+
+}
diff --git a/security-filter-demo/src/com/sg/security/XSSSecurityFilter.java b/security-filter-demo/src/com/sg/security/XSSSecurityFilter.java
new file mode 100644
index 0000000..f88db04
--- /dev/null
+++ b/security-filter-demo/src/com/sg/security/XSSSecurityFilter.java
@@ -0,0 +1,91 @@
+/**
+ *
+ */
+package com.sg.security;
+
+import java.io.IOException;
+
+import javax.servlet.Filter;
+import javax.servlet.FilterChain;
+import javax.servlet.FilterConfig;
+import javax.servlet.ServletException;
+import javax.servlet.ServletRequest;
+import javax.servlet.ServletResponse;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import org.apache.log4j.Logger;
+
+
+/**
+ * @author winnie
+ * @date
+ * @describe 安全信息审核类
+ */
+public class XSSSecurityFilter implements Filter{
+
+ private static Logger logger = Logger.getLogger(XSSSecurityFilter.class);
+
+ /**
+ * 销毁操作
+ */
+ public void destroy() {
+ logger.info("XSSSecurityFilter destroy() begin");
+ XSSSecurityManager.destroy();
+ logger.info("XSSSecurityFilter destroy() end");
+ }
+
+ /**
+ * 安全审核
+ * 读取配置信息
+ */
+ public void doFilter(ServletRequest request, ServletResponse response,
+ FilterChain chain) throws IOException, ServletException {
+ // 判断是否使用HTTP
+ checkRequestResponse(request, response);
+ // 转型
+ HttpServletRequest httpRequest = (HttpServletRequest) request;
+ HttpServletResponse httpResponse = (HttpServletResponse) response;
+ // http信息封装类
+ XSSHttpRequestWrapper xssRequest = new XSSHttpRequestWrapper(httpRequest);
+
+ // 对request信息进行封装并进行校验工作,若校验失败(含非法字符),根据配置信息进行日志记录和请求中断处理
+ if(xssRequest.validateParameter(httpResponse)){
+ if(XSSSecurityConfig.IS_LOG){
+ // 记录攻击访问日志
+ // 可使用数据库、日志、文件等方式
+ }
+ if(XSSSecurityConfig.IS_CHAIN){
+ httpRequest.getRequestDispatcher(XSSSecurityCon.FILTER_ERROR_PAGE).forward( httpRequest, httpResponse);
+ return;
+ }
+ }
+ chain.doFilter(xssRequest, response);
+ }
+
+ /**
+ * 初始化操作
+ */
+ public void init(FilterConfig filterConfig) throws ServletException {
+ XSSSecurityManager.init(filterConfig);
+ }
+
+ /**
+ * 判断Request ,Response 类型
+ * @param request
+ * ServletRequest
+ * @param response
+ * ServletResponse
+ * @throws ServletException
+ */
+ private void checkRequestResponse(ServletRequest request,
+ ServletResponse response) throws ServletException {
+ if (!(request instanceof HttpServletRequest)) {
+ throw new ServletException("Can only process HttpServletRequest");
+
+ }
+ if (!(response instanceof HttpServletResponse)) {
+ throw new ServletException("Can only process HttpServletResponse");
+ }
+ }
+}
diff --git a/security-filter-demo/src/com/sg/security/XSSSecurityManager.java b/security-filter-demo/src/com/sg/security/XSSSecurityManager.java
new file mode 100644
index 0000000..a4acb56
--- /dev/null
+++ b/security-filter-demo/src/com/sg/security/XSSSecurityManager.java
@@ -0,0 +1,160 @@
+/**
+ *
+ */
+package com.sg.security;
+
+import java.util.Iterator;
+import java.util.regex.Pattern;
+
+import javax.servlet.FilterConfig;
+
+import org.apache.log4j.Logger;
+import org.dom4j.DocumentException;
+import org.dom4j.Element;
+import org.dom4j.io.SAXReader;
+
+/**
+ * @author winnie
+ * @date
+ * @describe 安全过滤配置管理类,由XSSSecurityManger修改
+ */
+public class XSSSecurityManager {
+
+ private static Logger logger = Logger.getLogger(XSSSecurityManager.class);
+
+ /**
+ * REGEX:校验正则表达式
+ */
+ public static String REGEX;
+
+ /**
+ * 特殊字符匹配
+ */
+ private static Pattern XSS_PATTERN ;
+
+
+ private XSSSecurityManager(){
+ //不可被实例化
+ }
+
+ public static void init(FilterConfig config){
+ logger.info("XSSSecurityManager init(FilterConfig config) begin");
+ //初始化过滤配置文件
+ String xssPath = config.getServletContext().getRealPath("/")
+ + config.getInitParameter("securityconfig");
+
+ // 初始化安全过滤配置
+ try {
+ if(initConfig(xssPath)){
+ // 生成匹配器
+ XSS_PATTERN = Pattern.compile(REGEX);
+ }
+ } catch (DocumentException e) {
+ logger.error("安全过滤配置文件xss_security_config.xml加载异常",e);
+ }
+ logger.info("XSSSecurityManager init(FilterConfig config) end");
+ }
+
+ /**
+ * 读取安全审核配置文件xss_security_config.xml
+ * 设置XSSSecurityConfig配置信息
+ * @param path 配置文件地址 eg C:/apache-tomcat-6.0.33/webapps/security_filter/WebRoot/config/xss/xss_security_config.xml
+ * @return
+ * @throws DocumentException
+ */
+ @SuppressWarnings("unchecked")
+ public static boolean initConfig(String path) throws DocumentException {
+ logger.info("XSSSecurityManager.initConfig(String path) begin");
+ Element superElement = new SAXReader().read(path).getRootElement();
+ XSSSecurityConfig.IS_CHECK_HEADER = new Boolean(getEleValue(superElement,XSSSecurityCon.IS_CHECK_HEADER));
+ XSSSecurityConfig.IS_CHECK_PARAMETER = new Boolean(getEleValue(superElement,XSSSecurityCon.IS_CHECK_PARAMETER));
+ XSSSecurityConfig.IS_LOG = new Boolean(getEleValue(superElement,XSSSecurityCon.IS_LOG));
+ XSSSecurityConfig.IS_CHAIN = new Boolean(getEleValue(superElement,XSSSecurityCon.IS_CHAIN));
+ XSSSecurityConfig.REPLACE = new Boolean(getEleValue(superElement,XSSSecurityCon.REPLACE));
+
+ Element regexEle = superElement.element(XSSSecurityCon.REGEX_LIST);
+
+ if(regexEle != null){
+ Iterator regexIt = regexEle.elementIterator();
+ StringBuffer tempStr = new StringBuffer("^");
+ //xml的cdata标签传输数据时,会默认在\前加\,需要将\\替换为\
+ while(regexIt.hasNext()){
+ Element regex = (Element)regexIt.next();
+ String tmp = regex.getText();
+ tmp = tmp.replaceAll("\\\\\\\\", "\\\\");
+ tempStr.append(tmp);
+ tempStr.append("|");
+ }
+ if(tempStr.charAt(tempStr.length()-1)=='|'){
+ REGEX= tempStr.substring(0, tempStr.length()-1)+"$";
+ logger.info("安全匹配规则"+REGEX);
+ }else{
+ logger.error("安全过滤配置文件加载失败:正则表达式异常 "+tempStr.toString());
+ return false;
+ }
+ }else{
+ logger.error("安全过滤配置文件中没有 "+XSSSecurityCon.REGEX_LIST+" 属性");
+ return false;
+ }
+ logger.info("XSSSecurityManager.initConfig(String path) end");
+ return true;
+
+ }
+
+ /**
+ * 从目标element中获取指定标签信息,若找不到该标签,记录错误日志
+ * @param element 目标节点
+ * @param tagName 制定标签
+ * @return
+ */
+ private static String getEleValue(Element element, String tagName){
+ if (isNullStr(element.elementText(tagName))){
+ logger.error("安全过滤配置文件中没有 "+XSSSecurityCon.REGEX_LIST+" 属性");
+ }
+ return element.elementText(tagName);
+ }
+
+ /**
+ * 对非法字符进行替换
+ * @param text
+ * @return
+ */
+ public static String securityReplace(String text){
+ if(isNullStr(text)){
+ return text;
+ }else{
+ return text.replaceAll(REGEX, XSSSecurityCon.REPLACEMENT);
+ }
+ }
+
+ /**
+ * 匹配字符是否含特殊字符
+ * @param text
+ * @return
+ */
+ public static boolean matches(String text){
+ if(text==null){
+ return false;
+ }
+ return XSS_PATTERN.matcher(text).matches();
+ }
+
+ /**
+ * 释放关键信息
+ */
+ public static void destroy(){
+ logger.info("XSSSecurityManager.destroy() begin");
+ XSS_PATTERN = null;
+ REGEX = null;
+ logger.info("XSSSecurityManager.destroy() end");
+ }
+
+ /**
+ * 判断是否为空串,建议放到某个工具类中
+ * @param value
+ * @return
+ */
+ public static boolean isNullStr(String value){
+ return value == null || value.trim().equals("");
+ }
+}
diff --git a/springAOP-demo/pom.xml b/spring-aop-demo/pom.xml
similarity index 100%
rename from springAOP-demo/pom.xml
rename to spring-aop-demo/pom.xml
diff --git a/springAOP-demo/springAOP-demo.iml b/spring-aop-demo/spring-aop-demo.iml
similarity index 92%
rename from springAOP-demo/springAOP-demo.iml
rename to spring-aop-demo/spring-aop-demo.iml
index 1002256..dca5baa 100644
--- a/springAOP-demo/springAOP-demo.iml
+++ b/spring-aop-demo/spring-aop-demo.iml
@@ -9,10 +9,6 @@
-
-
-
-
@@ -25,7 +21,6 @@
-
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/Decorator/Client.java b/spring-aop-demo/src/main/java/com/jay/springAOP/Decorator/Client.java
similarity index 100%
rename from springAOP-demo/src/main/java/com/jay/springAOP/Decorator/Client.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/Decorator/Client.java
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/Decorator/Command.java b/spring-aop-demo/src/main/java/com/jay/springAOP/Decorator/Command.java
similarity index 100%
rename from springAOP-demo/src/main/java/com/jay/springAOP/Decorator/Command.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/Decorator/Command.java
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/Decorator/LoggerDecorator.java b/spring-aop-demo/src/main/java/com/jay/springAOP/Decorator/LoggerDecorator.java
similarity index 100%
rename from springAOP-demo/src/main/java/com/jay/springAOP/Decorator/LoggerDecorator.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/Decorator/LoggerDecorator.java
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/Decorator/PaymentCommand.java b/spring-aop-demo/src/main/java/com/jay/springAOP/Decorator/PaymentCommand.java
similarity index 100%
rename from springAOP-demo/src/main/java/com/jay/springAOP/Decorator/PaymentCommand.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/Decorator/PaymentCommand.java
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/Decorator/PerformanceDecorator.java b/spring-aop-demo/src/main/java/com/jay/springAOP/Decorator/PerformanceDecorator.java
similarity index 100%
rename from springAOP-demo/src/main/java/com/jay/springAOP/Decorator/PerformanceDecorator.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/Decorator/PerformanceDecorator.java
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/Decorator/PlaceOrderCommand.java b/spring-aop-demo/src/main/java/com/jay/springAOP/Decorator/PlaceOrderCommand.java
similarity index 100%
rename from springAOP-demo/src/main/java/com/jay/springAOP/Decorator/PlaceOrderCommand.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/Decorator/PlaceOrderCommand.java
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/DynamicAgent/Client.java b/spring-aop-demo/src/main/java/com/jay/springAOP/DynamicAgent/Client.java
similarity index 100%
rename from springAOP-demo/src/main/java/com/jay/springAOP/DynamicAgent/Client.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/DynamicAgent/Client.java
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/DynamicAgent/IuserService.java b/spring-aop-demo/src/main/java/com/jay/springAOP/DynamicAgent/IuserService.java
similarity index 100%
rename from springAOP-demo/src/main/java/com/jay/springAOP/DynamicAgent/IuserService.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/DynamicAgent/IuserService.java
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/DynamicAgent/impl/LogHandler.java b/spring-aop-demo/src/main/java/com/jay/springAOP/DynamicAgent/impl/LogHandler.java
similarity index 100%
rename from springAOP-demo/src/main/java/com/jay/springAOP/DynamicAgent/impl/LogHandler.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/DynamicAgent/impl/LogHandler.java
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/DynamicAgent/impl/UserServiceImpl.java b/spring-aop-demo/src/main/java/com/jay/springAOP/DynamicAgent/impl/UserServiceImpl.java
similarity index 100%
rename from springAOP-demo/src/main/java/com/jay/springAOP/DynamicAgent/impl/UserServiceImpl.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/DynamicAgent/impl/UserServiceImpl.java
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/DynamicAgent/model/User.java b/spring-aop-demo/src/main/java/com/jay/springAOP/DynamicAgent/model/User.java
similarity index 100%
rename from springAOP-demo/src/main/java/com/jay/springAOP/DynamicAgent/model/User.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/DynamicAgent/model/User.java
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/aop01/Advices.java b/spring-aop-demo/src/main/java/com/jay/springAOP/aop01/Advices.java
similarity index 100%
rename from springAOP-demo/src/main/java/com/jay/springAOP/aop01/Advices.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/aop01/Advices.java
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/aop01/Math.java b/spring-aop-demo/src/main/java/com/jay/springAOP/aop01/Math.java
similarity index 100%
rename from springAOP-demo/src/main/java/com/jay/springAOP/aop01/Math.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/aop01/Math.java
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/aop01/Test.java b/spring-aop-demo/src/main/java/com/jay/springAOP/aop01/Test.java
similarity index 83%
rename from springAOP-demo/src/main/java/com/jay/springAOP/aop01/Test.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/aop01/Test.java
index 308ae81..81d22e5 100644
--- a/springAOP-demo/src/main/java/com/jay/springAOP/aop01/Test.java
+++ b/spring-aop-demo/src/main/java/com/jay/springAOP/aop01/Test.java
@@ -9,7 +9,7 @@
public class Test {
public static void main(String[] agrs){
ApplicationContext ctx = new ClassPathXmlApplicationContext("aop01.xml");
- Math math=ctx.getBean("math",Math.class);
+ com.jay.springAOP.aop01.Math math=ctx.getBean("math", com.jay.springAOP.aop01.Math.class);
int n1=100,n2=5;
math.add(n1, n2);
math.sub(n1, n2);
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/aop02/Advices.java b/spring-aop-demo/src/main/java/com/jay/springAOP/aop02/Advices.java
similarity index 100%
rename from springAOP-demo/src/main/java/com/jay/springAOP/aop02/Advices.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/aop02/Advices.java
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/aop02/Math.java b/spring-aop-demo/src/main/java/com/jay/springAOP/aop02/Math.java
similarity index 100%
rename from springAOP-demo/src/main/java/com/jay/springAOP/aop02/Math.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/aop02/Math.java
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/aop02/Test.java b/spring-aop-demo/src/main/java/com/jay/springAOP/aop02/Test.java
similarity index 100%
rename from springAOP-demo/src/main/java/com/jay/springAOP/aop02/Test.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/aop02/Test.java
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/aop03/Advices.java b/spring-aop-demo/src/main/java/com/jay/springAOP/aop03/Advices.java
similarity index 100%
rename from springAOP-demo/src/main/java/com/jay/springAOP/aop03/Advices.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/aop03/Advices.java
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/aop03/Math.java b/spring-aop-demo/src/main/java/com/jay/springAOP/aop03/Math.java
similarity index 100%
rename from springAOP-demo/src/main/java/com/jay/springAOP/aop03/Math.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/aop03/Math.java
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/aop03/StringUtil.java b/spring-aop-demo/src/main/java/com/jay/springAOP/aop03/StringUtil.java
similarity index 100%
rename from springAOP-demo/src/main/java/com/jay/springAOP/aop03/StringUtil.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/aop03/StringUtil.java
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/aop03/Test.java b/spring-aop-demo/src/main/java/com/jay/springAOP/aop03/Test.java
similarity index 100%
rename from springAOP-demo/src/main/java/com/jay/springAOP/aop03/Test.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/aop03/Test.java
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/aop04/Advices.java b/spring-aop-demo/src/main/java/com/jay/springAOP/aop04/Advices.java
similarity index 100%
rename from springAOP-demo/src/main/java/com/jay/springAOP/aop04/Advices.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/aop04/Advices.java
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/aop04/Math.java b/spring-aop-demo/src/main/java/com/jay/springAOP/aop04/Math.java
similarity index 100%
rename from springAOP-demo/src/main/java/com/jay/springAOP/aop04/Math.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/aop04/Math.java
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/aop04/Test.java b/spring-aop-demo/src/main/java/com/jay/springAOP/aop04/Test.java
similarity index 83%
rename from springAOP-demo/src/main/java/com/jay/springAOP/aop04/Test.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/aop04/Test.java
index b6ffa28..f05b219 100644
--- a/springAOP-demo/src/main/java/com/jay/springAOP/aop04/Test.java
+++ b/spring-aop-demo/src/main/java/com/jay/springAOP/aop04/Test.java
@@ -9,7 +9,7 @@
public class Test {
public static void main(String[] agrs){
ApplicationContext ctx = new ClassPathXmlApplicationContext("aop04.xml");
- Math math=ctx.getBean("math", Math.class);
+ com.jay.springAOP.aop04.Math math=ctx.getBean("math", com.jay.springAOP.aop04.Math.class);
int n1 = 100, n2 = 0;
math.add(n1, n2);
math.sub(n1, n2);
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/aopDecorator/Client.java b/spring-aop-demo/src/main/java/com/jay/springAOP/aopDecorator/Client.java
similarity index 100%
rename from springAOP-demo/src/main/java/com/jay/springAOP/aopDecorator/Client.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/aopDecorator/Client.java
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/aopDecorator/LoggerAdvices.java b/spring-aop-demo/src/main/java/com/jay/springAOP/aopDecorator/LoggerAdvices.java
similarity index 100%
rename from springAOP-demo/src/main/java/com/jay/springAOP/aopDecorator/LoggerAdvices.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/aopDecorator/LoggerAdvices.java
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/aopDecorator/PaymentCommand.java b/spring-aop-demo/src/main/java/com/jay/springAOP/aopDecorator/PaymentCommand.java
similarity index 100%
rename from springAOP-demo/src/main/java/com/jay/springAOP/aopDecorator/PaymentCommand.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/aopDecorator/PaymentCommand.java
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/aopDecorator/PerformanceAdvices.java b/spring-aop-demo/src/main/java/com/jay/springAOP/aopDecorator/PerformanceAdvices.java
similarity index 100%
rename from springAOP-demo/src/main/java/com/jay/springAOP/aopDecorator/PerformanceAdvices.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/aopDecorator/PerformanceAdvices.java
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/aopDecorator/PlaceOrderCommand.java b/spring-aop-demo/src/main/java/com/jay/springAOP/aopDecorator/PlaceOrderCommand.java
similarity index 100%
rename from springAOP-demo/src/main/java/com/jay/springAOP/aopDecorator/PlaceOrderCommand.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/aopDecorator/PlaceOrderCommand.java
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/staticAgent/Client.java b/spring-aop-demo/src/main/java/com/jay/springAOP/staticAgent/Client.java
similarity index 100%
rename from springAOP-demo/src/main/java/com/jay/springAOP/staticAgent/Client.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/staticAgent/Client.java
index c6e6415..9da1ac2 100644
--- a/springAOP-demo/src/main/java/com/jay/springAOP/staticAgent/Client.java
+++ b/spring-aop-demo/src/main/java/com/jay/springAOP/staticAgent/Client.java
@@ -1,8 +1,8 @@
package com.jay.springAOP.staticAgent;
-import com.jay.springAOP.staticAgent.impl.UserServiceImpl;
import com.jay.springAOP.staticAgent.impl.UserServiceProxyImpl;
import com.jay.springAOP.staticAgent.model.User;
+import com.jay.springAOP.staticAgent.impl.UserServiceImpl;
/**
* Created by xiang.wei on 2017/8/16.
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/staticAgent/IuserService.java b/spring-aop-demo/src/main/java/com/jay/springAOP/staticAgent/IuserService.java
similarity index 100%
rename from springAOP-demo/src/main/java/com/jay/springAOP/staticAgent/IuserService.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/staticAgent/IuserService.java
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/staticAgent/impl/UserServiceImpl.java b/spring-aop-demo/src/main/java/com/jay/springAOP/staticAgent/impl/UserServiceImpl.java
similarity index 100%
rename from springAOP-demo/src/main/java/com/jay/springAOP/staticAgent/impl/UserServiceImpl.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/staticAgent/impl/UserServiceImpl.java
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/staticAgent/impl/UserServiceProxyImpl.java b/spring-aop-demo/src/main/java/com/jay/springAOP/staticAgent/impl/UserServiceProxyImpl.java
similarity index 100%
rename from springAOP-demo/src/main/java/com/jay/springAOP/staticAgent/impl/UserServiceProxyImpl.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/staticAgent/impl/UserServiceProxyImpl.java
diff --git a/springAOP-demo/src/main/java/com/jay/springAOP/staticAgent/model/User.java b/spring-aop-demo/src/main/java/com/jay/springAOP/staticAgent/model/User.java
similarity index 100%
rename from springAOP-demo/src/main/java/com/jay/springAOP/staticAgent/model/User.java
rename to spring-aop-demo/src/main/java/com/jay/springAOP/staticAgent/model/User.java
diff --git a/springAOP-demo/src/main/resources/aop01.xml b/spring-aop-demo/src/main/resources/aop01.xml
similarity index 100%
rename from springAOP-demo/src/main/resources/aop01.xml
rename to spring-aop-demo/src/main/resources/aop01.xml
diff --git a/springAOP-demo/src/main/resources/aop02.xml b/spring-aop-demo/src/main/resources/aop02.xml
similarity index 100%
rename from springAOP-demo/src/main/resources/aop02.xml
rename to spring-aop-demo/src/main/resources/aop02.xml
diff --git a/springAOP-demo/src/main/resources/aop03.xml b/spring-aop-demo/src/main/resources/aop03.xml
similarity index 100%
rename from springAOP-demo/src/main/resources/aop03.xml
rename to spring-aop-demo/src/main/resources/aop03.xml
diff --git a/springAOP-demo/src/main/resources/aop04.xml b/spring-aop-demo/src/main/resources/aop04.xml
similarity index 100%
rename from springAOP-demo/src/main/resources/aop04.xml
rename to spring-aop-demo/src/main/resources/aop04.xml
diff --git a/springAOP-demo/src/main/resources/aopDecorator.xml b/spring-aop-demo/src/main/resources/aopDecorator.xml
similarity index 100%
rename from springAOP-demo/src/main/resources/aopDecorator.xml
rename to spring-aop-demo/src/main/resources/aopDecorator.xml
diff --git a/springAOP-demo/src/main/resources/applicationContext.xml b/spring-aop-demo/src/main/resources/applicationContext.xml
similarity index 100%
rename from springAOP-demo/src/main/resources/applicationContext.xml
rename to spring-aop-demo/src/main/resources/applicationContext.xml
diff --git a/springAOP-demo/src/main/resources/logback.xml b/spring-aop-demo/src/main/resources/logback.xml
similarity index 100%
rename from springAOP-demo/src/main/resources/logback.xml
rename to spring-aop-demo/src/main/resources/logback.xml
diff --git a/springAOP-demo/src/main/webapp/WEB-INF/web.xml b/spring-aop-demo/src/main/webapp/WEB-INF/web.xml
similarity index 100%
rename from springAOP-demo/src/main/webapp/WEB-INF/web.xml
rename to spring-aop-demo/src/main/webapp/WEB-INF/web.xml
diff --git a/springAOP-demo/src/main/webapp/index.jsp b/spring-aop-demo/src/main/webapp/index.jsp
similarity index 100%
rename from springAOP-demo/src/main/webapp/index.jsp
rename to spring-aop-demo/src/main/webapp/index.jsp
diff --git a/spring-boot-sample/.classpath b/spring-boot-sample/.classpath
new file mode 100644
index 0000000..1913827
--- /dev/null
+++ b/spring-boot-sample/.classpath
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/spring-boot-sample/.factorypath b/spring-boot-sample/.factorypath
new file mode 100644
index 0000000..0633992
--- /dev/null
+++ b/spring-boot-sample/.factorypath
@@ -0,0 +1,106 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/spring-boot-sample/.mvn/wrapper/maven-wrapper.jar b/spring-boot-sample/.mvn/wrapper/maven-wrapper.jar
new file mode 100644
index 0000000..5fd4d50
Binary files /dev/null and b/spring-boot-sample/.mvn/wrapper/maven-wrapper.jar differ
diff --git a/spring-boot-sample/.mvn/wrapper/maven-wrapper.properties b/spring-boot-sample/.mvn/wrapper/maven-wrapper.properties
new file mode 100644
index 0000000..eb91947
--- /dev/null
+++ b/spring-boot-sample/.mvn/wrapper/maven-wrapper.properties
@@ -0,0 +1 @@
+distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.3.3/apache-maven-3.3.3-bin.zip
\ No newline at end of file
diff --git a/spring-boot-sample/.project b/spring-boot-sample/.project
new file mode 100644
index 0000000..d52fa0c
--- /dev/null
+++ b/spring-boot-sample/.project
@@ -0,0 +1,48 @@
+
+
+ spring-boot-sample
+
+
+
+
+
+ org.eclipse.wst.jsdt.core.javascriptValidator
+
+
+
+
+ org.eclipse.wst.common.project.facet.core.builder
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+ org.springframework.ide.eclipse.core.springbuilder
+
+
+
+
+ org.eclipse.wst.validation.validationbuilder
+
+
+
+
+ org.eclipse.m2e.core.maven2Builder
+
+
+
+
+
+ org.eclipse.jem.workbench.JavaEMFNature
+ org.eclipse.wst.common.modulecore.ModuleCoreNature
+ org.springframework.ide.eclipse.core.springnature
+ org.eclipse.jdt.core.javanature
+ org.eclipse.m2e.core.maven2Nature
+ org.eclipse.wst.common.project.facet.core.nature
+ org.eclipse.wst.jsdt.core.jsNature
+
+
diff --git a/spring-boot-sample/.settings/.jsdtscope b/spring-boot-sample/.settings/.jsdtscope
new file mode 100644
index 0000000..81672d4
--- /dev/null
+++ b/spring-boot-sample/.settings/.jsdtscope
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/spring-boot-sample/.settings/org.eclipse.core.resources.prefs b/spring-boot-sample/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..839d647
--- /dev/null
+++ b/spring-boot-sample/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,5 @@
+eclipse.preferences.version=1
+encoding//src/main/java=UTF-8
+encoding//src/main/resources=UTF-8
+encoding//src/test/java=UTF-8
+encoding/=UTF-8
diff --git a/spring-boot-sample/.settings/org.eclipse.jdt.apt.core.prefs b/spring-boot-sample/.settings/org.eclipse.jdt.apt.core.prefs
new file mode 100644
index 0000000..6dcd266
--- /dev/null
+++ b/spring-boot-sample/.settings/org.eclipse.jdt.apt.core.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.apt.aptEnabled=true
diff --git a/spring-boot-sample/.settings/org.eclipse.jdt.core.prefs b/spring-boot-sample/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000..af3fa82
--- /dev/null
+++ b/spring-boot-sample/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,9 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
+org.eclipse.jdt.core.compiler.compliance=1.8
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
+org.eclipse.jdt.core.compiler.processAnnotations=enabled
+org.eclipse.jdt.core.compiler.source=1.8
diff --git a/spring-boot-sample/.settings/org.eclipse.m2e.core.prefs b/spring-boot-sample/.settings/org.eclipse.m2e.core.prefs
new file mode 100644
index 0000000..f897a7f
--- /dev/null
+++ b/spring-boot-sample/.settings/org.eclipse.m2e.core.prefs
@@ -0,0 +1,4 @@
+activeProfiles=
+eclipse.preferences.version=1
+resolveWorkspaceProjects=true
+version=1
diff --git a/spring-boot-sample/.settings/org.eclipse.wst.common.component b/spring-boot-sample/.settings/org.eclipse.wst.common.component
new file mode 100644
index 0000000..8675569
--- /dev/null
+++ b/spring-boot-sample/.settings/org.eclipse.wst.common.component
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/spring-boot-sample/.settings/org.eclipse.wst.common.project.facet.core.xml b/spring-boot-sample/.settings/org.eclipse.wst.common.project.facet.core.xml
new file mode 100644
index 0000000..93af865
--- /dev/null
+++ b/spring-boot-sample/.settings/org.eclipse.wst.common.project.facet.core.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
diff --git a/spring-boot-sample/.settings/org.eclipse.wst.jsdt.ui.superType.container b/spring-boot-sample/.settings/org.eclipse.wst.jsdt.ui.superType.container
new file mode 100644
index 0000000..3bd5d0a
--- /dev/null
+++ b/spring-boot-sample/.settings/org.eclipse.wst.jsdt.ui.superType.container
@@ -0,0 +1 @@
+org.eclipse.wst.jsdt.launching.baseBrowserLibrary
\ No newline at end of file
diff --git a/spring-boot-sample/.settings/org.eclipse.wst.jsdt.ui.superType.name b/spring-boot-sample/.settings/org.eclipse.wst.jsdt.ui.superType.name
new file mode 100644
index 0000000..05bd71b
--- /dev/null
+++ b/spring-boot-sample/.settings/org.eclipse.wst.jsdt.ui.superType.name
@@ -0,0 +1 @@
+Window
\ No newline at end of file
diff --git a/spring-boot-sample/.settings/org.eclipse.wst.validation.prefs b/spring-boot-sample/.settings/org.eclipse.wst.validation.prefs
new file mode 100644
index 0000000..04cad8c
--- /dev/null
+++ b/spring-boot-sample/.settings/org.eclipse.wst.validation.prefs
@@ -0,0 +1,2 @@
+disabled=06target
+eclipse.preferences.version=1
diff --git a/spring-boot-sample/db/test.sql b/spring-boot-sample/db/test.sql
new file mode 100644
index 0000000..073e7a6
--- /dev/null
+++ b/spring-boot-sample/db/test.sql
@@ -0,0 +1,113 @@
+/*
+SQLyog Ultimate v10.00 Beta1
+MySQL - 5.5.28 : Database - test
+*********************************************************************
+*/
+
+/*!40101 SET NAMES utf8 */;
+
+/*!40101 SET SQL_MODE=''*/;
+
+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
+CREATE DATABASE /*!32312 IF NOT EXISTS*/`test` /*!40100 DEFAULT CHARACTER SET utf8 */;
+
+USE `test`;
+
+/*Table structure for table `score` */
+
+DROP TABLE IF EXISTS `score`;
+
+CREATE TABLE `score` (
+ `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
+ `studentId` int(11) DEFAULT NULL COMMENT '学员ID',
+ `subjectName` varchar(20) DEFAULT NULL COMMENT '科目名称',
+ `score` float DEFAULT NULL COMMENT '考试成绩',
+ `examTime` datetime DEFAULT NULL COMMENT '考试时间',
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=utf8;
+
+/*Data for the table `score` */
+
+insert into `score`(`id`,`studentId`,`subjectName`,`score`,`examTime`) values (1,1,'语文',70,'2015-02-26 18:11:39'),(2,1,'数学',88.8,'2015-03-26 18:11:50'),(3,1,'英语',76,'2015-04-26 18:11:56'),(4,1,'历史',96,'2015-05-26 18:12:02'),(5,2,'语文\r\n数学\r\n英语\r\n历史\r\n语文',84,'2015-02-26 18:11:39'),(6,2,'数学',56,'2015-03-26 18:11:50'),(7,2,'英语',86,'2015-04-26 18:11:56'),(8,2,'历史',45,'2015-05-26 18:12:02'),(9,3,'语文',87,'2015-02-26 18:11:39'),(10,3,'数学',98,'2015-03-26 18:11:50'),(11,3,'英语',67,'2015-04-26 18:11:56'),(12,3,'历史',86,'2015-05-26 18:12:02'),(13,4,'语文',97,'2015-02-26 18:11:39'),(14,4,'数学',68,'2015-03-26 18:11:50'),(15,4,'英语',79,'2015-04-26 18:11:56'),(16,4,'历史',83,'2015-05-26 18:12:02'),(17,5,'语文',92,'2015-02-26 18:11:39'),(18,5,'数学',93,'2015-03-26 18:11:50'),(19,5,'英语',65,'2015-04-26 18:11:56'),(20,5,'历史',88,'2015-05-26 18:12:02'),(21,6,'语文',87,'2015-01-05 18:48:48'),(22,6,'数学',67,'2015-01-05 18:48:48'),(24,6,'历史',88,'2015-01-05 18:48:48');
+
+/*Table structure for table `student` */
+
+DROP TABLE IF EXISTS `student`;
+
+CREATE TABLE `student` (
+ `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
+ `name` varchar(20) DEFAULT NULL COMMENT '姓名',
+ `score_sum` varchar(20) DEFAULT NULL COMMENT '总成绩',
+ `score_avg` varchar(20) DEFAULT NULL COMMENT '平均成绩',
+ `age` int(11) DEFAULT NULL COMMENT '1男0女',
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8;
+
+/*Data for the table `student` */
+
+insert into `student`(`id`,`name`,`score_sum`,`score_avg`,`age`) values (1,'小明','355','84',1),(2,'小王','187','62.3',1),(4,'柱子','230','76.7',1),(5,'大毛','','',0),(6,'亮子','0','0',1),(18,'莉莉','288.5','88.5',20);
+
+/*Table structure for table `t_permission` */
+
+DROP TABLE IF EXISTS `t_permission`;
+
+CREATE TABLE `t_permission` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `permissionname` varchar(32) DEFAULT NULL,
+ `role_id` int(11) DEFAULT NULL,
+ KEY `id` (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
+
+/*Data for the table `t_permission` */
+
+insert into `t_permission`(`id`,`permissionname`,`role_id`) values (1,'add',2),(2,'del',1),(3,'update',2),(4,'query',3),(5,'user:query',1),(6,'user:edit',2);
+
+/*Table structure for table `t_role` */
+
+DROP TABLE IF EXISTS `t_role`;
+
+CREATE TABLE `t_role` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `rolename` varchar(32) DEFAULT NULL,
+ KEY `id` (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
+
+/*Data for the table `t_role` */
+
+insert into `t_role`(`id`,`rolename`) values (1,'admin'),(2,'manager'),(3,'normal');
+
+/*Table structure for table `t_user` */
+
+DROP TABLE IF EXISTS `t_user`;
+
+CREATE TABLE `t_user` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `username` varchar(32) DEFAULT NULL,
+ `password` varchar(32) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
+
+/*Data for the table `t_user` */
+
+insert into `t_user`(`id`,`username`,`password`) values (1,'tom','123456'),(2,'jack','123456'),(3,'rose','123456');
+
+/*Table structure for table `t_user_role` */
+
+DROP TABLE IF EXISTS `t_user_role`;
+
+CREATE TABLE `t_user_role` (
+ `user_id` int(11) DEFAULT NULL,
+ `role_id` int(11) DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+/*Data for the table `t_user_role` */
+
+insert into `t_user_role`(`user_id`,`role_id`) values (1,1),(1,3),(2,2),(2,3),(3,3);
+
+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
diff --git a/spring-boot-sample/db/test1.sql b/spring-boot-sample/db/test1.sql
new file mode 100644
index 0000000..3387226
--- /dev/null
+++ b/spring-boot-sample/db/test1.sql
@@ -0,0 +1,39 @@
+/*
+SQLyog Ultimate v10.00 Beta1
+MySQL - 5.5.28 : Database - test1
+*********************************************************************
+*/
+
+/*!40101 SET NAMES utf8 */;
+
+/*!40101 SET SQL_MODE=''*/;
+
+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
+CREATE DATABASE /*!32312 IF NOT EXISTS*/`test1` /*!40100 DEFAULT CHARACTER SET utf8 */;
+
+USE `test1`;
+
+/*Table structure for table `student` */
+
+DROP TABLE IF EXISTS `student`;
+
+CREATE TABLE `student` (
+ `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
+ `name` varchar(20) DEFAULT NULL COMMENT '姓名',
+ `score_sum` varchar(20) DEFAULT NULL COMMENT '总成绩',
+ `score_avg` varchar(20) DEFAULT NULL COMMENT '平均成绩',
+ `age` int(11) DEFAULT NULL COMMENT '1男0女',
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
+
+/*Data for the table `student` */
+
+insert into `student`(`id`,`name`,`score_sum`,`score_avg`,`age`) values (1,'小明1','355','84',1),(2,'小王1','187','62.3',1),(3,'莉莉1','','',0),(4,'柱子1','230','76.7',1),(5,'大毛1','','',0),(6,'亮子1','0','0',1);
+
+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
diff --git a/spring-boot-sample/db/test2.sql b/spring-boot-sample/db/test2.sql
new file mode 100644
index 0000000..9a4302d
--- /dev/null
+++ b/spring-boot-sample/db/test2.sql
@@ -0,0 +1,39 @@
+/*
+SQLyog Ultimate v10.00 Beta1
+MySQL - 5.5.28 : Database - test2
+*********************************************************************
+*/
+
+/*!40101 SET NAMES utf8 */;
+
+/*!40101 SET SQL_MODE=''*/;
+
+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
+CREATE DATABASE /*!32312 IF NOT EXISTS*/`test2` /*!40100 DEFAULT CHARACTER SET utf8 */;
+
+USE `test2`;
+
+/*Table structure for table `student` */
+
+DROP TABLE IF EXISTS `student`;
+
+CREATE TABLE `student` (
+ `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
+ `name` varchar(20) DEFAULT NULL COMMENT '姓名',
+ `score_sum` varchar(20) DEFAULT NULL COMMENT '总成绩',
+ `score_avg` varchar(20) DEFAULT NULL COMMENT '平均成绩',
+ `age` int(11) DEFAULT NULL COMMENT '1男0女',
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
+
+/*Data for the table `student` */
+
+insert into `student`(`id`,`name`,`score_sum`,`score_avg`,`age`) values (1,'小明2','355','84',1),(2,'小王2','187','62.3',1),(3,'莉莉2','','',0),(4,'柱子2','230','76.7',1),(5,'大毛2','','',0),(6,'亮子2','0','0',1);
+
+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
diff --git a/spring-boot-sample/mvnw b/spring-boot-sample/mvnw
new file mode 100644
index 0000000..a1ba1bf
--- /dev/null
+++ b/spring-boot-sample/mvnw
@@ -0,0 +1,233 @@
+#!/bin/sh
+# ----------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+# ----------------------------------------------------------------------------
+
+# ----------------------------------------------------------------------------
+# Maven2 Start Up Batch script
+#
+# Required ENV vars:
+# ------------------
+# JAVA_HOME - location of a JDK home dir
+#
+# Optional ENV vars
+# -----------------
+# M2_HOME - location of maven2's installed home dir
+# MAVEN_OPTS - parameters passed to the Java VM when running Maven
+# e.g. to debug Maven itself, use
+# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
+# MAVEN_SKIP_RC - flag to disable loading of mavenrc files
+# ----------------------------------------------------------------------------
+
+if [ -z "$MAVEN_SKIP_RC" ] ; then
+
+ if [ -f /etc/mavenrc ] ; then
+ . /etc/mavenrc
+ fi
+
+ if [ -f "$HOME/.mavenrc" ] ; then
+ . "$HOME/.mavenrc"
+ fi
+
+fi
+
+# OS specific support. $var _must_ be set to either true or false.
+cygwin=false;
+darwin=false;
+mingw=false
+case "`uname`" in
+ CYGWIN*) cygwin=true ;;
+ MINGW*) mingw=true;;
+ Darwin*) darwin=true
+ #
+ # Look for the Apple JDKs first to preserve the existing behaviour, and then look
+ # for the new JDKs provided by Oracle.
+ #
+ if [ -z "$JAVA_HOME" ] && [ -L /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK ] ; then
+ #
+ # Apple JDKs
+ #
+ export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
+ fi
+
+ if [ -z "$JAVA_HOME" ] && [ -L /System/Library/Java/JavaVirtualMachines/CurrentJDK ] ; then
+ #
+ # Apple JDKs
+ #
+ export JAVA_HOME=/System/Library/Java/JavaVirtualMachines/CurrentJDK/Contents/Home
+ fi
+
+ if [ -z "$JAVA_HOME" ] && [ -L "/Library/Java/JavaVirtualMachines/CurrentJDK" ] ; then
+ #
+ # Oracle JDKs
+ #
+ export JAVA_HOME=/Library/Java/JavaVirtualMachines/CurrentJDK/Contents/Home
+ fi
+
+ if [ -z "$JAVA_HOME" ] && [ -x "/usr/libexec/java_home" ]; then
+ #
+ # Apple JDKs
+ #
+ export JAVA_HOME=`/usr/libexec/java_home`
+ fi
+ ;;
+esac
+
+if [ -z "$JAVA_HOME" ] ; then
+ if [ -r /etc/gentoo-release ] ; then
+ JAVA_HOME=`java-config --jre-home`
+ fi
+fi
+
+if [ -z "$M2_HOME" ] ; then
+ ## resolve links - $0 may be a link to maven's home
+ PRG="$0"
+
+ # need this for relative symlinks
+ while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG="`dirname "$PRG"`/$link"
+ fi
+ done
+
+ saveddir=`pwd`
+
+ M2_HOME=`dirname "$PRG"`/..
+
+ # make it fully qualified
+ M2_HOME=`cd "$M2_HOME" && pwd`
+
+ cd "$saveddir"
+ # echo Using m2 at $M2_HOME
+fi
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched
+if $cygwin ; then
+ [ -n "$M2_HOME" ] &&
+ M2_HOME=`cygpath --unix "$M2_HOME"`
+ [ -n "$JAVA_HOME" ] &&
+ JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+ [ -n "$CLASSPATH" ] &&
+ CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
+fi
+
+# For Migwn, ensure paths are in UNIX format before anything is touched
+if $mingw ; then
+ [ -n "$M2_HOME" ] &&
+ M2_HOME="`(cd "$M2_HOME"; pwd)`"
+ [ -n "$JAVA_HOME" ] &&
+ JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
+ # TODO classpath?
+fi
+
+if [ -z "$JAVA_HOME" ]; then
+ javaExecutable="`which javac`"
+ if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then
+ # readlink(1) is not available as standard on Solaris 10.
+ readLink=`which readlink`
+ if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then
+ if $darwin ; then
+ javaHome="`dirname \"$javaExecutable\"`"
+ javaExecutable="`cd \"$javaHome\" && pwd -P`/javac"
+ else
+ javaExecutable="`readlink -f \"$javaExecutable\"`"
+ fi
+ javaHome="`dirname \"$javaExecutable\"`"
+ javaHome=`expr "$javaHome" : '\(.*\)/bin'`
+ JAVA_HOME="$javaHome"
+ export JAVA_HOME
+ fi
+ fi
+fi
+
+if [ -z "$JAVACMD" ] ; then
+ if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ else
+ JAVACMD="`which java`"
+ fi
+fi
+
+if [ ! -x "$JAVACMD" ] ; then
+ echo "Error: JAVA_HOME is not defined correctly." >&2
+ echo " We cannot execute $JAVACMD" >&2
+ exit 1
+fi
+
+if [ -z "$JAVA_HOME" ] ; then
+ echo "Warning: JAVA_HOME environment variable is not set."
+fi
+
+CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin; then
+ [ -n "$M2_HOME" ] &&
+ M2_HOME=`cygpath --path --windows "$M2_HOME"`
+ [ -n "$JAVA_HOME" ] &&
+ JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
+ [ -n "$CLASSPATH" ] &&
+ CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
+fi
+
+# traverses directory structure from process work directory to filesystem root
+# first directory with .mvn subdirectory is considered project base directory
+find_maven_basedir() {
+ local basedir=$(pwd)
+ local wdir=$(pwd)
+ while [ "$wdir" != '/' ] ; do
+ if [ -d "$wdir"/.mvn ] ; then
+ basedir=$wdir
+ break
+ fi
+ wdir=$(cd "$wdir/.."; pwd)
+ done
+ echo "${basedir}"
+}
+
+# concatenates all lines of a file
+concat_lines() {
+ if [ -f "$1" ]; then
+ echo "$(tr -s '\n' ' ' < "$1")"
+ fi
+}
+
+export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-$(find_maven_basedir)}
+MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS"
+
+# Provide a "standardized" way to retrieve the CLI args that will
+# work with both Windows and non-Windows executions.
+MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@"
+export MAVEN_CMD_LINE_ARGS
+
+WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
+
+exec "$JAVACMD" \
+ $MAVEN_OPTS \
+ -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \
+ "-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
+ ${WRAPPER_LAUNCHER} "$@"
diff --git a/spring-boot-sample/mvnw.cmd b/spring-boot-sample/mvnw.cmd
new file mode 100644
index 0000000..2b934e8
--- /dev/null
+++ b/spring-boot-sample/mvnw.cmd
@@ -0,0 +1,145 @@
+@REM ----------------------------------------------------------------------------
+@REM Licensed to the Apache Software Foundation (ASF) under one
+@REM or more contributor license agreements. See the NOTICE file
+@REM distributed with this work for additional information
+@REM regarding copyright ownership. The ASF licenses this file
+@REM to you under the Apache License, Version 2.0 (the
+@REM "License"); you may not use this file except in compliance
+@REM with the License. You may obtain a copy of the License at
+@REM
+@REM http://www.apache.org/licenses/LICENSE-2.0
+@REM
+@REM Unless required by applicable law or agreed to in writing,
+@REM software distributed under the License is distributed on an
+@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+@REM KIND, either express or implied. See the License for the
+@REM specific language governing permissions and limitations
+@REM under the License.
+@REM ----------------------------------------------------------------------------
+
+@REM ----------------------------------------------------------------------------
+@REM Maven2 Start Up Batch script
+@REM
+@REM Required ENV vars:
+@REM JAVA_HOME - location of a JDK home dir
+@REM
+@REM Optional ENV vars
+@REM M2_HOME - location of maven2's installed home dir
+@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
+@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a key stroke before ending
+@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
+@REM e.g. to debug Maven itself, use
+@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
+@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
+@REM ----------------------------------------------------------------------------
+
+@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
+@echo off
+@REM enable echoing my setting MAVEN_BATCH_ECHO to 'on'
+@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO%
+
+@REM set %HOME% to equivalent of $HOME
+if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
+
+@REM Execute a user defined script before this one
+if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
+@REM check for pre script, once with legacy .bat ending and once with .cmd ending
+if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat"
+if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd"
+:skipRcPre
+
+@setlocal
+
+set ERROR_CODE=0
+
+@REM To isolate internal variables from possible post scripts, we use another setlocal
+@setlocal
+
+@REM ==== START VALIDATION ====
+if not "%JAVA_HOME%" == "" goto OkJHome
+
+echo.
+echo Error: JAVA_HOME not found in your environment. >&2
+echo Please set the JAVA_HOME variable in your environment to match the >&2
+echo location of your Java installation. >&2
+echo.
+goto error
+
+:OkJHome
+if exist "%JAVA_HOME%\bin\java.exe" goto init
+
+echo.
+echo Error: JAVA_HOME is set to an invalid directory. >&2
+echo JAVA_HOME = "%JAVA_HOME%" >&2
+echo Please set the JAVA_HOME variable in your environment to match the >&2
+echo location of your Java installation. >&2
+echo.
+goto error
+
+@REM ==== END VALIDATION ====
+
+:init
+
+set MAVEN_CMD_LINE_ARGS=%*
+
+@REM Find the project base dir, i.e. the directory that contains the folder ".mvn".
+@REM Fallback to current working directory if not found.
+
+set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
+IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
+
+set EXEC_DIR=%CD%
+set WDIR=%EXEC_DIR%
+:findBaseDir
+IF EXIST "%WDIR%"\.mvn goto baseDirFound
+cd ..
+IF "%WDIR%"=="%CD%" goto baseDirNotFound
+set WDIR=%CD%
+goto findBaseDir
+
+:baseDirFound
+set MAVEN_PROJECTBASEDIR=%WDIR%
+cd "%EXEC_DIR%"
+goto endDetectBaseDir
+
+:baseDirNotFound
+set MAVEN_PROJECTBASEDIR=%EXEC_DIR%
+cd "%EXEC_DIR%"
+
+:endDetectBaseDir
+
+IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig
+
+@setlocal EnableExtensions EnableDelayedExpansion
+for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
+@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%
+
+:endReadAdditionalConfig
+
+SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
+
+set WRAPPER_JAR="".\.mvn\wrapper\maven-wrapper.jar""
+set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
+
+%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CMD_LINE_ARGS%
+if ERRORLEVEL 1 goto error
+goto end
+
+:error
+set ERROR_CODE=1
+
+:end
+@endlocal & set ERROR_CODE=%ERROR_CODE%
+
+if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost
+@REM check for post script, once with legacy .bat ending and once with .cmd ending
+if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat"
+if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd"
+:skipRcPost
+
+@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
+if "%MAVEN_BATCH_PAUSE%" == "on" pause
+
+if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%
+
+exit /B %ERROR_CODE%
\ No newline at end of file
diff --git a/spring-boot-sample/myapp.log b/spring-boot-sample/myapp.log
new file mode 100644
index 0000000..0144a72
--- /dev/null
+++ b/spring-boot-sample/myapp.log
@@ -0,0 +1,2534 @@
+2016-01-26 11:45:33.039 INFO 27676 --- [main] o.s.sample.SpringBootSampleApplication : Starting SpringBootSampleApplication on Shanhy-PC with PID 27676 (started by Shanhy in E:\Lenovocw\▲技术解决方案\Spring-Boot\spring-boot-sample)
+2016-01-26 11:45:33.045 DEBUG 27676 --- [main] o.s.sample.SpringBootSampleApplication : Running with Spring Boot v1.3.2.RELEASE, Spring v4.2.4.RELEASE
+2016-01-26 11:45:33.046 INFO 27676 --- [main] o.s.sample.SpringBootSampleApplication : No active profile set, falling back to default profiles: default
+2016-01-26 11:45:33.167 INFO 27676 --- [main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@223d2c72: startup date [Tue Jan 26 11:45:33 CST 2016]; root of context hierarchy
+2016-01-26 11:45:35.098 INFO 27676 --- [main] o.s.s.d.DynamicDataSourceRegister : Dynamic DataSource Registry
+2016-01-26 11:45:35.289 INFO 27676 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'beanNameViewResolver' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration$WhitelabelErrorViewConfiguration; factoryMethodName=beanNameViewResolver; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/web/ErrorMvcAutoConfiguration$WhitelabelErrorViewConfiguration.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter; factoryMethodName=beanNameViewResolver; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter.class]]
+2016-01-26 11:45:35.605 INFO 27676 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'IScoreDao' with a different definition: replacing [Generic bean: class [org.mybatis.spring.mapper.MapperFactoryBean]; scope=singleton; abstract=false; lazyInit=false; autowireMode=2; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [E:\Lenovocw\▲技术解决方案\Spring-Boot\spring-boot-sample\target\classes\org\springboot\sample\dao\IScoreDao.class]] with [Root bean: class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
+2016-01-26 11:45:35.618 INFO 27676 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'IUserDao' with a different definition: replacing [Generic bean: class [org.mybatis.spring.mapper.MapperFactoryBean]; scope=singleton; abstract=false; lazyInit=false; autowireMode=2; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [E:\Lenovocw\▲技术解决方案\Spring-Boot\spring-boot-sample\target\classes\org\springboot\sample\dao\IUserDao.class]] with [Root bean: class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
+2016-01-26 11:45:36.198 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroConfiguration' of type [class org.springboot.sample.config.ShiroConfiguration$$EnhancerBySpringCGLIB$$c05b6cf4] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:36.564 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'mybatis.CONFIGURATION_PROPERTIES' of type [class org.mybatis.spring.boot.autoconfigure.MybatisProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:36.573 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'myBatisConfiguration' of type [class org.springboot.sample.config.MyBatisConfiguration$$EnhancerBySpringCGLIB$$7574ab32] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:36.598 INFO 27676 --- [main] o.s.sample.config.MyBatisConfiguration : 注册MyBatis分页插件PageHelper
+2016-01-26 11:45:36.620 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'pageHelper' of type [class com.github.pagehelper.PageHelper] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:36.631 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration' of type [class org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration$$EnhancerBySpringCGLIB$$dbf5a44d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:37.969 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'sqlSessionFactory' of type [class org.apache.ibatis.session.defaults.DefaultSqlSessionFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:38.013 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'sqlSessionTemplate' of type [class org.mybatis.spring.SqlSessionTemplate] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:38.020 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'studentMapper' of type [class org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:38.040 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'targetDataSource' of type [class org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:38.054 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shanhy' of type [class org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:38.491 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'getEhCacheManager' of type [class org.apache.shiro.cache.ehcache.EhCacheManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:38.527 INFO 27676 --- [main] o.a.shiro.cache.ehcache.EhCacheManager : Cache with name 'org.springboot.sample.security.MyShiroRealm.authorizationCache' does not yet exist. Creating now.
+2016-01-26 11:45:38.634 INFO 27676 --- [main] o.a.shiro.cache.ehcache.EhCacheManager : Added EhCache named [org.springboot.sample.security.MyShiroRealm.authorizationCache]
+2016-01-26 11:45:38.769 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#4b97c4ad' of type [class org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:38.770 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#4b97c4ad' of type [class java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:38.780 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#4c1bdcc2' of type [class org.springframework.data.repository.core.support.PropertiesBasedNamedQueries] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:38.820 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#70972170' of type [class org.springframework.data.repository.query.ExtensionAwareEvaluationContextProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:38.965 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.jpa.CONFIGURATION_PROPERTIES' of type [class org.springframework.boot.autoconfigure.orm.jpa.JpaProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:38.975 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration' of type [class org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration$$EnhancerBySpringCGLIB$$70a0193d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:39.074 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaVendorAdapter' of type [class org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:39.084 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactoryBuilder' of type [class org.springframework.boot.orm.jpa.EntityManagerFactoryBuilder] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:39.128 INFO 27676 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-0 - is starting.
+2016-01-26 11:45:40.250 INFO 27676 --- [main] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
+2016-01-26 11:45:40.334 INFO 27676 --- [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
+ name: default
+ ...]
+2016-01-26 11:45:40.644 INFO 27676 --- [main] org.hibernate.Version : HHH000412: Hibernate Core {4.3.11.Final}
+2016-01-26 11:45:40.651 INFO 27676 --- [main] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found
+2016-01-26 11:45:40.657 INFO 27676 --- [main] org.hibernate.cfg.Environment : HHH000021: Bytecode provider name : javassist
+2016-01-26 11:45:41.806 INFO 27676 --- [main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
+2016-01-26 11:45:42.098 INFO 27676 --- [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
+2016-01-26 11:45:42.850 INFO 27676 --- [main] o.h.h.i.ast.ASTQueryTranslatorFactory : HHH000397: Using ASTQueryTranslatorFactory
+2016-01-26 11:45:44.396 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactory' of type [class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:44.398 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactory' of type [class com.sun.proxy.$Proxy69] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:44.436 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#1fb2d5e' of type [class com.sun.proxy.$Proxy70] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:44.572 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaMappingContext' of type [class org.springframework.data.jpa.repository.config.JpaMetamodelMappingContextFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:44.573 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaMappingContext' of type [class org.springframework.data.jpa.mapping.JpaMetamodelMappingContext] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:45.074 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IUserDao' of type [class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:45.075 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IUserDao' of type [class com.sun.proxy.$Proxy75] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:45.076 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'myShiroRealm' of type [class org.springboot.sample.security.MyShiroRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:45.130 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'securityManager' of type [class org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:45.137 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#7c9beb51' of type [class org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:45.138 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#7c9beb51' of type [class java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:45.139 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#3dfd7eaa' of type [class org.springframework.data.repository.core.support.PropertiesBasedNamedQueries] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:45.140 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#2aa5bd48' of type [class org.springframework.data.repository.query.ExtensionAwareEvaluationContextProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:45.142 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#7cfb8e98' of type [class com.sun.proxy.$Proxy70] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:45.180 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IScoreDao' of type [class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:45.180 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IScoreDao' of type [class com.sun.proxy.$Proxy78] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:45.191 INFO 27676 --- [main] o.s.sample.config.ShiroConfiguration : ##################从数据库读取权限规则,加载到shiroFilter中##################
+2016-01-26 11:45:45.301 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'getAuthorizationAttributeSourceAdvisor' of type [class org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:45.445 INFO 27676 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$8593b91d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 11:45:46.987 INFO 27676 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 9090 (http)
+2016-01-26 11:45:47.019 INFO 27676 --- [main] o.apache.catalina.core.StandardService : Starting service Tomcat
+2016-01-26 11:45:47.021 INFO 27676 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.0.30
+2016-01-26 11:45:47.978 INFO 27676 --- [localhost-startStop-1] org.apache.jasper.servlet.TldScanner : At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
+2016-01-26 11:45:48.053 INFO 27676 --- [localhost-startStop-1] o.a.c.c.C.[.[localhost].[/myspringboot] : Initializing Spring embedded WebApplicationContext
+2016-01-26 11:45:48.056 INFO 27676 --- [localhost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 14896 ms
+2016-01-26 11:45:48.249 DEBUG 27676 --- [localhost-startStop-1] o.s.sample.SpringBootSampleApplication : 日志输出测试 Debug
+2016-01-26 11:45:48.249 TRACE 27676 --- [localhost-startStop-1] o.s.sample.SpringBootSampleApplication : 日志输出测试 Trace
+2016-01-26 11:45:48.250 INFO 27676 --- [localhost-startStop-1] o.s.sample.SpringBootSampleApplication : 日志输出测试 Info
+2016-01-26 11:45:53.181 INFO 27676 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
+2016-01-26 11:45:53.183 INFO 27676 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
+2016-01-26 11:45:53.184 INFO 27676 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
+2016-01-26 11:45:53.185 INFO 27676 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
+2016-01-26 11:45:53.186 INFO 27676 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'delegatingFilterProxy' to urls: [/*]
+2016-01-26 11:45:53.186 INFO 27676 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'myFilter' to urls: [/*]
+2016-01-26 11:45:53.186 INFO 27676 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'shiroFilter' to: [/*]
+2016-01-26 11:45:53.187 INFO 27676 --- [localhost-startStop-1] o.s.b.c.e.ServletRegistrationBean : Mapping servlet: 'myServlet' to [/xs/*]
+2016-01-26 11:45:53.193 INFO 27676 --- [localhost-startStop-1] o.s.b.c.e.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
+2016-01-26 11:45:53.194 INFO 27676 --- [localhost-startStop-1] o.s.b.c.e.ServletRegistrationBean : Mapping servlet: 'org.springboot.sample.servlet.MyServlet2' to [/xs/myservlet]
+2016-01-26 11:45:53.386 INFO 27676 --- [main] o.s.sample.config.MyWebAppConfigurer : D:\Program Files\Java\jdk1.8.0_60
+2016-01-26 11:45:53.387 INFO 27676 --- [main] o.s.sample.config.MyWebAppConfigurer : jdbc:mysql://localhost:3306/test
+2016-01-26 11:45:53.387 INFO 27676 --- [main] o.s.sample.config.MyWebAppConfigurer : jdbc:mysql://localhost:3306/test
+2016-01-26 11:45:53.389 INFO 27676 --- [main] o.s.sample.config.MyWebAppConfigurer : jdbc:mysql://localhost:3306/test
+2016-01-26 11:45:55.482 INFO 27676 --- [main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@223d2c72: startup date [Tue Jan 26 11:45:33 CST 2016]; root of context hierarchy
+2016-01-26 11:45:55.501 INFO 27676 --- [main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Detected @ModelAttribute methods in resourceUrlProviderController
+2016-01-26 11:45:55.790 INFO 27676 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/webjarslocator/{webjar}/**]}" onto public org.springframework.http.ResponseEntity org.springboot.sample.config.WebJarsController.locateWebjarAsset(java.lang.String,javax.servlet.http.HttpServletRequest)
+2016-01-26 11:45:55.795 INFO 27676 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello/info]}" onto public java.util.Map org.springboot.sample.controller.HelloController.getInfo(java.lang.String)
+2016-01-26 11:45:55.796 INFO 27676 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello]}" onto public java.lang.String org.springboot.sample.controller.HelloController.hello()
+2016-01-26 11:45:55.797 INFO 27676 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello/list]}" onto public java.util.List> org.springboot.sample.controller.HelloController.getList()
+2016-01-26 11:45:55.799 INFO 27676 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/ || /index]}" onto public java.lang.String org.springboot.sample.controller.PageController.index(java.util.Map)
+2016-01-26 11:45:55.800 INFO 27676 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/page1]}" onto public org.springframework.web.servlet.ModelAndView org.springboot.sample.controller.PageController.page1()
+2016-01-26 11:45:55.800 INFO 27676 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/page2]}" onto public java.lang.String org.springboot.sample.controller.PageController.page2(org.springframework.ui.Model)
+2016-01-26 11:45:55.802 INFO 27676 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/score/scoreList]}" onto public java.util.List org.springboot.sample.controller.ScoreController.getScoreList()
+2016-01-26 11:45:55.809 INFO 27676 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/login],methods=[GET]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.loginForm(org.springframework.ui.Model)
+2016-01-26 11:45:55.809 INFO 27676 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/login],methods=[POST]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.login(org.springboot.sample.entity.User,org.springframework.validation.BindingResult,org.springframework.web.servlet.mvc.support.RedirectAttributes)
+2016-01-26 11:45:55.810 INFO 27676 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/logout],methods=[GET]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.logout(org.springframework.web.servlet.mvc.support.RedirectAttributes)
+2016-01-26 11:45:55.810 INFO 27676 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/403]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.unauthorizedRole()
+2016-01-26 11:45:55.811 INFO 27676 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/user]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.getUserList(java.util.Map)
+2016-01-26 11:45:55.811 INFO 27676 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/user/edit/{userid}]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.getUserList(int)
+2016-01-26 11:45:55.814 INFO 27676 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/stu/scoreList]}" onto public java.util.List org.springboot.sample.controller.StudentController.getScoreList()
+2016-01-26 11:45:55.815 INFO 27676 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/stu/list]}" onto public java.util.List org.springboot.sample.controller.StudentController.getStus()
+2016-01-26 11:45:55.816 INFO 27676 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/stu/likeName]}" onto public java.util.List org.springboot.sample.controller.StudentController.likeName(java.lang.String,javax.servlet.http.HttpServletRequest)
+2016-01-26 11:45:55.820 INFO 27676 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
+2016-01-26 11:45:55.821 INFO 27676 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
+2016-01-26 11:45:56.146 INFO 27676 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/myres/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 11:45:56.146 INFO 27676 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/myimgs/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 11:45:56.147 INFO 27676 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 11:45:56.147 INFO 27676 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 11:45:56.573 INFO 27676 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 11:45:57.941 INFO 27676 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup
+2016-01-26 11:45:58.307 INFO 27676 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 9090 (http)
+2016-01-26 11:45:58.319 INFO 27676 --- [main] o.s.sample.runner.MyStartupRunner1 : >>>>>>>>>>>>>>>服务启动执行,执行加载数据等操作 11111111 <<<<<<<<<<<<<
+2016-01-26 11:45:58.723 INFO 27676 --- [main] o.s.sample.runner.MyStartupRunner1 : 测试这里可以访问数据库:6,23
+2016-01-26 11:45:58.756 DEBUG 27676 --- [main] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds1 > List org.springboot.sample.service.StudentService.getListByDs1()
+2016-01-26 11:45:58.761 INFO 27676 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - is starting.
+2016-01-26 11:45:58.804 DEBUG 27676 --- [main] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds1 > List org.springboot.sample.service.StudentService.getListByDs1()
+2016-01-26 11:45:58.806 INFO 27676 --- [main] o.s.sample.runner.MyStartupRunner1 : 指定数据源Ds1 >>> 小明1
+2016-01-26 11:45:58.807 DEBUG 27676 --- [main] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds2 > List org.springboot.sample.service.StudentService.getListByDs2()
+2016-01-26 11:45:58.809 INFO 27676 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - is starting.
+2016-01-26 11:45:58.871 DEBUG 27676 --- [main] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds2 > List org.springboot.sample.service.StudentService.getListByDs2()
+2016-01-26 11:45:58.871 INFO 27676 --- [main] o.s.sample.runner.MyStartupRunner1 : 指定数据源Ds2 >>> 小明2
+2016-01-26 11:45:58.895 INFO 27676 --- [main] o.s.sample.runner.MyStartupRunner1 : ############Hello Shanhy
+2016-01-26 11:45:58.899 INFO 27676 --- [main] o.s.sample.SpringBootSampleApplication : Started SpringBootSampleApplication in 26.799 seconds (JVM running for 28.512)
+2016-01-26 11:46:31.735 INFO 27676 --- [RMI TCP Connection(6)-192.168.16.11] inMXBeanRegistrar$SpringApplicationAdmin : Application shutdown requested.
+2016-01-26 11:46:31.735 INFO 27676 --- [RMI TCP Connection(6)-192.168.16.11] ationConfigEmbeddedWebApplicationContext : Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@223d2c72: startup date [Tue Jan 26 11:45:33 CST 2016]; root of context hierarchy
+2016-01-26 11:46:31.740 INFO 27676 --- [RMI TCP Connection(6)-192.168.16.11] o.s.j.e.a.AnnotationMBeanExporter : Unregistering JMX-exposed beans on shutdown
+2016-01-26 11:46:31.764 INFO 27676 --- [RMI TCP Connection(6)-192.168.16.11] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
+2016-01-26 11:46:31.768 WARN 27676 --- [RMI TCP Connection(6)-192.168.16.11] o.s.b.f.support.DisposableBeanAdapter : Invocation of destroy method 'close' failed on bean with name 'sqlSessionTemplate': java.lang.UnsupportedOperationException: Manual close is not allowed over a Spring managed SqlSession
+2016-01-26 11:46:50.157 INFO 5788 --- [main] o.s.sample.SpringBootSampleApplication : Starting SpringBootSampleApplication on Shanhy-PC with PID 5788 (started by Shanhy in E:\Lenovocw\▲技术解决方案\Spring-Boot\spring-boot-sample)
+2016-01-26 11:46:50.165 DEBUG 5788 --- [main] o.s.sample.SpringBootSampleApplication : Running with Spring Boot v1.3.2.RELEASE, Spring v4.2.4.RELEASE
+2016-01-26 11:46:50.166 INFO 5788 --- [main] o.s.sample.SpringBootSampleApplication : No active profile set, falling back to default profiles: default
+2016-01-26 11:46:50.297 INFO 5788 --- [main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@53d102a2: startup date [Tue Jan 26 11:46:50 CST 2016]; root of context hierarchy
+2016-01-26 11:49:50.629 INFO 24520 --- [main] o.s.sample.SpringBootSampleApplication : Starting SpringBootSampleApplication on Shanhy-PC with PID 24520 (started by Shanhy in E:\Lenovocw\▲技术解决方案\Spring-Boot\spring-boot-sample)
+2016-01-26 11:49:50.630 DEBUG 24520 --- [main] o.s.sample.SpringBootSampleApplication : Running with Spring Boot v1.3.2.RELEASE, Spring v4.2.4.RELEASE
+2016-01-26 11:49:50.631 INFO 24520 --- [main] o.s.sample.SpringBootSampleApplication : No active profile set, falling back to default profiles: default
+2016-01-26 11:49:50.776 INFO 24520 --- [main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@638ef7ed: startup date [Tue Jan 26 11:49:50 CST 2016]; root of context hierarchy
+2016-01-26 11:51:09.529 INFO 24144 --- [main] o.s.sample.SpringBootSampleApplication : Starting SpringBootSampleApplication on Shanhy-PC with PID 24144 (started by Shanhy in E:\Lenovocw\▲技术解决方案\Spring-Boot\spring-boot-sample)
+2016-01-26 11:51:09.530 DEBUG 24144 --- [main] o.s.sample.SpringBootSampleApplication : Running with Spring Boot v1.3.2.RELEASE, Spring v4.2.4.RELEASE
+2016-01-26 11:51:09.530 INFO 24144 --- [main] o.s.sample.SpringBootSampleApplication : No active profile set, falling back to default profiles: default
+2016-01-26 11:51:09.627 INFO 24144 --- [main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@7283d3eb: startup date [Tue Jan 26 11:51:09 CST 2016]; root of context hierarchy
+2016-01-26 11:54:25.360 INFO 23840 --- [main] o.s.sample.SpringBootSampleApplication : Starting SpringBootSampleApplication on Shanhy-PC with PID 23840 (started by Shanhy in E:\Lenovocw\▲技术解决方案\Spring-Boot\spring-boot-sample)
+2016-01-26 11:54:25.365 DEBUG 23840 --- [main] o.s.sample.SpringBootSampleApplication : Running with Spring Boot v1.3.2.RELEASE, Spring v4.2.4.RELEASE
+2016-01-26 11:54:25.365 INFO 23840 --- [main] o.s.sample.SpringBootSampleApplication : No active profile set, falling back to default profiles: default
+2016-01-26 11:54:25.459 INFO 23840 --- [main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@1f760b47: startup date [Tue Jan 26 11:54:25 CST 2016]; root of context hierarchy
+2016-01-26 14:32:47.535 INFO 29352 --- [main] o.s.s.SpringBootSampleApplicationTests : Starting SpringBootSampleApplicationTests on Shanhy-PC with PID 29352 (started by Shanhy in E:\Lenovocw\\Spring-Boot\spring-boot-sample)
+2016-01-26 14:32:47.550 DEBUG 29352 --- [main] o.s.s.SpringBootSampleApplicationTests : Running with Spring Boot v1.3.2.RELEASE, Spring v4.2.4.RELEASE
+2016-01-26 14:32:47.551 INFO 29352 --- [main] o.s.s.SpringBootSampleApplicationTests : No active profile set, falling back to default profiles: default
+2016-01-26 14:32:47.960 INFO 29352 --- [main] o.s.w.c.s.GenericWebApplicationContext : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@69997e9d: startup date [Tue Jan 26 14:32:47 CST 2016]; root of context hierarchy
+2016-01-26 14:32:51.634 INFO 29352 --- [main] o.s.s.d.DynamicDataSourceRegister : Dynamic DataSource Registry
+2016-01-26 14:32:52.659 INFO 29352 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'IScoreDao' with a different definition: replacing [Generic bean: class [org.mybatis.spring.mapper.MapperFactoryBean]; scope=singleton; abstract=false; lazyInit=false; autowireMode=2; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [E:\Lenovocw\\Spring-Boot\spring-boot-sample\target\classes\org\springboot\sample\dao\IScoreDao.class]] with [Root bean: class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
+2016-01-26 14:32:52.673 INFO 29352 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'IUserDao' with a different definition: replacing [Generic bean: class [org.mybatis.spring.mapper.MapperFactoryBean]; scope=singleton; abstract=false; lazyInit=false; autowireMode=2; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [E:\Lenovocw\\Spring-Boot\spring-boot-sample\target\classes\org\springboot\sample\dao\IUserDao.class]] with [Root bean: class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
+2016-01-26 14:32:53.334 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroConfiguration' of type [class org.springboot.sample.config.ShiroConfiguration$$EnhancerBySpringCGLIB$$3ae4f259] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:32:53.859 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'mybatis.CONFIGURATION_PROPERTIES' of type [class org.mybatis.spring.boot.autoconfigure.MybatisProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:32:53.873 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'myBatisConfiguration' of type [class org.springboot.sample.config.MyBatisConfiguration$$EnhancerBySpringCGLIB$$effe3097] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:32:53.910 INFO 29352 --- [main] o.s.sample.config.MyBatisConfiguration : עMyBatisҳPageHelper
+2016-01-26 14:32:53.944 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'pageHelper' of type [class com.github.pagehelper.PageHelper] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:32:53.960 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration' of type [class org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration$$EnhancerBySpringCGLIB$$567f29b2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:32:56.134 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'sqlSessionFactory' of type [class org.apache.ibatis.session.defaults.DefaultSqlSessionFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:32:56.259 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'sqlSessionTemplate' of type [class org.mybatis.spring.SqlSessionTemplate] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:32:56.315 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'studentMapper' of type [class org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:32:56.327 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'targetDataSource' of type [class org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:32:56.338 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shanhy' of type [class org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:32:58.433 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'getEhCacheManager' of type [class org.apache.shiro.cache.ehcache.EhCacheManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:32:58.459 INFO 29352 --- [main] o.a.shiro.cache.ehcache.EhCacheManager : Cache with name 'org.springboot.sample.security.MyShiroRealm.authorizationCache' does not yet exist. Creating now.
+2016-01-26 14:32:58.733 INFO 29352 --- [main] o.a.shiro.cache.ehcache.EhCacheManager : Added EhCache named [org.springboot.sample.security.MyShiroRealm.authorizationCache]
+2016-01-26 14:32:58.858 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#767a014e' of type [class org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:32:58.859 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#767a014e' of type [class java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:32:58.868 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#2f236de0' of type [class org.springframework.data.repository.core.support.PropertiesBasedNamedQueries] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:32:58.893 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#63c12e52' of type [class org.springframework.data.repository.query.ExtensionAwareEvaluationContextProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:32:59.095 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.jpa.CONFIGURATION_PROPERTIES' of type [class org.springframework.boot.autoconfigure.orm.jpa.JpaProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:32:59.108 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration' of type [class org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration$$EnhancerBySpringCGLIB$$eb299ea2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:32:59.359 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaVendorAdapter' of type [class org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:32:59.370 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactoryBuilder' of type [class org.springframework.boot.orm.jpa.EntityManagerFactoryBuilder] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:32:59.734 INFO 29352 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-0 - is starting.
+2016-01-26 14:33:01.659 INFO 29352 --- [main] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
+2016-01-26 14:33:01.838 INFO 29352 --- [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
+ name: default
+ ...]
+2016-01-26 14:33:02.833 INFO 29352 --- [main] org.hibernate.Version : HHH000412: Hibernate Core {4.3.11.Final}
+2016-01-26 14:33:02.847 INFO 29352 --- [main] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found
+2016-01-26 14:33:02.856 INFO 29352 --- [main] org.hibernate.cfg.Environment : HHH000021: Bytecode provider name : javassist
+2016-01-26 14:33:04.676 INFO 29352 --- [main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
+2016-01-26 14:33:05.225 INFO 29352 --- [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
+2016-01-26 14:33:06.908 INFO 29352 --- [main] o.h.h.i.ast.ASTQueryTranslatorFactory : HHH000397: Using ASTQueryTranslatorFactory
+2016-01-26 14:33:08.394 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactory' of type [class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:33:08.395 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactory' of type [class com.sun.proxy.$Proxy78] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:33:08.468 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#54e3658c' of type [class com.sun.proxy.$Proxy79] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:33:08.647 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaMappingContext' of type [class org.springframework.data.jpa.repository.config.JpaMetamodelMappingContextFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:33:08.648 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaMappingContext' of type [class org.springframework.data.jpa.mapping.JpaMetamodelMappingContext] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:33:09.713 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IUserDao' of type [class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:33:09.714 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IUserDao' of type [class com.sun.proxy.$Proxy84] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:33:09.716 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'myShiroRealm' of type [class org.springboot.sample.security.MyShiroRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:33:09.838 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'securityManager' of type [class org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:33:09.856 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#1a2e563e' of type [class org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:33:09.857 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#1a2e563e' of type [class java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:33:09.859 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#79cb8ffa' of type [class org.springframework.data.repository.core.support.PropertiesBasedNamedQueries] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:33:09.861 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#62ea8931' of type [class org.springframework.data.repository.query.ExtensionAwareEvaluationContextProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:33:09.864 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#47fb7ec9' of type [class com.sun.proxy.$Proxy79] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:33:09.953 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IScoreDao' of type [class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:33:09.954 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IScoreDao' of type [class com.sun.proxy.$Proxy87] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:33:09.967 INFO 29352 --- [main] o.s.sample.config.ShiroConfiguration : ##################ݿȡȨصshiroFilter##################
+2016-01-26 14:33:10.202 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'getAuthorizationAttributeSourceAdvisor' of type [class org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:33:10.515 INFO 29352 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$1d3e82] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:33:11.779 DEBUG 29352 --- [main] o.s.sample.SpringBootSampleApplication : ־ Debug
+2016-01-26 14:33:11.779 TRACE 29352 --- [main] o.s.sample.SpringBootSampleApplication : ־ Trace
+2016-01-26 14:33:11.780 INFO 29352 --- [main] o.s.sample.SpringBootSampleApplication : ־ Info
+2016-01-26 14:33:11.873 INFO 29352 --- [main] o.s.sample.config.MyWebAppConfigurer : D:\Program Files\Java\jdk1.8.0_60
+2016-01-26 14:33:11.874 INFO 29352 --- [main] o.s.sample.config.MyWebAppConfigurer : jdbc:mysql://localhost:3306/test
+2016-01-26 14:33:11.875 INFO 29352 --- [main] o.s.sample.config.MyWebAppConfigurer : jdbc:mysql://localhost:3306/test
+2016-01-26 14:33:11.876 INFO 29352 --- [main] o.s.sample.config.MyWebAppConfigurer : jdbc:mysql://localhost:3306/test
+2016-01-26 14:33:19.180 INFO 29352 --- [main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.web.context.support.GenericWebApplicationContext@69997e9d: startup date [Tue Jan 26 14:32:47 CST 2016]; root of context hierarchy
+2016-01-26 14:33:19.197 INFO 29352 --- [main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Detected @ModelAttribute methods in resourceUrlProviderController
+2016-01-26 14:33:19.566 INFO 29352 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/webjarslocator/{webjar}/**]}" onto public org.springframework.http.ResponseEntity org.springboot.sample.config.WebJarsController.locateWebjarAsset(java.lang.String,javax.servlet.http.HttpServletRequest)
+2016-01-26 14:33:19.571 INFO 29352 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello/list]}" onto public java.util.List> org.springboot.sample.controller.HelloController.getList()
+2016-01-26 14:33:19.572 INFO 29352 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello]}" onto public java.lang.String org.springboot.sample.controller.HelloController.hello()
+2016-01-26 14:33:19.572 INFO 29352 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello/info]}" onto public java.util.Map org.springboot.sample.controller.HelloController.getInfo(java.lang.String)
+2016-01-26 14:33:19.574 INFO 29352 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/ || /index]}" onto public java.lang.String org.springboot.sample.controller.PageController.index(java.util.Map)
+2016-01-26 14:33:19.575 INFO 29352 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/page1]}" onto public org.springframework.web.servlet.ModelAndView org.springboot.sample.controller.PageController.page1()
+2016-01-26 14:33:19.576 INFO 29352 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/page2]}" onto public java.lang.String org.springboot.sample.controller.PageController.page2(org.springframework.ui.Model)
+2016-01-26 14:33:19.577 INFO 29352 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/score/scoreList]}" onto public java.util.List org.springboot.sample.controller.ScoreController.getScoreList()
+2016-01-26 14:33:19.584 INFO 29352 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/login],methods=[POST]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.login(org.springboot.sample.entity.User,org.springframework.validation.BindingResult,org.springframework.web.servlet.mvc.support.RedirectAttributes)
+2016-01-26 14:33:19.585 INFO 29352 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/logout],methods=[GET]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.logout(org.springframework.web.servlet.mvc.support.RedirectAttributes)
+2016-01-26 14:33:19.586 INFO 29352 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/login],methods=[GET]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.loginForm(org.springframework.ui.Model)
+2016-01-26 14:33:19.587 INFO 29352 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/403]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.unauthorizedRole()
+2016-01-26 14:33:19.587 INFO 29352 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/user/edit/{userid}]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.getUserList(int)
+2016-01-26 14:33:19.588 INFO 29352 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/user]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.getUserList(java.util.Map)
+2016-01-26 14:33:19.591 INFO 29352 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/stu/scoreList]}" onto public java.util.List org.springboot.sample.controller.StudentController.getScoreList()
+2016-01-26 14:33:19.592 INFO 29352 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/stu/likeName]}" onto public java.util.List org.springboot.sample.controller.StudentController.likeName(java.lang.String,javax.servlet.http.HttpServletRequest)
+2016-01-26 14:33:19.592 INFO 29352 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/stu/list]}" onto public java.util.List org.springboot.sample.controller.StudentController.getStus()
+2016-01-26 14:33:19.596 INFO 29352 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
+2016-01-26 14:33:19.597 INFO 29352 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
+2016-01-26 14:33:20.180 INFO 29352 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/myres/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 14:33:20.180 INFO 29352 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/myimgs/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 14:33:20.180 INFO 29352 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 14:33:20.180 INFO 29352 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 14:33:20.446 INFO 29352 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 14:33:22.077 INFO 29352 --- [main] o.s.sample.runner.MyStartupRunner1 : >>>>>>>>>>>>>>>ִУִмݵȲ 11111111 <<<<<<<<<<<<<
+2016-01-26 14:33:22.476 INFO 29352 --- [main] o.s.sample.runner.MyStartupRunner1 : Էݿ⣺623
+2016-01-26 14:33:22.515 DEBUG 29352 --- [main] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds1 > List org.springboot.sample.service.StudentService.getListByDs1()
+2016-01-26 14:33:22.518 INFO 29352 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - is starting.
+2016-01-26 14:33:22.574 DEBUG 29352 --- [main] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds1 > List org.springboot.sample.service.StudentService.getListByDs1()
+2016-01-26 14:33:22.575 INFO 29352 --- [main] o.s.sample.runner.MyStartupRunner1 : ָԴDs1 >>> С1
+2016-01-26 14:33:22.576 DEBUG 29352 --- [main] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds2 > List org.springboot.sample.service.StudentService.getListByDs2()
+2016-01-26 14:33:22.578 INFO 29352 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - is starting.
+2016-01-26 14:33:22.626 DEBUG 29352 --- [main] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds2 > List org.springboot.sample.service.StudentService.getListByDs2()
+2016-01-26 14:33:22.627 INFO 29352 --- [main] o.s.sample.runner.MyStartupRunner1 : ָԴDs2 >>> С2
+2016-01-26 14:33:22.648 INFO 29352 --- [main] o.s.sample.runner.MyStartupRunner1 : ############Hello Shanhy
+2016-01-26 14:33:22.652 INFO 29352 --- [main] o.s.s.SpringBootSampleApplicationTests : Started SpringBootSampleApplicationTests in 37.423 seconds (JVM running for 40.183)
+2016-01-26 14:33:22.879 INFO 29352 --- [Thread-2] o.s.w.c.s.GenericWebApplicationContext : Closing org.springframework.web.context.support.GenericWebApplicationContext@69997e9d: startup date [Tue Jan 26 14:32:47 CST 2016]; root of context hierarchy
+2016-01-26 14:33:23.025 INFO 29352 --- [Thread-2] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
+2016-01-26 14:33:23.030 WARN 29352 --- [Thread-2] o.s.b.f.support.DisposableBeanAdapter : Invocation of destroy method 'close' failed on bean with name 'sqlSessionTemplate': java.lang.UnsupportedOperationException: Manual close is not allowed over a Spring managed SqlSession
+2016-01-26 14:45:40.399 INFO 30620 --- [main] o.s.s.SpringBootSampleApplicationTests : Starting SpringBootSampleApplicationTests on Shanhy-PC with PID 30620 (started by Shanhy in E:\Lenovocw\\Spring-Boot\spring-boot-sample)
+2016-01-26 14:45:40.420 DEBUG 30620 --- [main] o.s.s.SpringBootSampleApplicationTests : Running with Spring Boot v1.3.2.RELEASE, Spring v4.2.4.RELEASE
+2016-01-26 14:45:40.421 INFO 30620 --- [main] o.s.s.SpringBootSampleApplicationTests : No active profile set, falling back to default profiles: default
+2016-01-26 14:45:40.630 INFO 30620 --- [main] o.s.w.c.s.GenericWebApplicationContext : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@fba92d3: startup date [Tue Jan 26 14:45:40 CST 2016]; root of context hierarchy
+2016-01-26 14:45:43.600 INFO 30620 --- [main] o.s.s.d.DynamicDataSourceRegister : Dynamic DataSource Registry
+2016-01-26 14:45:44.517 INFO 30620 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'IScoreDao' with a different definition: replacing [Generic bean: class [org.mybatis.spring.mapper.MapperFactoryBean]; scope=singleton; abstract=false; lazyInit=false; autowireMode=2; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [E:\Lenovocw\\Spring-Boot\spring-boot-sample\target\classes\org\springboot\sample\dao\IScoreDao.class]] with [Root bean: class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
+2016-01-26 14:45:44.548 INFO 30620 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'IUserDao' with a different definition: replacing [Generic bean: class [org.mybatis.spring.mapper.MapperFactoryBean]; scope=singleton; abstract=false; lazyInit=false; autowireMode=2; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [E:\Lenovocw\\Spring-Boot\spring-boot-sample\target\classes\org\springboot\sample\dao\IUserDao.class]] with [Root bean: class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
+2016-01-26 14:45:45.565 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroConfiguration' of type [class org.springboot.sample.config.ShiroConfiguration$$EnhancerBySpringCGLIB$$62ed2c16] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:45:46.482 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'mybatis.CONFIGURATION_PROPERTIES' of type [class org.mybatis.spring.boot.autoconfigure.MybatisProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:45:46.509 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'myBatisConfiguration' of type [class org.springboot.sample.config.MyBatisConfiguration$$EnhancerBySpringCGLIB$$18066a54] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:45:46.572 INFO 30620 --- [main] o.s.sample.config.MyBatisConfiguration : עMyBatisҳPageHelper
+2016-01-26 14:45:46.634 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'pageHelper' of type [class com.github.pagehelper.PageHelper] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:45:46.656 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration' of type [class org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration$$EnhancerBySpringCGLIB$$7e87636f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:45:47.438 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'sqlSessionFactory' of type [class org.apache.ibatis.session.defaults.DefaultSqlSessionFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:45:47.506 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'sqlSessionTemplate' of type [class org.mybatis.spring.SqlSessionTemplate] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:45:47.548 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'studentMapper' of type [class org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:45:47.559 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'targetDataSource' of type [class org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:45:47.569 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shanhy' of type [class org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:45:50.261 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'getEhCacheManager' of type [class org.apache.shiro.cache.ehcache.EhCacheManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:45:50.296 INFO 30620 --- [main] o.a.shiro.cache.ehcache.EhCacheManager : Cache with name 'org.springboot.sample.security.MyShiroRealm.authorizationCache' does not yet exist. Creating now.
+2016-01-26 14:45:50.713 INFO 30620 --- [main] o.a.shiro.cache.ehcache.EhCacheManager : Added EhCache named [org.springboot.sample.security.MyShiroRealm.authorizationCache]
+2016-01-26 14:45:50.869 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#6dd1c3ed' of type [class org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:45:50.872 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#6dd1c3ed' of type [class java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:45:50.883 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#46963479' of type [class org.springframework.data.repository.core.support.PropertiesBasedNamedQueries] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:45:50.897 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#4b6e1c0' of type [class org.springframework.data.repository.query.ExtensionAwareEvaluationContextProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:45:51.039 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.jpa.CONFIGURATION_PROPERTIES' of type [class org.springframework.boot.autoconfigure.orm.jpa.JpaProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:45:51.050 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration' of type [class org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration$$EnhancerBySpringCGLIB$$1331d85f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:45:51.802 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaVendorAdapter' of type [class org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:45:51.811 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactoryBuilder' of type [class org.springframework.boot.orm.jpa.EntityManagerFactoryBuilder] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:45:51.894 INFO 30620 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-0 - is starting.
+2016-01-26 14:45:53.846 INFO 30620 --- [main] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
+2016-01-26 14:45:54.004 INFO 30620 --- [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
+ name: default
+ ...]
+2016-01-26 14:45:54.856 INFO 30620 --- [main] org.hibernate.Version : HHH000412: Hibernate Core {4.3.11.Final}
+2016-01-26 14:45:54.873 INFO 30620 --- [main] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found
+2016-01-26 14:45:54.894 INFO 30620 --- [main] org.hibernate.cfg.Environment : HHH000021: Bytecode provider name : javassist
+2016-01-26 14:45:56.299 INFO 30620 --- [main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
+2016-01-26 14:45:56.651 INFO 30620 --- [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
+2016-01-26 14:45:57.823 INFO 30620 --- [main] o.h.h.i.ast.ASTQueryTranslatorFactory : HHH000397: Using ASTQueryTranslatorFactory
+2016-01-26 14:45:59.366 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactory' of type [class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:45:59.367 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactory' of type [class com.sun.proxy.$Proxy78] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:45:59.402 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#6cd64ee8' of type [class com.sun.proxy.$Proxy79] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:45:59.535 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaMappingContext' of type [class org.springframework.data.jpa.repository.config.JpaMetamodelMappingContextFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:45:59.536 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaMappingContext' of type [class org.springframework.data.jpa.mapping.JpaMetamodelMappingContext] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:46:00.416 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IUserDao' of type [class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:46:00.417 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IUserDao' of type [class com.sun.proxy.$Proxy84] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:46:00.418 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'myShiroRealm' of type [class org.springboot.sample.security.MyShiroRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:46:00.509 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'securityManager' of type [class org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:46:00.519 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#7cf8f45a' of type [class org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:46:00.521 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#7cf8f45a' of type [class java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:46:00.522 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#53a301f3' of type [class org.springframework.data.repository.core.support.PropertiesBasedNamedQueries] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:46:00.526 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#204d9edf' of type [class org.springframework.data.repository.query.ExtensionAwareEvaluationContextProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:46:00.530 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#6b2aafbc' of type [class com.sun.proxy.$Proxy79] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:46:00.590 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IScoreDao' of type [class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:46:00.591 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IScoreDao' of type [class com.sun.proxy.$Proxy87] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:46:00.600 INFO 30620 --- [main] o.s.sample.config.ShiroConfiguration : ##################ݿȡȨصshiroFilter##################
+2016-01-26 14:46:00.803 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'getAuthorizationAttributeSourceAdvisor' of type [class org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:46:01.017 INFO 30620 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$2825783f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:46:02.412 DEBUG 30620 --- [main] o.s.sample.SpringBootSampleApplication : ־ Debug
+2016-01-26 14:46:02.413 TRACE 30620 --- [main] o.s.sample.SpringBootSampleApplication : ־ Trace
+2016-01-26 14:46:02.416 INFO 30620 --- [main] o.s.sample.SpringBootSampleApplication : ־ Info
+2016-01-26 14:46:02.507 INFO 30620 --- [main] o.s.sample.config.MyWebAppConfigurer : D:\Program Files\Java\jdk1.8.0_60
+2016-01-26 14:46:02.508 INFO 30620 --- [main] o.s.sample.config.MyWebAppConfigurer : jdbc:mysql://localhost:3306/test
+2016-01-26 14:46:02.509 INFO 30620 --- [main] o.s.sample.config.MyWebAppConfigurer : jdbc:mysql://localhost:3306/test
+2016-01-26 14:46:02.511 INFO 30620 --- [main] o.s.sample.config.MyWebAppConfigurer : jdbc:mysql://localhost:3306/test
+2016-01-26 14:46:11.498 INFO 30620 --- [main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.web.context.support.GenericWebApplicationContext@fba92d3: startup date [Tue Jan 26 14:45:40 CST 2016]; root of context hierarchy
+2016-01-26 14:46:11.526 INFO 30620 --- [main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Detected @ModelAttribute methods in resourceUrlProviderController
+2016-01-26 14:46:12.221 INFO 30620 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/webjarslocator/{webjar}/**]}" onto public org.springframework.http.ResponseEntity org.springboot.sample.config.WebJarsController.locateWebjarAsset(java.lang.String,javax.servlet.http.HttpServletRequest)
+2016-01-26 14:46:12.229 INFO 30620 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello/list]}" onto public java.util.List> org.springboot.sample.controller.HelloController.getList()
+2016-01-26 14:46:12.231 INFO 30620 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello]}" onto public java.lang.String org.springboot.sample.controller.HelloController.hello()
+2016-01-26 14:46:12.233 INFO 30620 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello/info]}" onto public java.util.Map org.springboot.sample.controller.HelloController.getInfo(java.lang.String)
+2016-01-26 14:46:12.236 INFO 30620 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/ || /index]}" onto public java.lang.String org.springboot.sample.controller.PageController.index(java.util.Map)
+2016-01-26 14:46:12.238 INFO 30620 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/page1]}" onto public org.springframework.web.servlet.ModelAndView org.springboot.sample.controller.PageController.page1()
+2016-01-26 14:46:12.239 INFO 30620 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/page2]}" onto public java.lang.String org.springboot.sample.controller.PageController.page2(org.springframework.ui.Model)
+2016-01-26 14:46:12.242 INFO 30620 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/score/scoreList]}" onto public java.util.List org.springboot.sample.controller.ScoreController.getScoreList()
+2016-01-26 14:46:12.254 INFO 30620 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/login],methods=[POST]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.login(org.springboot.sample.entity.User,org.springframework.validation.BindingResult,org.springframework.web.servlet.mvc.support.RedirectAttributes)
+2016-01-26 14:46:12.255 INFO 30620 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/logout],methods=[GET]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.logout(org.springframework.web.servlet.mvc.support.RedirectAttributes)
+2016-01-26 14:46:12.257 INFO 30620 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/login],methods=[GET]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.loginForm(org.springframework.ui.Model)
+2016-01-26 14:46:12.258 INFO 30620 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/403]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.unauthorizedRole()
+2016-01-26 14:46:12.259 INFO 30620 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/user/edit/{userid}]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.getUserList(int)
+2016-01-26 14:46:12.260 INFO 30620 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/user]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.getUserList(java.util.Map)
+2016-01-26 14:46:12.265 INFO 30620 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/stu/scoreList]}" onto public java.util.List org.springboot.sample.controller.StudentController.getScoreList()
+2016-01-26 14:46:12.267 INFO 30620 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/stu/likeName]}" onto public java.util.List org.springboot.sample.controller.StudentController.likeName(java.lang.String,javax.servlet.http.HttpServletRequest)
+2016-01-26 14:46:12.268 INFO 30620 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/stu/list]}" onto public java.util.List org.springboot.sample.controller.StudentController.getStus()
+2016-01-26 14:46:12.278 INFO 30620 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
+2016-01-26 14:46:12.280 INFO 30620 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
+2016-01-26 14:46:12.904 INFO 30620 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/myres/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 14:46:12.905 INFO 30620 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/myimgs/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 14:46:12.905 INFO 30620 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 14:46:12.906 INFO 30620 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 14:46:13.283 INFO 30620 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 14:46:15.372 INFO 30620 --- [main] o.s.sample.runner.MyStartupRunner1 : >>>>>>>>>>>>>>>ִУִмݵȲ 11111111 <<<<<<<<<<<<<
+2016-01-26 14:46:15.760 INFO 30620 --- [main] o.s.sample.runner.MyStartupRunner1 : Էݿ⣺623
+2016-01-26 14:46:15.791 DEBUG 30620 --- [main] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds1 > List org.springboot.sample.service.StudentService.getListByDs1()
+2016-01-26 14:46:15.794 INFO 30620 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - is starting.
+2016-01-26 14:46:15.877 DEBUG 30620 --- [main] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds1 > List org.springboot.sample.service.StudentService.getListByDs1()
+2016-01-26 14:46:15.878 INFO 30620 --- [main] o.s.sample.runner.MyStartupRunner1 : ָԴDs1 >>> С1
+2016-01-26 14:46:15.879 DEBUG 30620 --- [main] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds2 > List org.springboot.sample.service.StudentService.getListByDs2()
+2016-01-26 14:46:15.882 INFO 30620 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - is starting.
+2016-01-26 14:46:15.953 DEBUG 30620 --- [main] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds2 > List org.springboot.sample.service.StudentService.getListByDs2()
+2016-01-26 14:46:15.954 INFO 30620 --- [main] o.s.sample.runner.MyStartupRunner1 : ָԴDs2 >>> С2
+2016-01-26 14:46:15.977 INFO 30620 --- [main] o.s.sample.runner.MyStartupRunner1 : ############Hello Shanhy
+2016-01-26 14:46:15.982 INFO 30620 --- [main] o.s.s.SpringBootSampleApplicationTests : Started SpringBootSampleApplicationTests in 37.521 seconds (JVM running for 39.728)
+2016-01-26 14:46:16.101 INFO 30620 --- [Thread-2] o.s.w.c.s.GenericWebApplicationContext : Closing org.springframework.web.context.support.GenericWebApplicationContext@fba92d3: startup date [Tue Jan 26 14:45:40 CST 2016]; root of context hierarchy
+2016-01-26 14:46:16.195 INFO 30620 --- [Thread-2] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
+2016-01-26 14:46:16.200 WARN 30620 --- [Thread-2] o.s.b.f.support.DisposableBeanAdapter : Invocation of destroy method 'close' failed on bean with name 'sqlSessionTemplate': java.lang.UnsupportedOperationException: Manual close is not allowed over a Spring managed SqlSession
+2016-01-26 14:47:43.799 INFO 29820 --- [main] o.s.s.SpringBootSampleApplicationTests : Starting SpringBootSampleApplicationTests on Shanhy-PC with PID 29820 (started by Shanhy in E:\Lenovocw\\Spring-Boot\spring-boot-sample)
+2016-01-26 14:47:43.801 DEBUG 29820 --- [main] o.s.s.SpringBootSampleApplicationTests : Running with Spring Boot v1.3.2.RELEASE, Spring v4.2.4.RELEASE
+2016-01-26 14:47:43.803 INFO 29820 --- [main] o.s.s.SpringBootSampleApplicationTests : No active profile set, falling back to default profiles: default
+2016-01-26 14:47:44.172 INFO 29820 --- [main] o.s.w.c.s.GenericWebApplicationContext : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@79da8dc5: startup date [Tue Jan 26 14:47:44 CST 2016]; root of context hierarchy
+2016-01-26 14:47:48.442 INFO 29820 --- [main] o.s.s.d.DynamicDataSourceRegister : Dynamic DataSource Registry
+2016-01-26 14:47:49.225 INFO 29820 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'IScoreDao' with a different definition: replacing [Generic bean: class [org.mybatis.spring.mapper.MapperFactoryBean]; scope=singleton; abstract=false; lazyInit=false; autowireMode=2; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [E:\Lenovocw\\Spring-Boot\spring-boot-sample\target\classes\org\springboot\sample\dao\IScoreDao.class]] with [Root bean: class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
+2016-01-26 14:47:49.237 INFO 29820 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'IUserDao' with a different definition: replacing [Generic bean: class [org.mybatis.spring.mapper.MapperFactoryBean]; scope=singleton; abstract=false; lazyInit=false; autowireMode=2; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [E:\Lenovocw\\Spring-Boot\spring-boot-sample\target\classes\org\springboot\sample\dao\IUserDao.class]] with [Root bean: class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
+2016-01-26 14:47:49.925 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroConfiguration' of type [class org.springboot.sample.config.ShiroConfiguration$$EnhancerBySpringCGLIB$$7384b90b] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:47:50.432 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'mybatis.CONFIGURATION_PROPERTIES' of type [class org.mybatis.spring.boot.autoconfigure.MybatisProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:47:50.442 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'myBatisConfiguration' of type [class org.springboot.sample.config.MyBatisConfiguration$$EnhancerBySpringCGLIB$$289df749] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:47:50.491 INFO 29820 --- [main] o.s.sample.config.MyBatisConfiguration : עMyBatisҳPageHelper
+2016-01-26 14:47:50.517 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'pageHelper' of type [class com.github.pagehelper.PageHelper] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:47:50.533 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration' of type [class org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration$$EnhancerBySpringCGLIB$$8f1ef064] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:47:50.960 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'sqlSessionFactory' of type [class org.apache.ibatis.session.defaults.DefaultSqlSessionFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:47:51.013 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'sqlSessionTemplate' of type [class org.mybatis.spring.SqlSessionTemplate] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:47:51.044 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'studentMapper' of type [class org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:47:51.051 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'targetDataSource' of type [class org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:47:51.058 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shanhy' of type [class org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:47:53.640 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'getEhCacheManager' of type [class org.apache.shiro.cache.ehcache.EhCacheManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:47:53.661 INFO 29820 --- [main] o.a.shiro.cache.ehcache.EhCacheManager : Cache with name 'org.springboot.sample.security.MyShiroRealm.authorizationCache' does not yet exist. Creating now.
+2016-01-26 14:47:53.774 INFO 29820 --- [main] o.a.shiro.cache.ehcache.EhCacheManager : Added EhCache named [org.springboot.sample.security.MyShiroRealm.authorizationCache]
+2016-01-26 14:47:53.995 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#5d21202d' of type [class org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:47:54.000 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#5d21202d' of type [class java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:47:54.020 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#767191b1' of type [class org.springframework.data.repository.core.support.PropertiesBasedNamedQueries] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:47:54.038 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#1dba4e06' of type [class org.springframework.data.repository.query.ExtensionAwareEvaluationContextProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:47:54.183 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.jpa.CONFIGURATION_PROPERTIES' of type [class org.springframework.boot.autoconfigure.orm.jpa.JpaProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:47:54.194 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration' of type [class org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration$$EnhancerBySpringCGLIB$$23c96554] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:47:54.531 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaVendorAdapter' of type [class org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:47:54.543 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactoryBuilder' of type [class org.springframework.boot.orm.jpa.EntityManagerFactoryBuilder] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:47:54.620 INFO 29820 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-0 - is starting.
+2016-01-26 14:47:55.822 INFO 29820 --- [main] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
+2016-01-26 14:47:55.983 INFO 29820 --- [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
+ name: default
+ ...]
+2016-01-26 14:47:56.620 INFO 29820 --- [main] org.hibernate.Version : HHH000412: Hibernate Core {4.3.11.Final}
+2016-01-26 14:47:56.627 INFO 29820 --- [main] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found
+2016-01-26 14:47:56.634 INFO 29820 --- [main] org.hibernate.cfg.Environment : HHH000021: Bytecode provider name : javassist
+2016-01-26 14:47:57.949 INFO 29820 --- [main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
+2016-01-26 14:47:58.205 INFO 29820 --- [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
+2016-01-26 14:47:59.360 INFO 29820 --- [main] o.h.h.i.ast.ASTQueryTranslatorFactory : HHH000397: Using ASTQueryTranslatorFactory
+2016-01-26 14:48:00.653 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactory' of type [class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:48:00.654 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactory' of type [class com.sun.proxy.$Proxy78] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:48:00.719 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#4047d2d9' of type [class com.sun.proxy.$Proxy79] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:48:00.925 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaMappingContext' of type [class org.springframework.data.jpa.repository.config.JpaMetamodelMappingContextFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:48:00.926 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaMappingContext' of type [class org.springframework.data.jpa.mapping.JpaMetamodelMappingContext] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:48:02.077 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IUserDao' of type [class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:48:02.078 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IUserDao' of type [class com.sun.proxy.$Proxy84] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:48:02.079 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'myShiroRealm' of type [class org.springboot.sample.security.MyShiroRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:48:02.223 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'securityManager' of type [class org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:48:02.295 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#154b8cb6' of type [class org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:48:02.297 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#154b8cb6' of type [class java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:48:02.298 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#7a36c83a' of type [class org.springframework.data.repository.core.support.PropertiesBasedNamedQueries] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:48:02.300 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#1b7554d4' of type [class org.springframework.data.repository.query.ExtensionAwareEvaluationContextProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:48:02.303 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#57ce2898' of type [class com.sun.proxy.$Proxy79] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:48:02.446 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IScoreDao' of type [class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:48:02.447 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IScoreDao' of type [class com.sun.proxy.$Proxy87] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:48:02.458 INFO 29820 --- [main] o.s.sample.config.ShiroConfiguration : ##################ݿȡȨصshiroFilter##################
+2016-01-26 14:48:02.693 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'getAuthorizationAttributeSourceAdvisor' of type [class org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:48:02.988 INFO 29820 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$38bd0534] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 14:48:04.258 DEBUG 29820 --- [main] o.s.sample.SpringBootSampleApplication : ־ Debug
+2016-01-26 14:48:04.259 TRACE 29820 --- [main] o.s.sample.SpringBootSampleApplication : ־ Trace
+2016-01-26 14:48:04.261 INFO 29820 --- [main] o.s.sample.SpringBootSampleApplication : ־ Info
+2016-01-26 14:48:04.359 INFO 29820 --- [main] o.s.sample.config.MyWebAppConfigurer : D:\Program Files\Java\jdk1.8.0_60
+2016-01-26 14:48:04.360 INFO 29820 --- [main] o.s.sample.config.MyWebAppConfigurer : jdbc:mysql://localhost:3306/test
+2016-01-26 14:48:04.360 INFO 29820 --- [main] o.s.sample.config.MyWebAppConfigurer : jdbc:mysql://localhost:3306/test
+2016-01-26 14:48:04.361 INFO 29820 --- [main] o.s.sample.config.MyWebAppConfigurer : jdbc:mysql://localhost:3306/test
+2016-01-26 14:48:14.182 INFO 29820 --- [main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.web.context.support.GenericWebApplicationContext@79da8dc5: startup date [Tue Jan 26 14:47:44 CST 2016]; root of context hierarchy
+2016-01-26 14:48:14.210 INFO 29820 --- [main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Detected @ModelAttribute methods in resourceUrlProviderController
+2016-01-26 14:48:15.100 INFO 29820 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/webjarslocator/{webjar}/**]}" onto public org.springframework.http.ResponseEntity org.springboot.sample.config.WebJarsController.locateWebjarAsset(java.lang.String,javax.servlet.http.HttpServletRequest)
+2016-01-26 14:48:15.109 INFO 29820 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello/list]}" onto public java.util.List> org.springboot.sample.controller.HelloController.getList()
+2016-01-26 14:48:15.110 INFO 29820 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello]}" onto public java.lang.String org.springboot.sample.controller.HelloController.hello()
+2016-01-26 14:48:15.111 INFO 29820 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello/info]}" onto public java.util.Map org.springboot.sample.controller.HelloController.getInfo(java.lang.String)
+2016-01-26 14:48:15.126 INFO 29820 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/ || /index]}" onto public java.lang.String org.springboot.sample.controller.PageController.index(java.util.Map)
+2016-01-26 14:48:15.128 INFO 29820 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/page1]}" onto public org.springframework.web.servlet.ModelAndView org.springboot.sample.controller.PageController.page1()
+2016-01-26 14:48:15.130 INFO 29820 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/page2]}" onto public java.lang.String org.springboot.sample.controller.PageController.page2(org.springframework.ui.Model)
+2016-01-26 14:48:15.133 INFO 29820 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/score/scoreList]}" onto public java.util.List org.springboot.sample.controller.ScoreController.getScoreList()
+2016-01-26 14:48:15.146 INFO 29820 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/login],methods=[POST]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.login(org.springboot.sample.entity.User,org.springframework.validation.BindingResult,org.springframework.web.servlet.mvc.support.RedirectAttributes)
+2016-01-26 14:48:15.147 INFO 29820 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/logout],methods=[GET]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.logout(org.springframework.web.servlet.mvc.support.RedirectAttributes)
+2016-01-26 14:48:15.148 INFO 29820 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/login],methods=[GET]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.loginForm(org.springframework.ui.Model)
+2016-01-26 14:48:15.149 INFO 29820 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/403]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.unauthorizedRole()
+2016-01-26 14:48:15.150 INFO 29820 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/user/edit/{userid}]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.getUserList(int)
+2016-01-26 14:48:15.152 INFO 29820 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/user]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.getUserList(java.util.Map)
+2016-01-26 14:48:15.157 INFO 29820 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/stu/scoreList]}" onto public java.util.List org.springboot.sample.controller.StudentController.getScoreList()
+2016-01-26 14:48:15.159 INFO 29820 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/stu/likeName]}" onto public java.util.List org.springboot.sample.controller.StudentController.likeName(java.lang.String,javax.servlet.http.HttpServletRequest)
+2016-01-26 14:48:15.161 INFO 29820 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/stu/list]}" onto public java.util.List org.springboot.sample.controller.StudentController.getStus()
+2016-01-26 14:48:15.168 INFO 29820 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
+2016-01-26 14:48:15.172 INFO 29820 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
+2016-01-26 14:48:16.118 INFO 29820 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/myres/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 14:48:16.118 INFO 29820 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/myimgs/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 14:48:16.119 INFO 29820 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 14:48:16.119 INFO 29820 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 14:48:16.658 INFO 29820 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 14:48:19.038 INFO 29820 --- [main] o.s.sample.runner.MyStartupRunner1 : >>>>>>>>>>>>>>>ִУִмݵȲ 11111111 <<<<<<<<<<<<<
+2016-01-26 14:48:19.374 INFO 29820 --- [main] o.s.sample.runner.MyStartupRunner1 : Էݿ⣺623
+2016-01-26 14:48:19.412 DEBUG 29820 --- [main] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds1 > List org.springboot.sample.service.StudentService.getListByDs1()
+2016-01-26 14:48:19.415 INFO 29820 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - is starting.
+2016-01-26 14:48:19.498 DEBUG 29820 --- [main] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds1 > List org.springboot.sample.service.StudentService.getListByDs1()
+2016-01-26 14:48:19.499 INFO 29820 --- [main] o.s.sample.runner.MyStartupRunner1 : ָԴDs1 >>> С1
+2016-01-26 14:48:19.513 DEBUG 29820 --- [main] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds2 > List org.springboot.sample.service.StudentService.getListByDs2()
+2016-01-26 14:48:19.517 INFO 29820 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - is starting.
+2016-01-26 14:48:19.583 DEBUG 29820 --- [main] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds2 > List org.springboot.sample.service.StudentService.getListByDs2()
+2016-01-26 14:48:19.584 INFO 29820 --- [main] o.s.sample.runner.MyStartupRunner1 : ָԴDs2 >>> С2
+2016-01-26 14:48:19.608 INFO 29820 --- [main] o.s.sample.runner.MyStartupRunner1 : ############Hello Shanhy
+2016-01-26 14:48:19.613 INFO 29820 --- [main] o.s.s.SpringBootSampleApplicationTests : Started SpringBootSampleApplicationTests in 38.499 seconds (JVM running for 40.81)
+2016-01-26 14:48:19.840 INFO 29820 --- [Thread-2] o.s.w.c.s.GenericWebApplicationContext : Closing org.springframework.web.context.support.GenericWebApplicationContext@79da8dc5: startup date [Tue Jan 26 14:47:44 CST 2016]; root of context hierarchy
+2016-01-26 14:48:19.917 INFO 29820 --- [Thread-2] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
+2016-01-26 14:48:19.921 WARN 29820 --- [Thread-2] o.s.b.f.support.DisposableBeanAdapter : Invocation of destroy method 'close' failed on bean with name 'sqlSessionTemplate': java.lang.UnsupportedOperationException: Manual close is not allowed over a Spring managed SqlSession
+2016-01-26 15:34:29.235 INFO 27248 --- [main] o.s.sample.SpringBootSampleApplication : Starting SpringBootSampleApplication on Shanhy-PC with PID 27248 (started by Shanhy in E:\Lenovocw\▲技术解决方案\Spring-Boot\spring-boot-sample)
+2016-01-26 15:34:29.246 DEBUG 27248 --- [main] o.s.sample.SpringBootSampleApplication : Running with Spring Boot v1.3.2.RELEASE, Spring v4.2.4.RELEASE
+2016-01-26 15:34:29.246 INFO 27248 --- [main] o.s.sample.SpringBootSampleApplication : No active profile set, falling back to default profiles: default
+2016-01-26 15:34:29.646 INFO 27248 --- [main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@3febb011: startup date [Tue Jan 26 15:34:29 CST 2016]; root of context hierarchy
+2016-01-26 15:34:33.996 INFO 27248 --- [main] o.s.s.d.DynamicDataSourceRegister : Dynamic DataSource Registry
+2016-01-26 15:34:34.376 INFO 27248 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'beanNameViewResolver' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration$WhitelabelErrorViewConfiguration; factoryMethodName=beanNameViewResolver; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/web/ErrorMvcAutoConfiguration$WhitelabelErrorViewConfiguration.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter; factoryMethodName=beanNameViewResolver; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter.class]]
+2016-01-26 15:34:34.964 INFO 27248 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'IUserDao' with a different definition: replacing [Generic bean: class [org.mybatis.spring.mapper.MapperFactoryBean]; scope=singleton; abstract=false; lazyInit=false; autowireMode=2; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [E:\Lenovocw\▲技术解决方案\Spring-Boot\spring-boot-sample\target\classes\org\springboot\sample\dao\IUserDao.class]] with [Root bean: class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
+2016-01-26 15:34:34.982 INFO 27248 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'IScoreDao' with a different definition: replacing [Generic bean: class [org.mybatis.spring.mapper.MapperFactoryBean]; scope=singleton; abstract=false; lazyInit=false; autowireMode=2; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [E:\Lenovocw\▲技术解决方案\Spring-Boot\spring-boot-sample\target\classes\org\springboot\sample\dao\IScoreDao.class]] with [Root bean: class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
+2016-01-26 15:34:36.061 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroConfiguration' of type [class org.springboot.sample.config.ShiroConfiguration$$EnhancerBySpringCGLIB$$a8dd5dbe] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:36.798 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'mybatis.CONFIGURATION_PROPERTIES' of type [class org.mybatis.spring.boot.autoconfigure.MybatisProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:36.815 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'myBatisConfiguration' of type [class org.springboot.sample.config.MyBatisConfiguration$$EnhancerBySpringCGLIB$$5df69bfc] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:36.861 INFO 27248 --- [main] o.s.sample.config.MyBatisConfiguration : 注册MyBatis分页插件PageHelper
+2016-01-26 15:34:36.904 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'pageHelper' of type [class com.github.pagehelper.PageHelper] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:36.924 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration' of type [class org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration$$EnhancerBySpringCGLIB$$c4779517] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:38.715 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'sqlSessionFactory' of type [class org.apache.ibatis.session.defaults.DefaultSqlSessionFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:38.750 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'sqlSessionTemplate' of type [class org.mybatis.spring.SqlSessionTemplate] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:38.753 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'studentMapper' of type [class org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:38.770 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'targetDataSource' of type [class org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:38.782 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shanhy' of type [class org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:39.117 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'getEhCacheManager' of type [class org.apache.shiro.cache.ehcache.EhCacheManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:39.144 INFO 27248 --- [main] o.a.shiro.cache.ehcache.EhCacheManager : Cache with name 'org.springboot.sample.security.MyShiroRealm.authorizationCache' does not yet exist. Creating now.
+2016-01-26 15:34:39.270 INFO 27248 --- [main] o.a.shiro.cache.ehcache.EhCacheManager : Added EhCache named [org.springboot.sample.security.MyShiroRealm.authorizationCache]
+2016-01-26 15:34:39.375 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#20ab3e3a' of type [class org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:39.375 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#20ab3e3a' of type [class java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:39.384 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#4e1a46fb' of type [class org.springframework.data.repository.core.support.PropertiesBasedNamedQueries] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:39.399 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#6573d2f7' of type [class org.springframework.data.repository.query.ExtensionAwareEvaluationContextProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:39.523 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.jpa.CONFIGURATION_PROPERTIES' of type [class org.springframework.boot.autoconfigure.orm.jpa.JpaProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:39.534 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration' of type [class org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration$$EnhancerBySpringCGLIB$$59220a07] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:39.699 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaVendorAdapter' of type [class org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:39.712 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactoryBuilder' of type [class org.springframework.boot.orm.jpa.EntityManagerFactoryBuilder] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:39.753 INFO 27248 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-0 - is starting.
+2016-01-26 15:34:40.830 INFO 27248 --- [main] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
+2016-01-26 15:34:41.007 INFO 27248 --- [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
+ name: default
+ ...]
+2016-01-26 15:34:41.601 INFO 27248 --- [main] org.hibernate.Version : HHH000412: Hibernate Core {4.3.11.Final}
+2016-01-26 15:34:41.619 INFO 27248 --- [main] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found
+2016-01-26 15:34:41.633 INFO 27248 --- [main] org.hibernate.cfg.Environment : HHH000021: Bytecode provider name : javassist
+2016-01-26 15:34:42.846 INFO 27248 --- [main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
+2016-01-26 15:34:43.192 INFO 27248 --- [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
+2016-01-26 15:34:43.801 INFO 27248 --- [main] o.h.h.i.ast.ASTQueryTranslatorFactory : HHH000397: Using ASTQueryTranslatorFactory
+2016-01-26 15:34:45.338 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactory' of type [class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:45.339 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactory' of type [class com.sun.proxy.$Proxy69] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:45.386 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#7fb29ca9' of type [class com.sun.proxy.$Proxy70] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:45.530 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaMappingContext' of type [class org.springframework.data.jpa.repository.config.JpaMetamodelMappingContextFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:45.531 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaMappingContext' of type [class org.springframework.data.jpa.mapping.JpaMetamodelMappingContext] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:46.289 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IUserDao' of type [class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:46.292 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IUserDao' of type [class com.sun.proxy.$Proxy75] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:46.294 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'myShiroRealm' of type [class org.springboot.sample.security.MyShiroRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:46.414 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'securityManager' of type [class org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:46.423 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#4c24f3a2' of type [class org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:46.424 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#4c24f3a2' of type [class java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:46.426 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#6ed18d80' of type [class org.springframework.data.repository.core.support.PropertiesBasedNamedQueries] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:46.427 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#2ec85a25' of type [class org.springframework.data.repository.query.ExtensionAwareEvaluationContextProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:46.430 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#4c176ff1' of type [class com.sun.proxy.$Proxy70] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:46.491 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IScoreDao' of type [class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:46.492 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IScoreDao' of type [class com.sun.proxy.$Proxy78] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:46.500 INFO 27248 --- [main] o.s.sample.config.ShiroConfiguration : ##################从数据库读取权限规则,加载到shiroFilter中##################
+2016-01-26 15:34:46.645 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'getAuthorizationAttributeSourceAdvisor' of type [class org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:46.851 INFO 27248 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$6e15a9e7] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 15:34:49.599 INFO 27248 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 9090 (http)
+2016-01-26 15:34:49.662 INFO 27248 --- [main] o.apache.catalina.core.StandardService : Starting service Tomcat
+2016-01-26 15:34:49.665 INFO 27248 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.0.30
+2016-01-26 15:34:51.241 INFO 27248 --- [localhost-startStop-1] org.apache.jasper.servlet.TldScanner : At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
+2016-01-26 15:34:51.259 INFO 27248 --- [localhost-startStop-1] o.a.c.c.C.[.[localhost].[/myspringboot] : Initializing Spring embedded WebApplicationContext
+2016-01-26 15:34:51.260 INFO 27248 --- [localhost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 21662 ms
+2016-01-26 15:34:51.473 DEBUG 27248 --- [localhost-startStop-1] o.s.sample.SpringBootSampleApplication : 日志输出测试 Debug
+2016-01-26 15:34:51.474 TRACE 27248 --- [localhost-startStop-1] o.s.sample.SpringBootSampleApplication : 日志输出测试 Trace
+2016-01-26 15:34:51.475 INFO 27248 --- [localhost-startStop-1] o.s.sample.SpringBootSampleApplication : 日志输出测试 Info
+2016-01-26 15:34:56.307 INFO 27248 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
+2016-01-26 15:34:56.308 INFO 27248 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
+2016-01-26 15:34:56.309 INFO 27248 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
+2016-01-26 15:34:56.310 INFO 27248 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
+2016-01-26 15:34:56.311 INFO 27248 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'delegatingFilterProxy' to urls: [/*]
+2016-01-26 15:34:56.312 INFO 27248 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'myFilter' to urls: [/*]
+2016-01-26 15:34:56.312 INFO 27248 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'shiroFilter' to: [/*]
+2016-01-26 15:34:56.315 INFO 27248 --- [localhost-startStop-1] o.s.b.c.e.ServletRegistrationBean : Mapping servlet: 'myServlet' to [/xs/*]
+2016-01-26 15:34:56.320 INFO 27248 --- [localhost-startStop-1] o.s.b.c.e.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
+2016-01-26 15:34:56.321 INFO 27248 --- [localhost-startStop-1] o.s.b.c.e.ServletRegistrationBean : Mapping servlet: 'org.springboot.sample.servlet.MyServlet2' to [/xs/myservlet]
+2016-01-26 15:34:56.610 INFO 27248 --- [main] o.s.sample.config.MyWebAppConfigurer : D:\Program Files\Java\jdk1.8.0_60
+2016-01-26 15:34:56.611 INFO 27248 --- [main] o.s.sample.config.MyWebAppConfigurer : jdbc:mysql://localhost:3306/test
+2016-01-26 15:34:56.613 INFO 27248 --- [main] o.s.sample.config.MyWebAppConfigurer : jdbc:mysql://localhost:3306/test
+2016-01-26 15:34:56.614 INFO 27248 --- [main] o.s.sample.config.MyWebAppConfigurer : jdbc:mysql://localhost:3306/test
+2016-01-26 15:34:59.612 INFO 27248 --- [main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@3febb011: startup date [Tue Jan 26 15:34:29 CST 2016]; root of context hierarchy
+2016-01-26 15:34:59.639 INFO 27248 --- [main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Detected @ModelAttribute methods in resourceUrlProviderController
+2016-01-26 15:35:00.398 INFO 27248 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/webjarslocator/{webjar}/**]}" onto public org.springframework.http.ResponseEntity org.springboot.sample.config.WebJarsController.locateWebjarAsset(java.lang.String,javax.servlet.http.HttpServletRequest)
+2016-01-26 15:35:00.407 INFO 27248 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello/info]}" onto public java.util.Map org.springboot.sample.controller.HelloController.getInfo(java.lang.String)
+2016-01-26 15:35:00.408 INFO 27248 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello]}" onto public java.lang.String org.springboot.sample.controller.HelloController.hello()
+2016-01-26 15:35:00.408 INFO 27248 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello/list]}" onto public java.util.List> org.springboot.sample.controller.HelloController.getList()
+2016-01-26 15:35:00.411 INFO 27248 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/ || /index]}" onto public java.lang.String org.springboot.sample.controller.PageController.index(java.util.Map)
+2016-01-26 15:35:00.413 INFO 27248 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/page1]}" onto public org.springframework.web.servlet.ModelAndView org.springboot.sample.controller.PageController.page1()
+2016-01-26 15:35:00.413 INFO 27248 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/page2]}" onto public java.lang.String org.springboot.sample.controller.PageController.page2(org.springframework.ui.Model)
+2016-01-26 15:35:00.416 INFO 27248 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/score/scoreList]}" onto public java.util.List org.springboot.sample.controller.ScoreController.getScoreList()
+2016-01-26 15:35:00.428 INFO 27248 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/login],methods=[GET]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.loginForm(org.springframework.ui.Model)
+2016-01-26 15:35:00.429 INFO 27248 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/login],methods=[POST]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.login(org.springboot.sample.entity.User,org.springframework.validation.BindingResult,org.springframework.web.servlet.mvc.support.RedirectAttributes)
+2016-01-26 15:35:00.430 INFO 27248 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/logout],methods=[GET]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.logout(org.springframework.web.servlet.mvc.support.RedirectAttributes)
+2016-01-26 15:35:00.431 INFO 27248 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/403]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.unauthorizedRole()
+2016-01-26 15:35:00.432 INFO 27248 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/user]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.getUserList(java.util.Map)
+2016-01-26 15:35:00.433 INFO 27248 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/user/edit/{userid}]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.getUserList(int)
+2016-01-26 15:35:00.436 INFO 27248 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/stu/scoreList]}" onto public java.util.List org.springboot.sample.controller.StudentController.getScoreList()
+2016-01-26 15:35:00.437 INFO 27248 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/stu/list]}" onto public java.util.List org.springboot.sample.controller.StudentController.getStus()
+2016-01-26 15:35:00.438 INFO 27248 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/stu/likeName]}" onto public java.util.List org.springboot.sample.controller.StudentController.likeName(java.lang.String,javax.servlet.http.HttpServletRequest)
+2016-01-26 15:35:00.444 INFO 27248 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
+2016-01-26 15:35:00.446 INFO 27248 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
+2016-01-26 15:35:01.029 INFO 27248 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/myres/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 15:35:01.030 INFO 27248 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/myimgs/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 15:35:01.031 INFO 27248 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 15:35:01.031 INFO 27248 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 15:35:01.397 INFO 27248 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 15:35:03.598 INFO 27248 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup
+2016-01-26 15:35:04.908 INFO 27248 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 9090 (http)
+2016-01-26 15:35:04.925 INFO 27248 --- [main] o.s.sample.runner.MyStartupRunner1 : >>>>>>>>>>>>>>>服务启动执行,执行加载数据等操作 11111111 <<<<<<<<<<<<<
+2016-01-26 15:35:05.328 INFO 27248 --- [main] o.s.sample.runner.MyStartupRunner1 : 测试这里可以访问数据库:6,23
+2016-01-26 15:35:05.351 DEBUG 27248 --- [main] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds1 > List org.springboot.sample.service.StudentService.getListByDs1()
+2016-01-26 15:35:05.355 INFO 27248 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - is starting.
+2016-01-26 15:35:05.427 DEBUG 27248 --- [main] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds1 > List org.springboot.sample.service.StudentService.getListByDs1()
+2016-01-26 15:35:05.429 INFO 27248 --- [main] o.s.sample.runner.MyStartupRunner1 : 指定数据源Ds1 >>> 小明1
+2016-01-26 15:35:05.430 DEBUG 27248 --- [main] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds2 > List org.springboot.sample.service.StudentService.getListByDs2()
+2016-01-26 15:35:05.433 INFO 27248 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - is starting.
+2016-01-26 15:35:05.511 DEBUG 27248 --- [main] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds2 > List org.springboot.sample.service.StudentService.getListByDs2()
+2016-01-26 15:35:05.512 INFO 27248 --- [main] o.s.sample.runner.MyStartupRunner1 : 指定数据源Ds2 >>> 小明2
+2016-01-26 15:35:05.568 INFO 27248 --- [main] o.s.sample.runner.MyStartupRunner1 : ############Hello Shanhy
+2016-01-26 15:35:05.572 INFO 27248 --- [main] o.s.sample.SpringBootSampleApplication : Started SpringBootSampleApplication in 37.912 seconds (JVM running for 40.437)
+2016-01-26 15:35:48.532 INFO 27248 --- [RMI TCP Connection(7)-192.168.16.110] inMXBeanRegistrar$SpringApplicationAdmin : Application shutdown requested.
+2016-01-26 15:35:48.533 INFO 27248 --- [RMI TCP Connection(7)-192.168.16.110] ationConfigEmbeddedWebApplicationContext : Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@3febb011: startup date [Tue Jan 26 15:34:29 CST 2016]; root of context hierarchy
+2016-01-26 15:35:48.539 INFO 27248 --- [RMI TCP Connection(7)-192.168.16.110] o.s.j.e.a.AnnotationMBeanExporter : Unregistering JMX-exposed beans on shutdown
+2016-01-26 15:35:48.554 INFO 27248 --- [RMI TCP Connection(7)-192.168.16.110] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
+2016-01-26 15:35:48.557 WARN 27248 --- [RMI TCP Connection(7)-192.168.16.110] o.s.b.f.support.DisposableBeanAdapter : Invocation of destroy method 'close' failed on bean with name 'sqlSessionTemplate': java.lang.UnsupportedOperationException: Manual close is not allowed over a Spring managed SqlSession
+2016-01-26 16:17:45.638 INFO 29240 --- [main] o.s.sample.SpringBootSampleApplication : Starting SpringBootSampleApplication on Shanhy-PC with PID 29240 (E:\Lenovocw\\Spring-Boot\spring-boot-sample\target\classes started by Shanhy in E:\Lenovocw\\Spring-Boot\spring-boot-sample)
+2016-01-26 16:17:45.914 DEBUG 29240 --- [main] o.s.sample.SpringBootSampleApplication : Running with Spring Boot v1.3.2.RELEASE, Spring v4.2.4.RELEASE
+2016-01-26 16:17:45.920 INFO 29240 --- [main] o.s.sample.SpringBootSampleApplication : No active profile set, falling back to default profiles: default
+2016-01-26 16:17:46.120 INFO 29240 --- [main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@304ffbe5: startup date [Tue Jan 26 16:17:46 CST 2016]; root of context hierarchy
+2016-01-26 16:17:48.996 INFO 29240 --- [main] o.s.s.d.DynamicDataSourceRegister : Dynamic DataSource Registry
+2016-01-26 16:17:49.316 INFO 29240 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'beanNameViewResolver' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration$WhitelabelErrorViewConfiguration; factoryMethodName=beanNameViewResolver; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/web/ErrorMvcAutoConfiguration$WhitelabelErrorViewConfiguration.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter; factoryMethodName=beanNameViewResolver; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter.class]]
+2016-01-26 16:17:49.947 INFO 29240 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'IScoreDao' with a different definition: replacing [Generic bean: class [org.mybatis.spring.mapper.MapperFactoryBean]; scope=singleton; abstract=false; lazyInit=false; autowireMode=2; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [E:\Lenovocw\\Spring-Boot\spring-boot-sample\target\classes\org\springboot\sample\dao\IScoreDao.class]] with [Root bean: class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
+2016-01-26 16:17:49.972 INFO 29240 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'IUserDao' with a different definition: replacing [Generic bean: class [org.mybatis.spring.mapper.MapperFactoryBean]; scope=singleton; abstract=false; lazyInit=false; autowireMode=2; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [E:\Lenovocw\\Spring-Boot\spring-boot-sample\target\classes\org\springboot\sample\dao\IUserDao.class]] with [Root bean: class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
+2016-01-26 16:17:52.409 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroConfiguration' of type [class org.springboot.sample.config.ShiroConfiguration$$EnhancerBySpringCGLIB$$efec691] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:17:54.530 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'mybatis.CONFIGURATION_PROPERTIES' of type [class org.mybatis.spring.boot.autoconfigure.MybatisProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:17:54.740 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'myBatisConfiguration' of type [class org.springboot.sample.config.MyBatisConfiguration$$EnhancerBySpringCGLIB$$c41804cf] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:17:54.787 INFO 29240 --- [main] o.s.sample.config.MyBatisConfiguration : עMyBatisҳPageHelper
+2016-01-26 16:17:54.895 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'pageHelper' of type [class com.github.pagehelper.PageHelper] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:17:54.922 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration' of type [class org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration$$EnhancerBySpringCGLIB$$2a98fdea] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:17:56.314 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'sqlSessionFactory' of type [class org.apache.ibatis.session.defaults.DefaultSqlSessionFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:17:56.386 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'sqlSessionTemplate' of type [class org.mybatis.spring.SqlSessionTemplate] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:17:56.452 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'studentMapper' of type [class org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:17:56.464 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'targetDataSource' of type [class org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:17:56.507 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shanhy' of type [class org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:17:59.464 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'getEhCacheManager' of type [class org.apache.shiro.cache.ehcache.EhCacheManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:17:59.527 INFO 29240 --- [main] o.a.shiro.cache.ehcache.EhCacheManager : Cache with name 'org.springboot.sample.security.MyShiroRealm.authorizationCache' does not yet exist. Creating now.
+2016-01-26 16:17:59.706 INFO 29240 --- [main] o.a.shiro.cache.ehcache.EhCacheManager : Added EhCache named [org.springboot.sample.security.MyShiroRealm.authorizationCache]
+2016-01-26 16:17:59.868 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#28e51d21' of type [class org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:17:59.869 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#28e51d21' of type [class java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:17:59.878 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#f617ae0' of type [class org.springframework.data.repository.core.support.PropertiesBasedNamedQueries] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:17:59.890 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#12c39eae' of type [class org.springframework.data.repository.query.ExtensionAwareEvaluationContextProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:18:00.101 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.jpa.CONFIGURATION_PROPERTIES' of type [class org.springframework.boot.autoconfigure.orm.jpa.JpaProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:18:00.112 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration' of type [class org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration$$EnhancerBySpringCGLIB$$bf4372da] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:18:00.253 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaVendorAdapter' of type [class org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:18:00.295 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactoryBuilder' of type [class org.springframework.boot.orm.jpa.EntityManagerFactoryBuilder] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:18:00.344 INFO 29240 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-0 - is starting.
+2016-01-26 16:18:01.705 INFO 29240 --- [main] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
+2016-01-26 16:18:01.862 INFO 29240 --- [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
+ name: default
+ ...]
+2016-01-26 16:18:02.488 INFO 29240 --- [main] org.hibernate.Version : HHH000412: Hibernate Core {4.3.11.Final}
+2016-01-26 16:18:02.495 INFO 29240 --- [main] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found
+2016-01-26 16:18:02.502 INFO 29240 --- [main] org.hibernate.cfg.Environment : HHH000021: Bytecode provider name : javassist
+2016-01-26 16:18:03.846 INFO 29240 --- [main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
+2016-01-26 16:18:04.144 INFO 29240 --- [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
+2016-01-26 16:18:04.908 INFO 29240 --- [main] o.h.h.i.ast.ASTQueryTranslatorFactory : HHH000397: Using ASTQueryTranslatorFactory
+2016-01-26 16:18:06.196 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactory' of type [class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:18:06.198 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactory' of type [class com.sun.proxy.$Proxy90] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:18:06.238 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#4c5c594c' of type [class com.sun.proxy.$Proxy91] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:18:06.496 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaMappingContext' of type [class org.springframework.data.jpa.repository.config.JpaMetamodelMappingContextFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:18:06.497 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaMappingContext' of type [class org.springframework.data.jpa.mapping.JpaMetamodelMappingContext] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:18:07.638 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IUserDao' of type [class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:18:07.639 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IUserDao' of type [class com.sun.proxy.$Proxy96] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:18:07.640 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'myShiroRealm' of type [class org.springboot.sample.security.MyShiroRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:18:07.796 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'securityManager' of type [class org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:18:07.806 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#7ded7848' of type [class org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:18:07.813 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#7ded7848' of type [class java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:18:07.907 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#21fc7a82' of type [class org.springframework.data.repository.core.support.PropertiesBasedNamedQueries] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:18:07.912 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#78e41b50' of type [class org.springframework.data.repository.query.ExtensionAwareEvaluationContextProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:18:08.071 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#3a8e46a4' of type [class com.sun.proxy.$Proxy91] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:18:08.200 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IScoreDao' of type [class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:18:08.293 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IScoreDao' of type [class com.sun.proxy.$Proxy99] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:18:08.311 INFO 29240 --- [main] o.s.sample.config.ShiroConfiguration : ##################ݿȡȨصshiroFilter##################
+2016-01-26 16:18:08.589 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'getAuthorizationAttributeSourceAdvisor' of type [class org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:18:08.830 INFO 29240 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$d43712ba] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:18:12.241 INFO 29240 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8080 (http)
+2016-01-26 16:18:14.436 INFO 29240 --- [main] o.apache.catalina.core.StandardService : Starting service Tomcat
+2016-01-26 16:18:14.455 INFO 29240 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.0.30
+2016-01-26 16:18:16.233 INFO 29240 --- [localhost-startStop-1] org.apache.jasper.servlet.TldScanner : At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
+2016-01-26 16:18:16.255 INFO 29240 --- [localhost-startStop-1] o.a.c.c.C.[.[localhost].[/myspringboot] : Initializing Spring embedded WebApplicationContext
+2016-01-26 16:18:16.258 INFO 29240 --- [localhost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 30146 ms
+2016-01-26 16:18:16.528 DEBUG 29240 --- [localhost-startStop-1] o.s.sample.SpringBootSampleApplication : ־ Debug
+2016-01-26 16:18:16.545 TRACE 29240 --- [localhost-startStop-1] o.s.sample.SpringBootSampleApplication : ־ Trace
+2016-01-26 16:18:16.548 INFO 29240 --- [localhost-startStop-1] o.s.sample.SpringBootSampleApplication : ־ Info
+2016-01-26 16:18:21.170 INFO 29240 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
+2016-01-26 16:18:21.173 INFO 29240 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
+2016-01-26 16:18:21.174 INFO 29240 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
+2016-01-26 16:18:21.176 INFO 29240 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
+2016-01-26 16:18:21.178 INFO 29240 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'delegatingFilterProxy' to urls: [/*]
+2016-01-26 16:18:21.180 INFO 29240 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'myFilter' to urls: [/*]
+2016-01-26 16:18:21.181 INFO 29240 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'shiroFilter' to: [/*]
+2016-01-26 16:18:21.184 INFO 29240 --- [localhost-startStop-1] o.s.b.c.e.ServletRegistrationBean : Mapping servlet: 'myServlet' to [/xs/*]
+2016-01-26 16:18:21.198 INFO 29240 --- [localhost-startStop-1] o.s.b.c.e.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
+2016-01-26 16:18:21.200 INFO 29240 --- [localhost-startStop-1] o.s.b.c.e.ServletRegistrationBean : Mapping servlet: 'org.springboot.sample.servlet.MyServlet2' to [/xs/myservlet]
+2016-01-26 16:18:21.556 INFO 29240 --- [main] o.s.sample.config.MyWebAppConfigurer : D:\Program Files\Java\jdk1.8.0_60
+2016-01-26 16:18:21.560 INFO 29240 --- [main] o.s.sample.config.MyWebAppConfigurer : jdbc:mysql://localhost:3306/test
+2016-01-26 16:18:21.560 INFO 29240 --- [main] o.s.sample.config.MyWebAppConfigurer : jdbc:mysql://localhost:3306/test
+2016-01-26 16:18:21.562 INFO 29240 --- [main] o.s.sample.config.MyWebAppConfigurer : jdbc:mysql://localhost:3306/test
+2016-01-26 16:18:24.641 INFO 29240 --- [main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@304ffbe5: startup date [Tue Jan 26 16:17:46 CST 2016]; root of context hierarchy
+2016-01-26 16:18:24.669 INFO 29240 --- [main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Detected @ModelAttribute methods in resourceUrlProviderController
+2016-01-26 16:18:25.390 INFO 29240 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/webjarslocator/{webjar}/**]}" onto public org.springframework.http.ResponseEntity org.springboot.sample.config.WebJarsController.locateWebjarAsset(java.lang.String,javax.servlet.http.HttpServletRequest)
+2016-01-26 16:18:25.399 INFO 29240 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello/info]}" onto public java.util.Map org.springboot.sample.controller.HelloController.getInfo(java.lang.String)
+2016-01-26 16:18:25.400 INFO 29240 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello/list]}" onto public java.util.List> org.springboot.sample.controller.HelloController.getList()
+2016-01-26 16:18:25.402 INFO 29240 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello]}" onto public java.lang.String org.springboot.sample.controller.HelloController.hello()
+2016-01-26 16:18:25.406 INFO 29240 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/ || /index]}" onto public java.lang.String org.springboot.sample.controller.PageController.index(java.util.Map)
+2016-01-26 16:18:25.408 INFO 29240 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/page1]}" onto public org.springframework.web.servlet.ModelAndView org.springboot.sample.controller.PageController.page1()
+2016-01-26 16:18:25.411 INFO 29240 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/page2]}" onto public java.lang.String org.springboot.sample.controller.PageController.page2(org.springframework.ui.Model)
+2016-01-26 16:18:25.429 INFO 29240 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/score/scoreList]}" onto public java.util.List org.springboot.sample.controller.ScoreController.getScoreList()
+2016-01-26 16:18:25.443 INFO 29240 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/login],methods=[GET]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.loginForm(org.springframework.ui.Model)
+2016-01-26 16:18:25.446 INFO 29240 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/login],methods=[POST]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.login(org.springboot.sample.entity.User,org.springframework.validation.BindingResult,org.springframework.web.servlet.mvc.support.RedirectAttributes)
+2016-01-26 16:18:25.447 INFO 29240 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/logout],methods=[GET]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.logout(org.springframework.web.servlet.mvc.support.RedirectAttributes)
+2016-01-26 16:18:25.449 INFO 29240 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/403]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.unauthorizedRole()
+2016-01-26 16:18:25.454 INFO 29240 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/user/edit/{userid}]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.getUserList(int)
+2016-01-26 16:18:25.456 INFO 29240 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/user]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.getUserList(java.util.Map)
+2016-01-26 16:18:25.460 INFO 29240 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/stu/scoreList]}" onto public java.util.List org.springboot.sample.controller.StudentController.getScoreList()
+2016-01-26 16:18:25.462 INFO 29240 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/stu/likeName]}" onto public java.util.List org.springboot.sample.controller.StudentController.likeName(java.lang.String,javax.servlet.http.HttpServletRequest)
+2016-01-26 16:18:25.463 INFO 29240 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/stu/list]}" onto public java.util.List org.springboot.sample.controller.StudentController.getStus()
+2016-01-26 16:18:25.469 INFO 29240 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
+2016-01-26 16:18:25.471 INFO 29240 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
+2016-01-26 16:18:26.040 INFO 29240 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/myres/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 16:18:26.083 INFO 29240 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/myimgs/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 16:18:26.090 INFO 29240 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 16:18:26.094 INFO 29240 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 16:18:26.579 INFO 29240 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 16:18:28.903 INFO 29240 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup
+2016-01-26 16:18:29.718 INFO 29240 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 8080 (http)
+2016-01-26 16:18:29.755 INFO 29240 --- [main] o.s.sample.runner.MyStartupRunner1 : >>>>>>>>>>>>>>>ִУִмݵȲ 11111111 <<<<<<<<<<<<<
+2016-01-26 16:18:30.169 INFO 29240 --- [main] o.s.sample.runner.MyStartupRunner1 : Էݿ⣺623
+2016-01-26 16:18:30.273 DEBUG 29240 --- [main] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds1 > List org.springboot.sample.service.StudentService.getListByDs1()
+2016-01-26 16:18:30.319 INFO 29240 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - is starting.
+2016-01-26 16:18:30.452 DEBUG 29240 --- [main] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds1 > List org.springboot.sample.service.StudentService.getListByDs1()
+2016-01-26 16:18:30.454 INFO 29240 --- [main] o.s.sample.runner.MyStartupRunner1 : ָԴDs1 >>> С1
+2016-01-26 16:18:30.456 DEBUG 29240 --- [main] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds2 > List org.springboot.sample.service.StudentService.getListByDs2()
+2016-01-26 16:18:30.459 INFO 29240 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - is starting.
+2016-01-26 16:18:30.704 DEBUG 29240 --- [main] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds2 > List org.springboot.sample.service.StudentService.getListByDs2()
+2016-01-26 16:18:30.761 INFO 29240 --- [main] o.s.sample.runner.MyStartupRunner1 : ָԴDs2 >>> С2
+2016-01-26 16:18:30.796 INFO 29240 --- [main] o.s.sample.runner.MyStartupRunner1 : ############Hello Shanhy
+2016-01-26 16:18:30.800 INFO 29240 --- [main] o.s.sample.SpringBootSampleApplication : Started SpringBootSampleApplication in 48.66 seconds (JVM running for 60.989)
+2016-01-26 16:21:09.991 INFO 29240 --- [Thread-3] ationConfigEmbeddedWebApplicationContext : Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@304ffbe5: startup date [Tue Jan 26 16:17:46 CST 2016]; root of context hierarchy
+2016-01-26 16:21:09.995 INFO 29240 --- [Thread-3] o.s.j.e.a.AnnotationMBeanExporter : Unregistering JMX-exposed beans on shutdown
+2016-01-26 16:21:10.017 INFO 29240 --- [Thread-3] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
+2016-01-26 16:21:10.020 WARN 29240 --- [Thread-3] o.s.b.f.support.DisposableBeanAdapter : Invocation of destroy method 'close' failed on bean with name 'sqlSessionTemplate': java.lang.UnsupportedOperationException: Manual close is not allowed over a Spring managed SqlSession
+2016-01-26 16:22:35.722 INFO 18452 --- [main] o.s.sample.SpringBootSampleApplication : Starting SpringBootSampleApplication on Shanhy-PC with PID 18452 (E:\Lenovocw\\Spring-Boot\spring-boot-sample\target\classes started by Shanhy in E:\Lenovocw\\Spring-Boot\spring-boot-sample)
+2016-01-26 16:22:35.740 DEBUG 18452 --- [main] o.s.sample.SpringBootSampleApplication : Running with Spring Boot v1.3.2.RELEASE, Spring v4.2.4.RELEASE
+2016-01-26 16:22:35.742 INFO 18452 --- [main] o.s.sample.SpringBootSampleApplication : No active profile set, falling back to default profiles: default
+2016-01-26 16:22:35.964 INFO 18452 --- [main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@2775a5a6: startup date [Tue Jan 26 16:22:35 CST 2016]; root of context hierarchy
+2016-01-26 16:22:40.076 INFO 18452 --- [main] o.s.s.d.DynamicDataSourceRegister : Dynamic DataSource Registry
+2016-01-26 16:22:41.016 INFO 18452 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'beanNameViewResolver' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration$WhitelabelErrorViewConfiguration; factoryMethodName=beanNameViewResolver; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/web/ErrorMvcAutoConfiguration$WhitelabelErrorViewConfiguration.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter; factoryMethodName=beanNameViewResolver; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter.class]]
+2016-01-26 16:22:42.443 INFO 18452 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'IUserDao' with a different definition: replacing [Generic bean: class [org.mybatis.spring.mapper.MapperFactoryBean]; scope=singleton; abstract=false; lazyInit=false; autowireMode=2; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [E:\Lenovocw\\Spring-Boot\spring-boot-sample\target\classes\org\springboot\sample\dao\IUserDao.class]] with [Root bean: class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
+2016-01-26 16:22:42.464 INFO 18452 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'IScoreDao' with a different definition: replacing [Generic bean: class [org.mybatis.spring.mapper.MapperFactoryBean]; scope=singleton; abstract=false; lazyInit=false; autowireMode=2; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [E:\Lenovocw\\Spring-Boot\spring-boot-sample\target\classes\org\springboot\sample\dao\IScoreDao.class]] with [Root bean: class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
+2016-01-26 16:22:44.054 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroConfiguration' of type [class org.springboot.sample.config.ShiroConfiguration$$EnhancerBySpringCGLIB$$fa17e1c9] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:46.012 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'mybatis.CONFIGURATION_PROPERTIES' of type [class org.mybatis.spring.boot.autoconfigure.MybatisProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:46.029 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'myBatisConfiguration' of type [class org.springboot.sample.config.MyBatisConfiguration$$EnhancerBySpringCGLIB$$af312007] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:46.090 INFO 18452 --- [main] o.s.sample.config.MyBatisConfiguration : עMyBatisҳPageHelper
+2016-01-26 16:22:46.128 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'pageHelper' of type [class com.github.pagehelper.PageHelper] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:46.154 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration' of type [class org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration$$EnhancerBySpringCGLIB$$15b21922] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:46.543 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'sqlSessionFactory' of type [class org.apache.ibatis.session.defaults.DefaultSqlSessionFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:46.606 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'sqlSessionTemplate' of type [class org.mybatis.spring.SqlSessionTemplate] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:46.667 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'studentMapper' of type [class org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:46.680 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'targetDataSource' of type [class org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:46.691 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shanhy' of type [class org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:49.751 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'getEhCacheManager' of type [class org.apache.shiro.cache.ehcache.EhCacheManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:49.773 INFO 18452 --- [main] o.a.shiro.cache.ehcache.EhCacheManager : Cache with name 'org.springboot.sample.security.MyShiroRealm.authorizationCache' does not yet exist. Creating now.
+2016-01-26 16:22:49.873 INFO 18452 --- [main] o.a.shiro.cache.ehcache.EhCacheManager : Added EhCache named [org.springboot.sample.security.MyShiroRealm.authorizationCache]
+2016-01-26 16:22:49.998 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#200f0875' of type [class org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:50.000 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#200f0875' of type [class java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:50.010 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#6e932fd8' of type [class org.springframework.data.repository.core.support.PropertiesBasedNamedQueries] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:50.030 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#222b842' of type [class org.springframework.data.repository.query.ExtensionAwareEvaluationContextProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:50.194 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.jpa.CONFIGURATION_PROPERTIES' of type [class org.springframework.boot.autoconfigure.orm.jpa.JpaProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:50.209 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration' of type [class org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration$$EnhancerBySpringCGLIB$$aa5c8e12] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:50.332 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaVendorAdapter' of type [class org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:50.365 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactoryBuilder' of type [class org.springframework.boot.orm.jpa.EntityManagerFactoryBuilder] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:50.434 INFO 18452 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-0 - is starting.
+2016-01-26 16:22:51.758 INFO 18452 --- [main] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
+2016-01-26 16:22:51.898 INFO 18452 --- [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
+ name: default
+ ...]
+2016-01-26 16:22:52.395 INFO 18452 --- [main] org.hibernate.Version : HHH000412: Hibernate Core {4.3.11.Final}
+2016-01-26 16:22:52.409 INFO 18452 --- [main] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found
+2016-01-26 16:22:52.443 INFO 18452 --- [main] org.hibernate.cfg.Environment : HHH000021: Bytecode provider name : javassist
+2016-01-26 16:22:53.893 INFO 18452 --- [main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
+2016-01-26 16:22:54.239 INFO 18452 --- [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
+2016-01-26 16:22:55.048 INFO 18452 --- [main] o.h.h.i.ast.ASTQueryTranslatorFactory : HHH000397: Using ASTQueryTranslatorFactory
+2016-01-26 16:22:56.253 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactory' of type [class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:56.254 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactory' of type [class com.sun.proxy.$Proxy90] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:56.298 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#e7c7161' of type [class com.sun.proxy.$Proxy91] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:56.457 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaMappingContext' of type [class org.springframework.data.jpa.repository.config.JpaMetamodelMappingContextFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:56.468 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaMappingContext' of type [class org.springframework.data.jpa.mapping.JpaMetamodelMappingContext] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:57.414 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IUserDao' of type [class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:57.416 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IUserDao' of type [class com.sun.proxy.$Proxy96] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:57.418 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'myShiroRealm' of type [class org.springboot.sample.security.MyShiroRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:57.595 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'securityManager' of type [class org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:57.642 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#19ef4ea0' of type [class org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:57.660 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#19ef4ea0' of type [class java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:57.786 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#6a328ad7' of type [class org.springframework.data.repository.core.support.PropertiesBasedNamedQueries] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:57.816 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#ad074b7' of type [class org.springframework.data.repository.query.ExtensionAwareEvaluationContextProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:57.825 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#744a2308' of type [class com.sun.proxy.$Proxy91] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:57.890 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IScoreDao' of type [class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:57.906 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IScoreDao' of type [class com.sun.proxy.$Proxy99] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:57.923 INFO 18452 --- [main] o.s.sample.config.ShiroConfiguration : ##################ݿȡȨصshiroFilter##################
+2016-01-26 16:22:58.140 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'getAuthorizationAttributeSourceAdvisor' of type [class org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:22:58.577 INFO 18452 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$bf502df2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-26 16:23:02.985 INFO 18452 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8080 (http)
+2016-01-26 16:23:03.098 INFO 18452 --- [main] o.apache.catalina.core.StandardService : Starting service Tomcat
+2016-01-26 16:23:03.108 INFO 18452 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.0.30
+2016-01-26 16:23:05.853 INFO 18452 --- [localhost-startStop-1] org.apache.jasper.servlet.TldScanner : At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
+2016-01-26 16:23:05.998 INFO 18452 --- [localhost-startStop-1] o.a.c.c.C.[.[localhost].[/myspringboot] : Initializing Spring embedded WebApplicationContext
+2016-01-26 16:23:06.124 INFO 18452 --- [localhost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 30169 ms
+2016-01-26 16:23:06.874 DEBUG 18452 --- [localhost-startStop-1] o.s.sample.SpringBootSampleApplication : ־ Debug
+2016-01-26 16:23:07.490 TRACE 18452 --- [localhost-startStop-1] o.s.sample.SpringBootSampleApplication : ־ Trace
+2016-01-26 16:23:07.492 INFO 18452 --- [localhost-startStop-1] o.s.sample.SpringBootSampleApplication : ־ Info
+2016-01-26 16:23:12.920 INFO 18452 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
+2016-01-26 16:23:12.936 INFO 18452 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
+2016-01-26 16:23:12.951 INFO 18452 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
+2016-01-26 16:23:12.953 INFO 18452 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
+2016-01-26 16:23:12.964 INFO 18452 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'delegatingFilterProxy' to urls: [/*]
+2016-01-26 16:23:12.968 INFO 18452 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'myFilter' to urls: [/*]
+2016-01-26 16:23:12.971 INFO 18452 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'shiroFilter' to: [/*]
+2016-01-26 16:23:12.973 INFO 18452 --- [localhost-startStop-1] o.s.b.c.e.ServletRegistrationBean : Mapping servlet: 'myServlet' to [/xs/*]
+2016-01-26 16:23:12.978 INFO 18452 --- [localhost-startStop-1] o.s.b.c.e.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
+2016-01-26 16:23:12.981 INFO 18452 --- [localhost-startStop-1] o.s.b.c.e.ServletRegistrationBean : Mapping servlet: 'org.springboot.sample.servlet.MyServlet2' to [/xs/myservlet]
+2016-01-26 16:23:13.326 INFO 18452 --- [main] o.s.sample.config.MyWebAppConfigurer : D:\Program Files\Java\jdk1.8.0_60
+2016-01-26 16:23:13.348 INFO 18452 --- [main] o.s.sample.config.MyWebAppConfigurer : jdbc:mysql://localhost:3306/test
+2016-01-26 16:23:13.374 INFO 18452 --- [main] o.s.sample.config.MyWebAppConfigurer : jdbc:mysql://localhost:3306/test
+2016-01-26 16:23:13.377 INFO 18452 --- [main] o.s.sample.config.MyWebAppConfigurer : jdbc:mysql://localhost:3306/test
+2016-01-26 16:23:16.926 INFO 18452 --- [main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@2775a5a6: startup date [Tue Jan 26 16:22:35 CST 2016]; root of context hierarchy
+2016-01-26 16:23:17.015 INFO 18452 --- [main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Detected @ModelAttribute methods in resourceUrlProviderController
+2016-01-26 16:23:17.765 INFO 18452 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/webjarslocator/{webjar}/**]}" onto public org.springframework.http.ResponseEntity org.springboot.sample.config.WebJarsController.locateWebjarAsset(java.lang.String,javax.servlet.http.HttpServletRequest)
+2016-01-26 16:23:17.832 INFO 18452 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello/list]}" onto public java.util.List> org.springboot.sample.controller.HelloController.getList()
+2016-01-26 16:23:18.041 INFO 18452 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello]}" onto public java.lang.String org.springboot.sample.controller.HelloController.hello()
+2016-01-26 16:23:18.083 INFO 18452 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello/info]}" onto public java.util.Map org.springboot.sample.controller.HelloController.getInfo(java.lang.String)
+2016-01-26 16:23:18.279 INFO 18452 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/ || /index]}" onto public java.lang.String org.springboot.sample.controller.PageController.index(java.util.Map)
+2016-01-26 16:23:18.441 INFO 18452 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/page1]}" onto public org.springframework.web.servlet.ModelAndView org.springboot.sample.controller.PageController.page1()
+2016-01-26 16:23:18.485 INFO 18452 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/page2]}" onto public java.lang.String org.springboot.sample.controller.PageController.page2(org.springframework.ui.Model)
+2016-01-26 16:23:18.829 INFO 18452 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/score/scoreList]}" onto public java.util.List org.springboot.sample.controller.ScoreController.getScoreList()
+2016-01-26 16:23:18.845 INFO 18452 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/login],methods=[GET]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.loginForm(org.springframework.ui.Model)
+2016-01-26 16:23:18.863 INFO 18452 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/login],methods=[POST]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.login(org.springboot.sample.entity.User,org.springframework.validation.BindingResult,org.springframework.web.servlet.mvc.support.RedirectAttributes)
+2016-01-26 16:23:18.865 INFO 18452 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/logout],methods=[GET]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.logout(org.springframework.web.servlet.mvc.support.RedirectAttributes)
+2016-01-26 16:23:18.866 INFO 18452 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/403]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.unauthorizedRole()
+2016-01-26 16:23:18.868 INFO 18452 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/user/edit/{userid}]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.getUserList(int)
+2016-01-26 16:23:19.133 INFO 18452 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/user]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.getUserList(java.util.Map)
+2016-01-26 16:23:19.152 INFO 18452 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/stu/scoreList]}" onto public java.util.List org.springboot.sample.controller.StudentController.getScoreList()
+2016-01-26 16:23:19.153 INFO 18452 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/stu/likeName]}" onto public java.util.List org.springboot.sample.controller.StudentController.likeName(java.lang.String,javax.servlet.http.HttpServletRequest)
+2016-01-26 16:23:19.154 INFO 18452 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/stu/list]}" onto public java.util.List org.springboot.sample.controller.StudentController.getStus()
+2016-01-26 16:23:19.163 INFO 18452 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
+2016-01-26 16:23:19.174 INFO 18452 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
+2016-01-26 16:23:19.780 INFO 18452 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/myres/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 16:23:19.965 INFO 18452 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/myimgs/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 16:23:19.971 INFO 18452 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 16:23:19.974 INFO 18452 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 16:23:21.109 INFO 18452 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-26 16:23:23.890 INFO 18452 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup
+2016-01-26 16:23:24.656 INFO 18452 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 8080 (http)
+2016-01-26 16:23:24.965 INFO 18452 --- [main] o.s.sample.runner.MyStartupRunner1 : >>>>>>>>>>>>>>>ִУִмݵȲ 11111111 <<<<<<<<<<<<<
+2016-01-26 16:23:25.577 INFO 18452 --- [main] o.s.sample.runner.MyStartupRunner1 : Էݿ⣺623
+2016-01-26 16:23:25.691 DEBUG 18452 --- [main] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds1 > List org.springboot.sample.service.StudentService.getListByDs1()
+2016-01-26 16:23:25.715 INFO 18452 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - is starting.
+2016-01-26 16:23:25.812 DEBUG 18452 --- [main] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds1 > List org.springboot.sample.service.StudentService.getListByDs1()
+2016-01-26 16:23:25.866 INFO 18452 --- [main] o.s.sample.runner.MyStartupRunner1 : ָԴDs1 >>> С1
+2016-01-26 16:23:25.867 DEBUG 18452 --- [main] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds2 > List org.springboot.sample.service.StudentService.getListByDs2()
+2016-01-26 16:23:25.881 INFO 18452 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - is starting.
+2016-01-26 16:23:25.992 DEBUG 18452 --- [main] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds2 > List org.springboot.sample.service.StudentService.getListByDs2()
+2016-01-26 16:23:26.059 INFO 18452 --- [main] o.s.sample.runner.MyStartupRunner1 : ָԴDs2 >>> С2
+2016-01-26 16:23:26.142 INFO 18452 --- [main] o.s.sample.runner.MyStartupRunner1 : ############Hello Shanhy
+2016-01-26 16:23:26.385 INFO 18452 --- [main] o.s.sample.SpringBootSampleApplication : Started SpringBootSampleApplication in 54.169 seconds (JVM running for 65.019)
+2016-01-26 16:23:34.410 INFO 18452 --- [Thread-3] ationConfigEmbeddedWebApplicationContext : Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@2775a5a6: startup date [Tue Jan 26 16:22:35 CST 2016]; root of context hierarchy
+2016-01-26 16:23:34.416 INFO 18452 --- [Thread-3] o.s.j.e.a.AnnotationMBeanExporter : Unregistering JMX-exposed beans on shutdown
+2016-01-26 16:23:34.436 INFO 18452 --- [Thread-3] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
+2016-01-26 16:23:34.460 WARN 18452 --- [Thread-3] o.s.b.f.support.DisposableBeanAdapter : Invocation of destroy method 'close' failed on bean with name 'sqlSessionTemplate': java.lang.UnsupportedOperationException: Manual close is not allowed over a Spring managed SqlSession
+2016-01-27 13:20:53.371 INFO 35920 --- [main] o.s.sample.SpringBootSampleApplication : Starting SpringBootSampleApplication on Shanhy-PC with PID 35920 (started by Shanhy in E:\Lenovocw\▲技术解决方案\Spring-Boot\spring-boot-sample)
+2016-01-27 13:20:53.432 DEBUG 35920 --- [main] o.s.sample.SpringBootSampleApplication : Running with Spring Boot v1.3.2.RELEASE, Spring v4.2.4.RELEASE
+2016-01-27 13:20:53.433 INFO 35920 --- [main] o.s.sample.SpringBootSampleApplication : No active profile set, falling back to default profiles: default
+2016-01-27 13:20:53.605 INFO 35920 --- [main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@4372b9b6: startup date [Wed Jan 27 13:20:53 CST 2016]; root of context hierarchy
+2016-01-27 13:20:56.605 INFO 35920 --- [main] o.s.s.d.DynamicDataSourceRegister : Dynamic DataSource Registry
+2016-01-27 13:20:56.909 INFO 35920 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'beanNameViewResolver' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration$WhitelabelErrorViewConfiguration; factoryMethodName=beanNameViewResolver; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/web/ErrorMvcAutoConfiguration$WhitelabelErrorViewConfiguration.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter; factoryMethodName=beanNameViewResolver; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter.class]]
+2016-01-27 13:20:57.607 INFO 35920 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'IUserDao' with a different definition: replacing [Generic bean: class [org.mybatis.spring.mapper.MapperFactoryBean]; scope=singleton; abstract=false; lazyInit=false; autowireMode=2; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [E:\Lenovocw\▲技术解决方案\Spring-Boot\spring-boot-sample\target\classes\org\springboot\sample\dao\IUserDao.class]] with [Root bean: class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
+2016-01-27 13:20:57.620 INFO 35920 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'IScoreDao' with a different definition: replacing [Generic bean: class [org.mybatis.spring.mapper.MapperFactoryBean]; scope=singleton; abstract=false; lazyInit=false; autowireMode=2; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [E:\Lenovocw\▲技术解决方案\Spring-Boot\spring-boot-sample\target\classes\org\springboot\sample\dao\IScoreDao.class]] with [Root bean: class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
+2016-01-27 13:20:58.287 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroConfiguration' of type [class org.springboot.sample.config.ShiroConfiguration$$EnhancerBySpringCGLIB$$1a952970] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:20:58.937 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'mybatis.CONFIGURATION_PROPERTIES' of type [class org.mybatis.spring.boot.autoconfigure.MybatisProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:20:58.948 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'myBatisConfiguration' of type [class org.springboot.sample.config.MyBatisConfiguration$$EnhancerBySpringCGLIB$$cfae67ae] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:20:58.998 INFO 35920 --- [main] o.s.sample.config.MyBatisConfiguration : 注册MyBatis分页插件PageHelper
+2016-01-27 13:20:59.132 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'pageHelper' of type [class com.github.pagehelper.PageHelper] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:20:59.147 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration' of type [class org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration$$EnhancerBySpringCGLIB$$362f60c9] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:21:00.465 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'sqlSessionFactory' of type [class org.apache.ibatis.session.defaults.DefaultSqlSessionFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:21:00.493 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'sqlSessionTemplate' of type [class org.mybatis.spring.SqlSessionTemplate] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:21:00.495 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'studentMapper' of type [class org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:21:00.503 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'targetDataSource' of type [class org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:21:00.509 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shanhy' of type [class org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:21:00.786 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'getEhCacheManager' of type [class org.apache.shiro.cache.ehcache.EhCacheManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:21:00.812 INFO 35920 --- [main] o.a.shiro.cache.ehcache.EhCacheManager : Cache with name 'org.springboot.sample.security.MyShiroRealm.authorizationCache' does not yet exist. Creating now.
+2016-01-27 13:21:00.895 INFO 35920 --- [main] o.a.shiro.cache.ehcache.EhCacheManager : Added EhCache named [org.springboot.sample.security.MyShiroRealm.authorizationCache]
+2016-01-27 13:21:00.967 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#195113de' of type [class org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:21:00.967 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#195113de' of type [class java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:21:00.974 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#25974207' of type [class org.springframework.data.repository.core.support.PropertiesBasedNamedQueries] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:21:00.984 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#5aa781f2' of type [class org.springframework.data.repository.query.ExtensionAwareEvaluationContextProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:21:01.067 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.jpa.CONFIGURATION_PROPERTIES' of type [class org.springframework.boot.autoconfigure.orm.jpa.JpaProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:21:01.073 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration' of type [class org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration$$EnhancerBySpringCGLIB$$cad9d5b9] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:21:01.218 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaVendorAdapter' of type [class org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:21:01.223 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactoryBuilder' of type [class org.springframework.boot.orm.jpa.EntityManagerFactoryBuilder] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:21:01.243 INFO 35920 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-0 - is starting.
+2016-01-27 13:21:02.153 INFO 35920 --- [main] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
+2016-01-27 13:21:02.246 INFO 35920 --- [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
+ name: default
+ ...]
+2016-01-27 13:21:02.569 INFO 35920 --- [main] org.hibernate.Version : HHH000412: Hibernate Core {4.3.11.Final}
+2016-01-27 13:21:02.572 INFO 35920 --- [main] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found
+2016-01-27 13:21:02.708 INFO 35920 --- [main] org.hibernate.cfg.Environment : HHH000021: Bytecode provider name : javassist
+2016-01-27 13:21:03.276 INFO 35920 --- [main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
+2016-01-27 13:21:03.451 INFO 35920 --- [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
+2016-01-27 13:21:03.970 INFO 35920 --- [main] o.h.h.i.ast.ASTQueryTranslatorFactory : HHH000397: Using ASTQueryTranslatorFactory
+2016-01-27 13:21:06.255 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactory' of type [class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:21:06.256 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactory' of type [class com.sun.proxy.$Proxy70] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:21:06.327 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#38883a31' of type [class com.sun.proxy.$Proxy71] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:21:06.547 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaMappingContext' of type [class org.springframework.data.jpa.repository.config.JpaMetamodelMappingContextFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:21:06.548 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaMappingContext' of type [class org.springframework.data.jpa.mapping.JpaMetamodelMappingContext] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:21:08.149 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IUserDao' of type [class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:21:08.150 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IUserDao' of type [class com.sun.proxy.$Proxy76] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:21:08.152 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'myShiroRealm' of type [class org.springboot.sample.security.MyShiroRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:21:08.505 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'securityManager' of type [class org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:21:08.516 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#7438c3d5' of type [class org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:21:08.517 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#7438c3d5' of type [class java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:21:08.519 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#6706da3d' of type [class org.springframework.data.repository.core.support.PropertiesBasedNamedQueries] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:21:08.522 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#3aab42d6' of type [class org.springframework.data.repository.query.ExtensionAwareEvaluationContextProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:21:08.525 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#6badb08c' of type [class com.sun.proxy.$Proxy71] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:21:08.741 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IScoreDao' of type [class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:21:08.742 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IScoreDao' of type [class com.sun.proxy.$Proxy79] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:21:08.782 INFO 35920 --- [main] o.s.sample.config.ShiroConfiguration : ##################从数据库读取权限规则,加载到shiroFilter中##################
+2016-01-27 13:21:08.963 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'getAuthorizationAttributeSourceAdvisor' of type [class org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:21:09.574 INFO 35920 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$dfcd7599] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:21:12.882 INFO 35920 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8080 (http)
+2016-01-27 13:21:12.914 INFO 35920 --- [main] o.apache.catalina.core.StandardService : Starting service Tomcat
+2016-01-27 13:21:12.916 INFO 35920 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.0.30
+2016-01-27 13:21:14.131 INFO 35920 --- [localhost-startStop-1] org.apache.jasper.servlet.TldScanner : At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
+2016-01-27 13:21:14.151 INFO 35920 --- [localhost-startStop-1] o.a.c.c.C.[.[localhost].[/myspringboot] : Initializing Spring embedded WebApplicationContext
+2016-01-27 13:21:14.152 INFO 35920 --- [localhost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 20553 ms
+2016-01-27 13:21:14.289 DEBUG 35920 --- [localhost-startStop-1] o.s.sample.SpringBootSampleApplication : 日志输出测试 Debug
+2016-01-27 13:21:14.290 TRACE 35920 --- [localhost-startStop-1] o.s.sample.SpringBootSampleApplication : 日志输出测试 Trace
+2016-01-27 13:21:14.290 INFO 35920 --- [localhost-startStop-1] o.s.sample.SpringBootSampleApplication : 日志输出测试 Info
+2016-01-27 13:21:18.670 INFO 35920 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
+2016-01-27 13:21:18.671 INFO 35920 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
+2016-01-27 13:21:18.672 INFO 35920 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
+2016-01-27 13:21:18.672 INFO 35920 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
+2016-01-27 13:21:18.673 INFO 35920 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'delegatingFilterProxy' to urls: [/*]
+2016-01-27 13:21:18.674 INFO 35920 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'myFilter' to urls: [/*]
+2016-01-27 13:21:18.675 INFO 35920 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'shiroFilter' to: [/*]
+2016-01-27 13:21:18.676 INFO 35920 --- [localhost-startStop-1] o.s.b.c.e.ServletRegistrationBean : Mapping servlet: 'myServlet' to [/xs/*]
+2016-01-27 13:21:18.680 INFO 35920 --- [localhost-startStop-1] o.s.b.c.e.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
+2016-01-27 13:21:18.682 INFO 35920 --- [localhost-startStop-1] o.s.b.c.e.ServletRegistrationBean : Mapping servlet: 'org.springboot.sample.servlet.MyServlet2' to [/xs/myservlet]
+2016-01-27 13:21:19.128 INFO 35920 --- [main] o.s.sample.config.MyWebAppConfigurer : D:\Program Files\Java\jdk1.8.0_60
+2016-01-27 13:21:19.129 INFO 35920 --- [main] o.s.sample.config.MyWebAppConfigurer : jdbc:mysql://localhost:3306/test
+2016-01-27 13:21:19.132 INFO 35920 --- [main] o.s.sample.config.MyWebAppConfigurer : jdbc:mysql://localhost:3306/test
+2016-01-27 13:21:19.133 INFO 35920 --- [main] o.s.sample.config.MyWebAppConfigurer : jdbc:mysql://localhost:3306/test
+2016-01-27 13:21:24.779 INFO 35920 --- [main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@4372b9b6: startup date [Wed Jan 27 13:20:53 CST 2016]; root of context hierarchy
+2016-01-27 13:21:24.812 INFO 35920 --- [main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Detected @ModelAttribute methods in resourceUrlProviderController
+2016-01-27 13:21:25.887 INFO 35920 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/webjarslocator/{webjar}/**]}" onto public org.springframework.http.ResponseEntity org.springboot.sample.config.WebJarsController.locateWebjarAsset(java.lang.String,javax.servlet.http.HttpServletRequest)
+2016-01-27 13:21:25.896 INFO 35920 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello/info]}" onto public java.util.Map org.springboot.sample.controller.HelloController.getInfo(java.lang.String)
+2016-01-27 13:21:25.897 INFO 35920 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello]}" onto public java.lang.String org.springboot.sample.controller.HelloController.hello()
+2016-01-27 13:21:25.898 INFO 35920 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello/list]}" onto public java.util.List> org.springboot.sample.controller.HelloController.getList()
+2016-01-27 13:21:25.901 INFO 35920 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/ || /index]}" onto public java.lang.String org.springboot.sample.controller.PageController.index(java.util.Map)
+2016-01-27 13:21:25.902 INFO 35920 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/page1]}" onto public org.springframework.web.servlet.ModelAndView org.springboot.sample.controller.PageController.page1()
+2016-01-27 13:21:25.903 INFO 35920 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/page2]}" onto public java.lang.String org.springboot.sample.controller.PageController.page2(org.springframework.ui.Model)
+2016-01-27 13:21:25.905 INFO 35920 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/score/scoreList]}" onto public java.util.List org.springboot.sample.controller.ScoreController.getScoreList()
+2016-01-27 13:21:25.916 INFO 35920 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/login],methods=[GET]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.loginForm(org.springframework.ui.Model)
+2016-01-27 13:21:25.917 INFO 35920 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/login],methods=[POST]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.login(org.springboot.sample.entity.User,org.springframework.validation.BindingResult,org.springframework.web.servlet.mvc.support.RedirectAttributes)
+2016-01-27 13:21:25.918 INFO 35920 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/logout],methods=[GET]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.logout(org.springframework.web.servlet.mvc.support.RedirectAttributes)
+2016-01-27 13:21:25.918 INFO 35920 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/403]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.unauthorizedRole()
+2016-01-27 13:21:25.919 INFO 35920 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/user]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.getUserList(java.util.Map)
+2016-01-27 13:21:25.920 INFO 35920 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/user/edit/{userid}]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.getUserList(int)
+2016-01-27 13:21:25.924 INFO 35920 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/stu/scoreList]}" onto public java.util.List org.springboot.sample.controller.StudentController.getScoreList()
+2016-01-27 13:21:25.925 INFO 35920 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/stu/list]}" onto public java.util.List org.springboot.sample.controller.StudentController.getStus()
+2016-01-27 13:21:25.926 INFO 35920 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/stu/likeName]}" onto public java.util.List org.springboot.sample.controller.StudentController.likeName(java.lang.String,javax.servlet.http.HttpServletRequest)
+2016-01-27 13:21:26.060 INFO 35920 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
+2016-01-27 13:21:26.062 INFO 35920 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
+2016-01-27 13:21:27.260 INFO 35920 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/myres/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-27 13:21:27.261 INFO 35920 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/myimgs/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-27 13:21:27.261 INFO 35920 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-27 13:21:27.261 INFO 35920 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-27 13:21:28.155 INFO 35920 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-27 13:21:32.325 INFO 35920 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup
+2016-01-27 13:21:33.049 INFO 35920 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 8080 (http)
+2016-01-27 13:21:33.062 INFO 35920 --- [main] o.s.sample.runner.MyStartupRunner1 : >>>>>>>>>>>>>>>服务启动执行,执行加载数据等操作 11111111 <<<<<<<<<<<<<
+2016-01-27 13:21:33.460 INFO 35920 --- [main] o.s.sample.runner.MyStartupRunner1 : 测试这里可以访问数据库:6,23
+2016-01-27 13:21:33.501 DEBUG 35920 --- [main] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds1 > List org.springboot.sample.service.StudentService.getListByDs1()
+2016-01-27 13:21:33.517 INFO 35920 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - is starting.
+2016-01-27 13:21:33.601 DEBUG 35920 --- [main] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds1 > List org.springboot.sample.service.StudentService.getListByDs1()
+2016-01-27 13:21:33.602 INFO 35920 --- [main] o.s.sample.runner.MyStartupRunner1 : 指定数据源Ds1 >>> 小明1
+2016-01-27 13:21:33.603 DEBUG 35920 --- [main] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds2 > List org.springboot.sample.service.StudentService.getListByDs2()
+2016-01-27 13:21:33.619 INFO 35920 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - is starting.
+2016-01-27 13:21:33.671 DEBUG 35920 --- [main] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds2 > List org.springboot.sample.service.StudentService.getListByDs2()
+2016-01-27 13:21:33.672 INFO 35920 --- [main] o.s.sample.runner.MyStartupRunner1 : 指定数据源Ds2 >>> 小明2
+2016-01-27 13:21:33.722 INFO 35920 --- [main] o.s.sample.runner.MyStartupRunner1 : ############Hello Shanhy
+2016-01-27 13:21:33.728 INFO 35920 --- [main] o.s.sample.SpringBootSampleApplication : Started SpringBootSampleApplication in 42.166 seconds (JVM running for 44.525)
+2016-01-27 13:21:42.945 INFO 35920 --- [http-nio-8080-exec-1] o.a.c.c.C.[.[localhost].[/myspringboot] : Initializing Spring FrameworkServlet 'dispatcherServlet'
+2016-01-27 13:21:42.946 INFO 35920 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : FrameworkServlet 'dispatcherServlet': initialization started
+2016-01-27 13:21:43.098 INFO 35920 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : FrameworkServlet 'dispatcherServlet': initialization completed in 151 ms
+2016-01-27 13:21:43.408 INFO 35920 --- [http-nio-8080-exec-1] o.s.sample.controller.StudentController : >>>>>>>>>>>>>null
+2016-01-27 13:21:43.413 DEBUG 35920 --- [http-nio-8080-exec-1] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds2 > List org.springboot.sample.service.StudentService.likeName(String)
+2016-01-27 13:21:43.759 DEBUG 35920 --- [http-nio-8080-exec-1] o.s.s.m.StudentMapper.likeName_COUNT : ==> Preparing: SELECT count(*) FROM STUDENT WHERE NAME LIKE CONCAT('%', ?, '%')
+2016-01-27 13:21:43.788 DEBUG 35920 --- [http-nio-8080-exec-1] o.s.s.m.StudentMapper.likeName_COUNT : ==> Parameters: 小(String)
+2016-01-27 13:21:43.848 TRACE 35920 --- [http-nio-8080-exec-1] o.s.s.m.StudentMapper.likeName_COUNT : <== Columns: count(*)
+2016-01-27 13:21:43.848 TRACE 35920 --- [http-nio-8080-exec-1] o.s.s.m.StudentMapper.likeName_COUNT : <== Row: 2
+2016-01-27 13:21:43.855 DEBUG 35920 --- [http-nio-8080-exec-1] o.s.s.m.StudentMapper.likeName_COUNT : <== Total: 1
+2016-01-27 13:21:43.881 DEBUG 35920 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : ==> Preparing: SELECT * FROM STUDENT WHERE NAME LIKE CONCAT('%',?,'%') limit ?,?
+2016-01-27 13:21:43.882 DEBUG 35920 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : ==> Parameters: 小(String), 0(Integer), 1(Integer)
+2016-01-27 13:21:43.884 TRACE 35920 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : <== Columns: id, name, score_sum, score_avg, age
+2016-01-27 13:21:43.885 TRACE 35920 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : <== Row: 1, 小明2, 355, 84, 1
+2016-01-27 13:21:43.886 DEBUG 35920 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : <== Total: 1
+2016-01-27 13:21:43.888 DEBUG 35920 --- [http-nio-8080-exec-1] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds2 > List org.springboot.sample.service.StudentService.likeName(String)
+2016-01-27 13:21:43.923 DEBUG 35920 --- [http-nio-8080-exec-1] o.s.sample.mapper.StudentMapper.add : ==> Preparing: INSERT INTO STUDENT(NAME,SCORE_SUM,SCORE_AVG,AGE) VALUE (?,?,?,?)
+2016-01-27 13:21:43.925 DEBUG 35920 --- [http-nio-8080-exec-1] o.s.sample.mapper.StudentMapper.add : ==> Parameters: 莉莉(String), 288.5(String), 88.5(String), 20(Integer)
+2016-01-27 13:21:44.066 ERROR 35920 --- [http-nio-8080-exec-1] o.a.c.c.C.[.[.[.[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [/myspringboot] threw exception [Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Mapper method 'org.springboot.sample.mapper.StudentMapper.add attempted to return null from a method with a primitive return type (int).] with root cause
+
+org.apache.ibatis.binding.BindingException: Mapper method 'org.springboot.sample.mapper.StudentMapper.add attempted to return null from a method with a primitive return type (int).
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:77) ~[mybatis-3.3.0.jar:3.3.0]
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53) ~[mybatis-3.3.0.jar:3.3.0]
+ at com.sun.proxy.$Proxy107.add(Unknown Source) ~[na:na]
+ at org.springboot.sample.service.StudentService.likeNameByDefaultDataSource(StudentService.java:45) ~[classes/:na]
+ at org.springboot.sample.service.StudentService$$FastClassBySpringCGLIB$$1af5bdd2.invoke() ~[classes/:na]
+ at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springboot.sample.service.StudentService$$EnhancerBySpringCGLIB$$4182ecb5.likeNameByDefaultDataSource() ~[classes/:na]
+ at org.springboot.sample.service.StudentService$$FastClassBySpringCGLIB$$1af5bdd2.invoke() ~[classes/:na]
+ at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springboot.sample.service.StudentService$$EnhancerBySpringCGLIB$$82ab38f3.likeNameByDefaultDataSource() ~[classes/:na]
+ at org.springboot.sample.controller.StudentController.likeName(StudentController.java:39) ~[classes/:na]
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_60]
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_60]
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_60]
+ at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_60]
+ at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:222) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:814) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:737) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:969) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:860) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:845) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) ~[tomcat-embed-websocket-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:112) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springboot.sample.filter.MyFilter.doFilter(MyFilter.java:43) ~[classes/:na]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) ~[shiro-core-1.2.4.jar:1.2.4]
+ at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) ~[shiro-core-1.2.4.jar:1.2.4]
+ at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383) ~[shiro-core-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:87) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:521) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1096) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:674) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_60]
+ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_60]
+ at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at java.lang.Thread.run(Thread.java:745) [na:1.8.0_60]
+
+2016-01-27 13:22:08.489 INFO 35920 --- [RMI TCP Connection(5)-192.168.16.22] inMXBeanRegistrar$SpringApplicationAdmin : Application shutdown requested.
+2016-01-27 13:22:08.489 INFO 35920 --- [RMI TCP Connection(5)-192.168.16.22] ationConfigEmbeddedWebApplicationContext : Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@4372b9b6: startup date [Wed Jan 27 13:20:53 CST 2016]; root of context hierarchy
+2016-01-27 13:22:08.495 INFO 35920 --- [RMI TCP Connection(5)-192.168.16.22] o.s.j.e.a.AnnotationMBeanExporter : Unregistering JMX-exposed beans on shutdown
+2016-01-27 13:22:08.556 INFO 35920 --- [RMI TCP Connection(5)-192.168.16.22] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
+2016-01-27 13:22:08.559 WARN 35920 --- [RMI TCP Connection(5)-192.168.16.22] o.s.b.f.support.DisposableBeanAdapter : Invocation of destroy method 'close' failed on bean with name 'sqlSessionTemplate': java.lang.UnsupportedOperationException: Manual close is not allowed over a Spring managed SqlSession
+2016-01-27 13:22:26.736 INFO 36020 --- [main] o.s.sample.SpringBootSampleApplication : Starting SpringBootSampleApplication on Shanhy-PC with PID 36020 (started by Shanhy in E:\Lenovocw\▲技术解决方案\Spring-Boot\spring-boot-sample)
+2016-01-27 13:22:26.741 DEBUG 36020 --- [main] o.s.sample.SpringBootSampleApplication : Running with Spring Boot v1.3.2.RELEASE, Spring v4.2.4.RELEASE
+2016-01-27 13:22:26.742 INFO 36020 --- [main] o.s.sample.SpringBootSampleApplication : No active profile set, falling back to default profiles: default
+2016-01-27 13:22:26.872 INFO 36020 --- [main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@3eb77ea8: startup date [Wed Jan 27 13:22:26 CST 2016]; root of context hierarchy
+2016-01-27 13:22:29.031 INFO 36020 --- [main] o.s.s.d.DynamicDataSourceRegister : Dynamic DataSource Registry
+2016-01-27 13:22:29.478 INFO 36020 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'beanNameViewResolver' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration$WhitelabelErrorViewConfiguration; factoryMethodName=beanNameViewResolver; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/web/ErrorMvcAutoConfiguration$WhitelabelErrorViewConfiguration.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter; factoryMethodName=beanNameViewResolver; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter.class]]
+2016-01-27 13:22:30.250 INFO 36020 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'IScoreDao' with a different definition: replacing [Generic bean: class [org.mybatis.spring.mapper.MapperFactoryBean]; scope=singleton; abstract=false; lazyInit=false; autowireMode=2; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [E:\Lenovocw\▲技术解决方案\Spring-Boot\spring-boot-sample\target\classes\org\springboot\sample\dao\IScoreDao.class]] with [Root bean: class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
+2016-01-27 13:22:30.273 INFO 36020 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'IUserDao' with a different definition: replacing [Generic bean: class [org.mybatis.spring.mapper.MapperFactoryBean]; scope=singleton; abstract=false; lazyInit=false; autowireMode=2; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [E:\Lenovocw\▲技术解决方案\Spring-Boot\spring-boot-sample\target\classes\org\springboot\sample\dao\IUserDao.class]] with [Root bean: class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
+2016-01-27 13:22:31.292 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroConfiguration' of type [class org.springboot.sample.config.ShiroConfiguration$$EnhancerBySpringCGLIB$$b1bcd97a] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:32.074 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'mybatis.CONFIGURATION_PROPERTIES' of type [class org.mybatis.spring.boot.autoconfigure.MybatisProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:32.093 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'myBatisConfiguration' of type [class org.springboot.sample.config.MyBatisConfiguration$$EnhancerBySpringCGLIB$$66d617b8] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:32.143 INFO 36020 --- [main] o.s.sample.config.MyBatisConfiguration : 注册MyBatis分页插件PageHelper
+2016-01-27 13:22:32.191 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'pageHelper' of type [class com.github.pagehelper.PageHelper] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:32.211 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration' of type [class org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration$$EnhancerBySpringCGLIB$$cd5710d3] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:33.623 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'sqlSessionFactory' of type [class org.apache.ibatis.session.defaults.DefaultSqlSessionFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:33.656 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'sqlSessionTemplate' of type [class org.mybatis.spring.SqlSessionTemplate] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:33.661 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'studentMapper' of type [class org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:33.671 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'targetDataSource' of type [class org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:33.680 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shanhy' of type [class org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:33.985 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'getEhCacheManager' of type [class org.apache.shiro.cache.ehcache.EhCacheManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:34.008 INFO 36020 --- [main] o.a.shiro.cache.ehcache.EhCacheManager : Cache with name 'org.springboot.sample.security.MyShiroRealm.authorizationCache' does not yet exist. Creating now.
+2016-01-27 13:22:34.101 INFO 36020 --- [main] o.a.shiro.cache.ehcache.EhCacheManager : Added EhCache named [org.springboot.sample.security.MyShiroRealm.authorizationCache]
+2016-01-27 13:22:34.232 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#7f73ce28' of type [class org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:34.233 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#7f73ce28' of type [class java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:34.242 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#40c06358' of type [class org.springframework.data.repository.core.support.PropertiesBasedNamedQueries] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:34.258 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#dd3f8aa' of type [class org.springframework.data.repository.query.ExtensionAwareEvaluationContextProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:34.387 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.jpa.CONFIGURATION_PROPERTIES' of type [class org.springframework.boot.autoconfigure.orm.jpa.JpaProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:34.400 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration' of type [class org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration$$EnhancerBySpringCGLIB$$620185c3] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:34.503 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaVendorAdapter' of type [class org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:34.514 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactoryBuilder' of type [class org.springframework.boot.orm.jpa.EntityManagerFactoryBuilder] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:34.552 INFO 36020 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-0 - is starting.
+2016-01-27 13:22:35.933 INFO 36020 --- [main] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
+2016-01-27 13:22:36.289 INFO 36020 --- [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
+ name: default
+ ...]
+2016-01-27 13:22:36.647 INFO 36020 --- [main] org.hibernate.Version : HHH000412: Hibernate Core {4.3.11.Final}
+2016-01-27 13:22:36.653 INFO 36020 --- [main] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found
+2016-01-27 13:22:36.812 INFO 36020 --- [main] org.hibernate.cfg.Environment : HHH000021: Bytecode provider name : javassist
+2016-01-27 13:22:37.407 INFO 36020 --- [main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
+2016-01-27 13:22:37.559 INFO 36020 --- [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
+2016-01-27 13:22:37.963 INFO 36020 --- [main] o.h.h.i.ast.ASTQueryTranslatorFactory : HHH000397: Using ASTQueryTranslatorFactory
+2016-01-27 13:22:38.993 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactory' of type [class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:38.994 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactory' of type [class com.sun.proxy.$Proxy70] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:39.028 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#149b4d20' of type [class com.sun.proxy.$Proxy71] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:39.126 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaMappingContext' of type [class org.springframework.data.jpa.repository.config.JpaMetamodelMappingContextFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:39.126 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaMappingContext' of type [class org.springframework.data.jpa.mapping.JpaMetamodelMappingContext] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:39.612 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IUserDao' of type [class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:39.613 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IUserDao' of type [class com.sun.proxy.$Proxy76] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:39.614 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'myShiroRealm' of type [class org.springboot.sample.security.MyShiroRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:39.683 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'securityManager' of type [class org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:39.690 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#6fdc2db6' of type [class org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:39.690 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#6fdc2db6' of type [class java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:39.691 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#5c25daad' of type [class org.springframework.data.repository.core.support.PropertiesBasedNamedQueries] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:39.692 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#64544ee4' of type [class org.springframework.data.repository.query.ExtensionAwareEvaluationContextProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:39.694 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#16d61071' of type [class com.sun.proxy.$Proxy71] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:39.731 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IScoreDao' of type [class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:39.731 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IScoreDao' of type [class com.sun.proxy.$Proxy79] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:39.739 INFO 36020 --- [main] o.s.sample.config.ShiroConfiguration : ##################从数据库读取权限规则,加载到shiroFilter中##################
+2016-01-27 13:22:39.805 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'getAuthorizationAttributeSourceAdvisor' of type [class org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:39.964 INFO 36020 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$76f525a3] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:22:42.235 INFO 36020 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8080 (http)
+2016-01-27 13:22:42.292 INFO 36020 --- [main] o.apache.catalina.core.StandardService : Starting service Tomcat
+2016-01-27 13:22:42.296 INFO 36020 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.0.30
+2016-01-27 13:22:43.801 INFO 36020 --- [localhost-startStop-1] org.apache.jasper.servlet.TldScanner : At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
+2016-01-27 13:22:43.818 INFO 36020 --- [localhost-startStop-1] o.a.c.c.C.[.[localhost].[/myspringboot] : Initializing Spring embedded WebApplicationContext
+2016-01-27 13:22:43.818 INFO 36020 --- [localhost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 16952 ms
+2016-01-27 13:22:44.063 DEBUG 36020 --- [localhost-startStop-1] o.s.sample.SpringBootSampleApplication : 日志输出测试 Debug
+2016-01-27 13:22:44.063 TRACE 36020 --- [localhost-startStop-1] o.s.sample.SpringBootSampleApplication : 日志输出测试 Trace
+2016-01-27 13:22:44.063 INFO 36020 --- [localhost-startStop-1] o.s.sample.SpringBootSampleApplication : 日志输出测试 Info
+2016-01-27 13:22:51.556 INFO 36020 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
+2016-01-27 13:22:51.557 INFO 36020 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
+2016-01-27 13:22:51.558 INFO 36020 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
+2016-01-27 13:22:51.559 INFO 36020 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
+2016-01-27 13:22:51.560 INFO 36020 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'delegatingFilterProxy' to urls: [/*]
+2016-01-27 13:22:51.561 INFO 36020 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'myFilter' to urls: [/*]
+2016-01-27 13:22:51.562 INFO 36020 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'shiroFilter' to: [/*]
+2016-01-27 13:22:51.563 INFO 36020 --- [localhost-startStop-1] o.s.b.c.e.ServletRegistrationBean : Mapping servlet: 'myServlet' to [/xs/*]
+2016-01-27 13:22:51.567 INFO 36020 --- [localhost-startStop-1] o.s.b.c.e.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
+2016-01-27 13:22:51.569 INFO 36020 --- [localhost-startStop-1] o.s.b.c.e.ServletRegistrationBean : Mapping servlet: 'org.springboot.sample.servlet.MyServlet2' to [/xs/myservlet]
+2016-01-27 13:22:51.827 INFO 36020 --- [main] o.s.sample.config.MyWebAppConfigurer : D:\Program Files\Java\jdk1.8.0_60
+2016-01-27 13:22:51.828 INFO 36020 --- [main] o.s.sample.config.MyWebAppConfigurer : jdbc:mysql://localhost:3306/test
+2016-01-27 13:22:51.828 INFO 36020 --- [main] o.s.sample.config.MyWebAppConfigurer : jdbc:mysql://localhost:3306/test
+2016-01-27 13:22:51.833 INFO 36020 --- [main] o.s.sample.config.MyWebAppConfigurer : jdbc:mysql://localhost:3306/test
+2016-01-27 13:22:56.238 INFO 36020 --- [main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@3eb77ea8: startup date [Wed Jan 27 13:22:26 CST 2016]; root of context hierarchy
+2016-01-27 13:22:56.274 INFO 36020 --- [main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Detected @ModelAttribute methods in resourceUrlProviderController
+2016-01-27 13:22:57.378 INFO 36020 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/webjarslocator/{webjar}/**]}" onto public org.springframework.http.ResponseEntity org.springboot.sample.config.WebJarsController.locateWebjarAsset(java.lang.String,javax.servlet.http.HttpServletRequest)
+2016-01-27 13:22:57.386 INFO 36020 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello/info]}" onto public java.util.Map org.springboot.sample.controller.HelloController.getInfo(java.lang.String)
+2016-01-27 13:22:57.389 INFO 36020 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello]}" onto public java.lang.String org.springboot.sample.controller.HelloController.hello()
+2016-01-27 13:22:57.391 INFO 36020 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello/list]}" onto public java.util.List> org.springboot.sample.controller.HelloController.getList()
+2016-01-27 13:22:57.394 INFO 36020 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/ || /index]}" onto public java.lang.String org.springboot.sample.controller.PageController.index(java.util.Map)
+2016-01-27 13:22:57.395 INFO 36020 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/page1]}" onto public org.springframework.web.servlet.ModelAndView org.springboot.sample.controller.PageController.page1()
+2016-01-27 13:22:57.397 INFO 36020 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/page2]}" onto public java.lang.String org.springboot.sample.controller.PageController.page2(org.springframework.ui.Model)
+2016-01-27 13:22:57.399 INFO 36020 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/score/scoreList]}" onto public java.util.List org.springboot.sample.controller.ScoreController.getScoreList()
+2016-01-27 13:22:57.407 INFO 36020 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/login],methods=[GET]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.loginForm(org.springframework.ui.Model)
+2016-01-27 13:22:57.407 INFO 36020 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/login],methods=[POST]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.login(org.springboot.sample.entity.User,org.springframework.validation.BindingResult,org.springframework.web.servlet.mvc.support.RedirectAttributes)
+2016-01-27 13:22:57.408 INFO 36020 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/logout],methods=[GET]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.logout(org.springframework.web.servlet.mvc.support.RedirectAttributes)
+2016-01-27 13:22:57.408 INFO 36020 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/403]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.unauthorizedRole()
+2016-01-27 13:22:57.409 INFO 36020 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/user]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.getUserList(java.util.Map)
+2016-01-27 13:22:57.418 INFO 36020 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/user/edit/{userid}]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.getUserList(int)
+2016-01-27 13:22:57.429 INFO 36020 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/stu/scoreList]}" onto public java.util.List org.springboot.sample.controller.StudentController.getScoreList()
+2016-01-27 13:22:57.430 INFO 36020 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/stu/list]}" onto public java.util.List org.springboot.sample.controller.StudentController.getStus()
+2016-01-27 13:22:57.432 INFO 36020 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/stu/likeName]}" onto public java.util.List org.springboot.sample.controller.StudentController.likeName(java.lang.String,javax.servlet.http.HttpServletRequest)
+2016-01-27 13:22:57.440 INFO 36020 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
+2016-01-27 13:22:57.441 INFO 36020 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
+2016-01-27 13:22:58.243 INFO 36020 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/myres/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-27 13:22:58.243 INFO 36020 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/myimgs/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-27 13:22:58.243 INFO 36020 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-27 13:22:58.243 INFO 36020 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-27 13:22:58.766 INFO 36020 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-27 13:23:02.733 INFO 36020 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup
+2016-01-27 13:23:03.437 INFO 36020 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 8080 (http)
+2016-01-27 13:23:03.459 INFO 36020 --- [main] o.s.sample.runner.MyStartupRunner1 : >>>>>>>>>>>>>>>服务启动执行,执行加载数据等操作 11111111 <<<<<<<<<<<<<
+2016-01-27 13:23:03.893 INFO 36020 --- [main] o.s.sample.runner.MyStartupRunner1 : 测试这里可以访问数据库:6,23
+2016-01-27 13:23:03.934 DEBUG 36020 --- [main] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds1 > List org.springboot.sample.service.StudentService.getListByDs1()
+2016-01-27 13:23:03.937 INFO 36020 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - is starting.
+2016-01-27 13:23:04.020 DEBUG 36020 --- [main] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds1 > List org.springboot.sample.service.StudentService.getListByDs1()
+2016-01-27 13:23:04.021 INFO 36020 --- [main] o.s.sample.runner.MyStartupRunner1 : 指定数据源Ds1 >>> 小明1
+2016-01-27 13:23:04.022 DEBUG 36020 --- [main] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds2 > List org.springboot.sample.service.StudentService.getListByDs2()
+2016-01-27 13:23:04.024 INFO 36020 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - is starting.
+2016-01-27 13:23:04.079 DEBUG 36020 --- [main] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds2 > List org.springboot.sample.service.StudentService.getListByDs2()
+2016-01-27 13:23:04.080 INFO 36020 --- [main] o.s.sample.runner.MyStartupRunner1 : 指定数据源Ds2 >>> 小明2
+2016-01-27 13:23:04.102 INFO 36020 --- [main] o.s.sample.runner.MyStartupRunner1 : ############Hello Shanhy
+2016-01-27 13:23:04.106 INFO 36020 --- [main] o.s.sample.SpringBootSampleApplication : Started SpringBootSampleApplication in 38.56 seconds (JVM running for 40.362)
+2016-01-27 13:23:04.961 INFO 36020 --- [http-nio-8080-exec-1] o.a.c.c.C.[.[localhost].[/myspringboot] : Initializing Spring FrameworkServlet 'dispatcherServlet'
+2016-01-27 13:23:04.962 INFO 36020 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : FrameworkServlet 'dispatcherServlet': initialization started
+2016-01-27 13:23:05.166 INFO 36020 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : FrameworkServlet 'dispatcherServlet': initialization completed in 202 ms
+2016-01-27 13:23:05.412 INFO 36020 --- [http-nio-8080-exec-1] o.s.sample.controller.StudentController : >>>>>>>>>>>>>null
+2016-01-27 13:23:05.418 DEBUG 36020 --- [http-nio-8080-exec-1] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds2 > List org.springboot.sample.service.StudentService.likeName(String)
+2016-01-27 13:23:05.782 DEBUG 36020 --- [http-nio-8080-exec-1] o.s.s.m.StudentMapper.likeName_COUNT : ==> Preparing: SELECT count(*) FROM STUDENT WHERE NAME LIKE CONCAT('%', ?, '%')
+2016-01-27 13:23:05.834 DEBUG 36020 --- [http-nio-8080-exec-1] o.s.s.m.StudentMapper.likeName_COUNT : ==> Parameters: 小(String)
+2016-01-27 13:23:05.872 TRACE 36020 --- [http-nio-8080-exec-1] o.s.s.m.StudentMapper.likeName_COUNT : <== Columns: count(*)
+2016-01-27 13:23:05.873 TRACE 36020 --- [http-nio-8080-exec-1] o.s.s.m.StudentMapper.likeName_COUNT : <== Row: 2
+2016-01-27 13:23:05.877 DEBUG 36020 --- [http-nio-8080-exec-1] o.s.s.m.StudentMapper.likeName_COUNT : <== Total: 1
+2016-01-27 13:23:05.885 DEBUG 36020 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : ==> Preparing: SELECT * FROM STUDENT WHERE NAME LIKE CONCAT('%',?,'%') limit ?,?
+2016-01-27 13:23:05.887 DEBUG 36020 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : ==> Parameters: 小(String), 0(Integer), 1(Integer)
+2016-01-27 13:23:05.889 TRACE 36020 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : <== Columns: id, name, score_sum, score_avg, age
+2016-01-27 13:23:05.890 TRACE 36020 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : <== Row: 1, 小明2, 355, 84, 1
+2016-01-27 13:23:05.892 DEBUG 36020 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : <== Total: 1
+2016-01-27 13:23:05.894 DEBUG 36020 --- [http-nio-8080-exec-1] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds2 > List org.springboot.sample.service.StudentService.likeName(String)
+2016-01-27 13:23:05.932 DEBUG 36020 --- [http-nio-8080-exec-1] o.s.sample.mapper.StudentMapper.add : ==> Preparing: INSERT INTO STUDENT(NAME,SCORE_SUM,SCORE_AVG,AGE) VALUE (?,?,?,?)
+2016-01-27 13:23:05.934 DEBUG 36020 --- [http-nio-8080-exec-1] o.s.sample.mapper.StudentMapper.add : ==> Parameters: 莉莉(String), 288.5(String), 88.5(String), 20(Integer)
+2016-01-27 13:23:05.942 DEBUG 36020 --- [http-nio-8080-exec-1] o.s.sample.mapper.StudentMapper.add : <== Updates: 1
+2016-01-27 13:23:05.944 DEBUG 36020 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : ==> Preparing: SELECT * FROM STUDENT WHERE NAME LIKE CONCAT('%',?,'%')
+2016-01-27 13:23:05.945 DEBUG 36020 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : ==> Parameters: 小(String)
+2016-01-27 13:23:05.952 TRACE 36020 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : <== Columns: id, name, score_sum, score_avg, age
+2016-01-27 13:23:05.953 TRACE 36020 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : <== Row: 1, 小明, 355, 84, 1
+2016-01-27 13:23:05.954 TRACE 36020 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : <== Row: 2, 小王, 187, 62.3, 1
+2016-01-27 13:23:05.956 DEBUG 36020 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : <== Total: 2
+2016-01-27 13:24:44.168 INFO 36020 --- [RMI TCP Connection(7)-192.168.16.22] inMXBeanRegistrar$SpringApplicationAdmin : Application shutdown requested.
+2016-01-27 13:24:44.169 INFO 36020 --- [RMI TCP Connection(7)-192.168.16.22] ationConfigEmbeddedWebApplicationContext : Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@3eb77ea8: startup date [Wed Jan 27 13:22:26 CST 2016]; root of context hierarchy
+2016-01-27 13:24:44.176 INFO 36020 --- [RMI TCP Connection(7)-192.168.16.22] o.s.j.e.a.AnnotationMBeanExporter : Unregistering JMX-exposed beans on shutdown
+2016-01-27 13:24:44.194 INFO 36020 --- [RMI TCP Connection(7)-192.168.16.22] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
+2016-01-27 13:24:44.196 WARN 36020 --- [RMI TCP Connection(7)-192.168.16.22] o.s.b.f.support.DisposableBeanAdapter : Invocation of destroy method 'close' failed on bean with name 'sqlSessionTemplate': java.lang.UnsupportedOperationException: Manual close is not allowed over a Spring managed SqlSession
+2016-01-27 13:24:54.442 INFO 37172 --- [main] o.s.sample.SpringBootSampleApplication : Starting SpringBootSampleApplication on Shanhy-PC with PID 37172 (started by Shanhy in E:\Lenovocw\▲技术解决方案\Spring-Boot\spring-boot-sample)
+2016-01-27 13:24:54.448 DEBUG 37172 --- [main] o.s.sample.SpringBootSampleApplication : Running with Spring Boot v1.3.2.RELEASE, Spring v4.2.4.RELEASE
+2016-01-27 13:24:54.448 INFO 37172 --- [main] o.s.sample.SpringBootSampleApplication : No active profile set, falling back to default profiles: default
+2016-01-27 13:24:54.556 INFO 37172 --- [main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@3eb77ea8: startup date [Wed Jan 27 13:24:54 CST 2016]; root of context hierarchy
+2016-01-27 13:24:56.646 INFO 37172 --- [main] o.s.s.d.DynamicDataSourceRegister : Dynamic DataSource Registry
+2016-01-27 13:24:56.868 INFO 37172 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'beanNameViewResolver' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration$WhitelabelErrorViewConfiguration; factoryMethodName=beanNameViewResolver; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/web/ErrorMvcAutoConfiguration$WhitelabelErrorViewConfiguration.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter; factoryMethodName=beanNameViewResolver; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter.class]]
+2016-01-27 13:24:57.289 INFO 37172 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'IUserDao' with a different definition: replacing [Generic bean: class [org.mybatis.spring.mapper.MapperFactoryBean]; scope=singleton; abstract=false; lazyInit=false; autowireMode=2; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [E:\Lenovocw\▲技术解决方案\Spring-Boot\spring-boot-sample\target\classes\org\springboot\sample\dao\IUserDao.class]] with [Root bean: class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
+2016-01-27 13:24:57.305 INFO 37172 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'IScoreDao' with a different definition: replacing [Generic bean: class [org.mybatis.spring.mapper.MapperFactoryBean]; scope=singleton; abstract=false; lazyInit=false; autowireMode=2; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [E:\Lenovocw\▲技术解决方案\Spring-Boot\spring-boot-sample\target\classes\org\springboot\sample\dao\IScoreDao.class]] with [Root bean: class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
+2016-01-27 13:24:58.234 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroConfiguration' of type [class org.springboot.sample.config.ShiroConfiguration$$EnhancerBySpringCGLIB$$2a02117f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:24:59.056 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'mybatis.CONFIGURATION_PROPERTIES' of type [class org.mybatis.spring.boot.autoconfigure.MybatisProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:24:59.071 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'myBatisConfiguration' of type [class org.springboot.sample.config.MyBatisConfiguration$$EnhancerBySpringCGLIB$$df1b4fbd] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:24:59.121 INFO 37172 --- [main] o.s.sample.config.MyBatisConfiguration : 注册MyBatis分页插件PageHelper
+2016-01-27 13:24:59.163 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'pageHelper' of type [class com.github.pagehelper.PageHelper] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:24:59.190 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration' of type [class org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration$$EnhancerBySpringCGLIB$$459c48d8] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:25:00.332 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'sqlSessionFactory' of type [class org.apache.ibatis.session.defaults.DefaultSqlSessionFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:25:00.360 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'sqlSessionTemplate' of type [class org.mybatis.spring.SqlSessionTemplate] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:25:00.362 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'studentMapper' of type [class org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:25:00.369 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'targetDataSource' of type [class org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:25:00.376 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shanhy' of type [class org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:25:00.727 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'getEhCacheManager' of type [class org.apache.shiro.cache.ehcache.EhCacheManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:25:00.788 INFO 37172 --- [main] o.a.shiro.cache.ehcache.EhCacheManager : Cache with name 'org.springboot.sample.security.MyShiroRealm.authorizationCache' does not yet exist. Creating now.
+2016-01-27 13:25:00.906 INFO 37172 --- [main] o.a.shiro.cache.ehcache.EhCacheManager : Added EhCache named [org.springboot.sample.security.MyShiroRealm.authorizationCache]
+2016-01-27 13:25:01.030 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#5d05f453' of type [class org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:25:01.031 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#5d05f453' of type [class java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:25:01.042 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#65c5bf0e' of type [class org.springframework.data.repository.core.support.PropertiesBasedNamedQueries] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:25:01.059 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#4d93f75b' of type [class org.springframework.data.repository.query.ExtensionAwareEvaluationContextProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:25:01.192 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.jpa.CONFIGURATION_PROPERTIES' of type [class org.springframework.boot.autoconfigure.orm.jpa.JpaProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:25:01.204 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration' of type [class org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration$$EnhancerBySpringCGLIB$$da46bdc8] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:25:01.334 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaVendorAdapter' of type [class org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:25:01.356 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactoryBuilder' of type [class org.springframework.boot.orm.jpa.EntityManagerFactoryBuilder] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:25:01.393 INFO 37172 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-0 - is starting.
+2016-01-27 13:25:02.783 INFO 37172 --- [main] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
+2016-01-27 13:25:02.885 INFO 37172 --- [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
+ name: default
+ ...]
+2016-01-27 13:25:03.941 INFO 37172 --- [main] org.hibernate.Version : HHH000412: Hibernate Core {4.3.11.Final}
+2016-01-27 13:25:03.949 INFO 37172 --- [main] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found
+2016-01-27 13:25:03.955 INFO 37172 --- [main] org.hibernate.cfg.Environment : HHH000021: Bytecode provider name : javassist
+2016-01-27 13:25:04.861 INFO 37172 --- [main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
+2016-01-27 13:25:05.062 INFO 37172 --- [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
+2016-01-27 13:25:05.615 INFO 37172 --- [main] o.h.h.i.ast.ASTQueryTranslatorFactory : HHH000397: Using ASTQueryTranslatorFactory
+2016-01-27 13:25:06.585 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactory' of type [class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:25:06.586 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactory' of type [class com.sun.proxy.$Proxy70] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:25:06.617 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#35650279' of type [class com.sun.proxy.$Proxy71] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:25:06.758 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaMappingContext' of type [class org.springframework.data.jpa.repository.config.JpaMetamodelMappingContextFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:25:06.758 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaMappingContext' of type [class org.springframework.data.jpa.mapping.JpaMetamodelMappingContext] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:25:07.371 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IUserDao' of type [class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:25:07.372 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IUserDao' of type [class com.sun.proxy.$Proxy76] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:25:07.373 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'myShiroRealm' of type [class org.springboot.sample.security.MyShiroRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:25:07.502 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'securityManager' of type [class org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:25:07.515 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#49f50c8f' of type [class org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:25:07.515 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#49f50c8f' of type [class java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:25:07.516 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#6150afc6' of type [class org.springframework.data.repository.core.support.PropertiesBasedNamedQueries] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:25:07.518 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#6297cb4b' of type [class org.springframework.data.repository.query.ExtensionAwareEvaluationContextProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:25:07.521 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#65d6640' of type [class com.sun.proxy.$Proxy71] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:25:07.570 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IScoreDao' of type [class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:25:07.571 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IScoreDao' of type [class com.sun.proxy.$Proxy79] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:25:07.592 INFO 37172 --- [main] o.s.sample.config.ShiroConfiguration : ##################从数据库读取权限规则,加载到shiroFilter中##################
+2016-01-27 13:25:07.679 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'getAuthorizationAttributeSourceAdvisor' of type [class org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:25:07.914 INFO 37172 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$ef3a5da8] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:25:10.263 INFO 37172 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8080 (http)
+2016-01-27 13:25:10.301 INFO 37172 --- [main] o.apache.catalina.core.StandardService : Starting service Tomcat
+2016-01-27 13:25:10.305 INFO 37172 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.0.30
+2016-01-27 13:25:11.409 INFO 37172 --- [localhost-startStop-1] org.apache.jasper.servlet.TldScanner : At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
+2016-01-27 13:25:11.421 INFO 37172 --- [localhost-startStop-1] o.a.c.c.C.[.[localhost].[/myspringboot] : Initializing Spring embedded WebApplicationContext
+2016-01-27 13:25:11.422 INFO 37172 --- [localhost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 16870 ms
+2016-01-27 13:25:11.602 DEBUG 37172 --- [localhost-startStop-1] o.s.sample.SpringBootSampleApplication : 日志输出测试 Debug
+2016-01-27 13:25:11.602 TRACE 37172 --- [localhost-startStop-1] o.s.sample.SpringBootSampleApplication : 日志输出测试 Trace
+2016-01-27 13:25:11.603 INFO 37172 --- [localhost-startStop-1] o.s.sample.SpringBootSampleApplication : 日志输出测试 Info
+2016-01-27 13:25:15.844 INFO 37172 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
+2016-01-27 13:25:15.845 INFO 37172 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
+2016-01-27 13:25:15.845 INFO 37172 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
+2016-01-27 13:25:15.846 INFO 37172 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
+2016-01-27 13:25:15.846 INFO 37172 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'delegatingFilterProxy' to urls: [/*]
+2016-01-27 13:25:15.847 INFO 37172 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'myFilter' to urls: [/*]
+2016-01-27 13:25:15.848 INFO 37172 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'shiroFilter' to: [/*]
+2016-01-27 13:25:15.848 INFO 37172 --- [localhost-startStop-1] o.s.b.c.e.ServletRegistrationBean : Mapping servlet: 'myServlet' to [/xs/*]
+2016-01-27 13:25:15.851 INFO 37172 --- [localhost-startStop-1] o.s.b.c.e.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
+2016-01-27 13:25:15.852 INFO 37172 --- [localhost-startStop-1] o.s.b.c.e.ServletRegistrationBean : Mapping servlet: 'org.springboot.sample.servlet.MyServlet2' to [/xs/myservlet]
+2016-01-27 13:25:16.004 INFO 37172 --- [main] o.s.sample.config.MyWebAppConfigurer : D:\Program Files\Java\jdk1.8.0_60
+2016-01-27 13:25:16.004 INFO 37172 --- [main] o.s.sample.config.MyWebAppConfigurer : jdbc:mysql://localhost:3306/test
+2016-01-27 13:25:16.005 INFO 37172 --- [main] o.s.sample.config.MyWebAppConfigurer : jdbc:mysql://localhost:3306/test
+2016-01-27 13:25:16.005 INFO 37172 --- [main] o.s.sample.config.MyWebAppConfigurer : jdbc:mysql://localhost:3306/test
+2016-01-27 13:25:18.383 INFO 37172 --- [main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@3eb77ea8: startup date [Wed Jan 27 13:24:54 CST 2016]; root of context hierarchy
+2016-01-27 13:25:18.403 INFO 37172 --- [main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Detected @ModelAttribute methods in resourceUrlProviderController
+2016-01-27 13:25:19.060 INFO 37172 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/webjarslocator/{webjar}/**]}" onto public org.springframework.http.ResponseEntity org.springboot.sample.config.WebJarsController.locateWebjarAsset(java.lang.String,javax.servlet.http.HttpServletRequest)
+2016-01-27 13:25:19.066 INFO 37172 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello/info]}" onto public java.util.Map org.springboot.sample.controller.HelloController.getInfo(java.lang.String)
+2016-01-27 13:25:19.067 INFO 37172 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello]}" onto public java.lang.String org.springboot.sample.controller.HelloController.hello()
+2016-01-27 13:25:19.068 INFO 37172 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello/list]}" onto public java.util.List> org.springboot.sample.controller.HelloController.getList()
+2016-01-27 13:25:19.070 INFO 37172 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/ || /index]}" onto public java.lang.String org.springboot.sample.controller.PageController.index(java.util.Map)
+2016-01-27 13:25:19.071 INFO 37172 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/page1]}" onto public org.springframework.web.servlet.ModelAndView org.springboot.sample.controller.PageController.page1()
+2016-01-27 13:25:19.072 INFO 37172 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/page2]}" onto public java.lang.String org.springboot.sample.controller.PageController.page2(org.springframework.ui.Model)
+2016-01-27 13:25:19.073 INFO 37172 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/score/scoreList]}" onto public java.util.List org.springboot.sample.controller.ScoreController.getScoreList()
+2016-01-27 13:25:19.080 INFO 37172 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/login],methods=[GET]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.loginForm(org.springframework.ui.Model)
+2016-01-27 13:25:19.081 INFO 37172 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/login],methods=[POST]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.login(org.springboot.sample.entity.User,org.springframework.validation.BindingResult,org.springframework.web.servlet.mvc.support.RedirectAttributes)
+2016-01-27 13:25:19.081 INFO 37172 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/logout],methods=[GET]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.logout(org.springframework.web.servlet.mvc.support.RedirectAttributes)
+2016-01-27 13:25:19.082 INFO 37172 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/403]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.unauthorizedRole()
+2016-01-27 13:25:19.083 INFO 37172 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/user]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.getUserList(java.util.Map)
+2016-01-27 13:25:19.083 INFO 37172 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/user/edit/{userid}]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.getUserList(int)
+2016-01-27 13:25:19.086 INFO 37172 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/stu/scoreList]}" onto public java.util.List org.springboot.sample.controller.StudentController.getScoreList()
+2016-01-27 13:25:19.087 INFO 37172 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/stu/list]}" onto public java.util.List org.springboot.sample.controller.StudentController.getStus()
+2016-01-27 13:25:19.088 INFO 37172 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/stu/likeName]}" onto public java.util.List org.springboot.sample.controller.StudentController.likeName(java.lang.String,javax.servlet.http.HttpServletRequest)
+2016-01-27 13:25:19.094 INFO 37172 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
+2016-01-27 13:25:19.095 INFO 37172 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
+2016-01-27 13:25:19.831 INFO 37172 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/myres/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-27 13:25:19.832 INFO 37172 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/myimgs/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-27 13:25:19.832 INFO 37172 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-27 13:25:19.833 INFO 37172 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-27 13:25:20.338 INFO 37172 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-27 13:25:24.012 INFO 37172 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup
+2016-01-27 13:25:24.878 INFO 37172 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 8080 (http)
+2016-01-27 13:25:24.891 INFO 37172 --- [main] o.s.sample.runner.MyStartupRunner1 : >>>>>>>>>>>>>>>服务启动执行,执行加载数据等操作 11111111 <<<<<<<<<<<<<
+2016-01-27 13:25:25.280 INFO 37172 --- [main] o.s.sample.runner.MyStartupRunner1 : 测试这里可以访问数据库:7,23
+2016-01-27 13:25:25.319 DEBUG 37172 --- [main] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds1 > List org.springboot.sample.service.StudentService.getListByDs1()
+2016-01-27 13:25:25.322 INFO 37172 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - is starting.
+2016-01-27 13:25:25.383 DEBUG 37172 --- [main] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds1 > List org.springboot.sample.service.StudentService.getListByDs1()
+2016-01-27 13:25:25.384 INFO 37172 --- [main] o.s.sample.runner.MyStartupRunner1 : 指定数据源Ds1 >>> 小明1
+2016-01-27 13:25:25.385 DEBUG 37172 --- [main] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds2 > List org.springboot.sample.service.StudentService.getListByDs2()
+2016-01-27 13:25:25.388 INFO 37172 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - is starting.
+2016-01-27 13:25:25.534 DEBUG 37172 --- [main] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds2 > List org.springboot.sample.service.StudentService.getListByDs2()
+2016-01-27 13:25:25.535 INFO 37172 --- [main] o.s.sample.runner.MyStartupRunner1 : 指定数据源Ds2 >>> 小明2
+2016-01-27 13:25:25.557 INFO 37172 --- [main] o.s.sample.runner.MyStartupRunner1 : ############Hello Shanhy
+2016-01-27 13:25:25.562 INFO 37172 --- [main] o.s.sample.SpringBootSampleApplication : Started SpringBootSampleApplication in 32.321 seconds (JVM running for 34.215)
+2016-01-27 13:25:35.179 INFO 37172 --- [http-nio-8080-exec-1] o.a.c.c.C.[.[localhost].[/myspringboot] : Initializing Spring FrameworkServlet 'dispatcherServlet'
+2016-01-27 13:25:35.180 INFO 37172 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : FrameworkServlet 'dispatcherServlet': initialization started
+2016-01-27 13:25:35.256 INFO 37172 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : FrameworkServlet 'dispatcherServlet': initialization completed in 76 ms
+2016-01-27 13:25:35.415 INFO 37172 --- [http-nio-8080-exec-1] o.s.sample.controller.StudentController : >>>>>>>>>>>>>null
+2016-01-27 13:25:35.419 DEBUG 37172 --- [http-nio-8080-exec-1] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds2 > List org.springboot.sample.service.StudentService.likeName(String)
+2016-01-27 13:25:35.618 DEBUG 37172 --- [http-nio-8080-exec-1] o.s.s.m.StudentMapper.likeName_COUNT : ==> Preparing: SELECT count(*) FROM STUDENT WHERE NAME LIKE CONCAT('%', ?, '%')
+2016-01-27 13:25:35.637 DEBUG 37172 --- [http-nio-8080-exec-1] o.s.s.m.StudentMapper.likeName_COUNT : ==> Parameters: 小(String)
+2016-01-27 13:25:35.660 TRACE 37172 --- [http-nio-8080-exec-1] o.s.s.m.StudentMapper.likeName_COUNT : <== Columns: count(*)
+2016-01-27 13:25:35.661 TRACE 37172 --- [http-nio-8080-exec-1] o.s.s.m.StudentMapper.likeName_COUNT : <== Row: 2
+2016-01-27 13:25:35.665 DEBUG 37172 --- [http-nio-8080-exec-1] o.s.s.m.StudentMapper.likeName_COUNT : <== Total: 1
+2016-01-27 13:25:35.671 DEBUG 37172 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : ==> Preparing: SELECT * FROM STUDENT WHERE NAME LIKE CONCAT('%',?,'%') limit ?,?
+2016-01-27 13:25:35.672 DEBUG 37172 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : ==> Parameters: 小(String), 0(Integer), 1(Integer)
+2016-01-27 13:25:35.674 TRACE 37172 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : <== Columns: id, name, score_sum, score_avg, age
+2016-01-27 13:25:35.674 TRACE 37172 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : <== Row: 1, 小明2, 355, 84, 1
+2016-01-27 13:25:35.676 DEBUG 37172 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : <== Total: 1
+2016-01-27 13:25:35.680 DEBUG 37172 --- [http-nio-8080-exec-1] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds2 > List org.springboot.sample.service.StudentService.likeName(String)
+2016-01-27 13:25:35.704 DEBUG 37172 --- [http-nio-8080-exec-1] o.s.sample.mapper.StudentMapper.add : ==> Preparing: INSERT INTO STUDENT(NAME,SCORE_SUM,SCORE_AVG,AGE) VALUES (?,?,?,?)
+2016-01-27 13:25:35.705 DEBUG 37172 --- [http-nio-8080-exec-1] o.s.sample.mapper.StudentMapper.add : ==> Parameters: 莉莉(String), 288.5(String), 88.5(String), 20(Integer)
+2016-01-27 13:25:35.723 DEBUG 37172 --- [http-nio-8080-exec-1] o.s.sample.mapper.StudentMapper.add : <== Updates: 1
+2016-01-27 13:25:35.725 DEBUG 37172 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : ==> Preparing: SELECT * FROM STUDENT WHERE NAME LIKE CONCAT('%',?,'%')
+2016-01-27 13:25:35.731 DEBUG 37172 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : ==> Parameters: 小(String)
+2016-01-27 13:25:35.733 TRACE 37172 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : <== Columns: id, name, score_sum, score_avg, age
+2016-01-27 13:25:35.735 TRACE 37172 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : <== Row: 1, 小明, 355, 84, 1
+2016-01-27 13:25:35.739 TRACE 37172 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : <== Row: 2, 小王, 187, 62.3, 1
+2016-01-27 13:25:35.742 DEBUG 37172 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : <== Total: 2
+2016-01-27 13:26:56.314 INFO 37172 --- [http-nio-8080-exec-2] o.s.sample.controller.StudentController : >>>>>>>>>>>>>null
+2016-01-27 13:26:56.315 DEBUG 37172 --- [http-nio-8080-exec-2] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds2 > List org.springboot.sample.service.StudentService.likeName(String)
+2016-01-27 13:26:56.317 DEBUG 37172 --- [http-nio-8080-exec-2] o.s.s.m.StudentMapper.likeName_COUNT : ==> Preparing: SELECT count(*) FROM STUDENT WHERE NAME LIKE CONCAT('%', ?, '%')
+2016-01-27 13:26:56.318 DEBUG 37172 --- [http-nio-8080-exec-2] o.s.s.m.StudentMapper.likeName_COUNT : ==> Parameters: 小(String)
+2016-01-27 13:26:56.320 TRACE 37172 --- [http-nio-8080-exec-2] o.s.s.m.StudentMapper.likeName_COUNT : <== Columns: count(*)
+2016-01-27 13:26:56.320 TRACE 37172 --- [http-nio-8080-exec-2] o.s.s.m.StudentMapper.likeName_COUNT : <== Row: 2
+2016-01-27 13:26:56.320 DEBUG 37172 --- [http-nio-8080-exec-2] o.s.s.m.StudentMapper.likeName_COUNT : <== Total: 1
+2016-01-27 13:26:56.321 DEBUG 37172 --- [http-nio-8080-exec-2] o.s.s.mapper.StudentMapper.likeName : ==> Preparing: SELECT * FROM STUDENT WHERE NAME LIKE CONCAT('%',?,'%') limit ?,?
+2016-01-27 13:26:56.322 DEBUG 37172 --- [http-nio-8080-exec-2] o.s.s.mapper.StudentMapper.likeName : ==> Parameters: 小(String), 0(Integer), 1(Integer)
+2016-01-27 13:26:56.324 TRACE 37172 --- [http-nio-8080-exec-2] o.s.s.mapper.StudentMapper.likeName : <== Columns: id, name, score_sum, score_avg, age
+2016-01-27 13:26:56.325 TRACE 37172 --- [http-nio-8080-exec-2] o.s.s.mapper.StudentMapper.likeName : <== Row: 1, 小明2, 355, 84, 1
+2016-01-27 13:26:56.326 DEBUG 37172 --- [http-nio-8080-exec-2] o.s.s.mapper.StudentMapper.likeName : <== Total: 1
+2016-01-27 13:26:56.327 DEBUG 37172 --- [http-nio-8080-exec-2] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds2 > List org.springboot.sample.service.StudentService.likeName(String)
+2016-01-27 13:26:56.334 DEBUG 37172 --- [http-nio-8080-exec-2] o.s.sample.mapper.StudentMapper.add : ==> Preparing: INSERT INTO STUDENT(NAME,SCORE_SUM,SCORE_AVG,AGE) VALUES (?,?,?,?)
+2016-01-27 13:26:56.337 DEBUG 37172 --- [http-nio-8080-exec-2] o.s.sample.mapper.StudentMapper.add : ==> Parameters: 莉莉(String), 288.5(String), 88.5(String), 20(Integer)
+2016-01-27 13:26:56.372 DEBUG 37172 --- [http-nio-8080-exec-2] o.s.sample.mapper.StudentMapper.add : <== Updates: 1
+2016-01-27 13:26:56.373 DEBUG 37172 --- [http-nio-8080-exec-2] o.s.s.mapper.StudentMapper.likeName : ==> Preparing: SELECT * FROM STUDENT WHERE NAME LIKE CONCAT('%',?,'%')
+2016-01-27 13:26:56.373 DEBUG 37172 --- [http-nio-8080-exec-2] o.s.s.mapper.StudentMapper.likeName : ==> Parameters: 小(String)
+2016-01-27 13:26:56.375 TRACE 37172 --- [http-nio-8080-exec-2] o.s.s.mapper.StudentMapper.likeName : <== Columns: id, name, score_sum, score_avg, age
+2016-01-27 13:26:56.375 TRACE 37172 --- [http-nio-8080-exec-2] o.s.s.mapper.StudentMapper.likeName : <== Row: 1, 小明, 355, 84, 1
+2016-01-27 13:26:56.376 TRACE 37172 --- [http-nio-8080-exec-2] o.s.s.mapper.StudentMapper.likeName : <== Row: 2, 小王, 187, 62.3, 1
+2016-01-27 13:26:56.377 DEBUG 37172 --- [http-nio-8080-exec-2] o.s.s.mapper.StudentMapper.likeName : <== Total: 2
+2016-01-27 13:27:09.900 INFO 37172 --- [http-nio-8080-exec-3] o.s.sample.controller.StudentController : >>>>>>>>>>>>>null
+2016-01-27 13:27:09.900 DEBUG 37172 --- [http-nio-8080-exec-3] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds2 > List org.springboot.sample.service.StudentService.likeName(String)
+2016-01-27 13:27:09.901 DEBUG 37172 --- [http-nio-8080-exec-3] o.s.s.m.StudentMapper.likeName_COUNT : ==> Preparing: SELECT count(*) FROM STUDENT WHERE NAME LIKE CONCAT('%', ?, '%')
+2016-01-27 13:27:09.902 DEBUG 37172 --- [http-nio-8080-exec-3] o.s.s.m.StudentMapper.likeName_COUNT : ==> Parameters: ERROR(String)
+2016-01-27 13:27:09.903 TRACE 37172 --- [http-nio-8080-exec-3] o.s.s.m.StudentMapper.likeName_COUNT : <== Columns: count(*)
+2016-01-27 13:27:09.903 TRACE 37172 --- [http-nio-8080-exec-3] o.s.s.m.StudentMapper.likeName_COUNT : <== Row: 0
+2016-01-27 13:27:09.903 DEBUG 37172 --- [http-nio-8080-exec-3] o.s.s.m.StudentMapper.likeName_COUNT : <== Total: 1
+2016-01-27 13:27:09.904 DEBUG 37172 --- [http-nio-8080-exec-3] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds2 > List org.springboot.sample.service.StudentService.likeName(String)
+2016-01-27 13:27:09.911 DEBUG 37172 --- [http-nio-8080-exec-3] o.s.sample.mapper.StudentMapper.add : ==> Preparing: INSERT INTO STUDENT(NAME,SCORE_SUM,SCORE_AVG,AGE) VALUES (?,?,?,?)
+2016-01-27 13:27:09.913 DEBUG 37172 --- [http-nio-8080-exec-3] o.s.sample.mapper.StudentMapper.add : ==> Parameters: 莉莉(String), 288.5(String), 88.5(String), 20(Integer)
+2016-01-27 13:27:09.940 DEBUG 37172 --- [http-nio-8080-exec-3] o.s.sample.mapper.StudentMapper.add : <== Updates: 1
+2016-01-27 13:27:10.007 ERROR 37172 --- [http-nio-8080-exec-3] o.a.c.c.C.[.[.[.[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [/myspringboot] threw exception [Request processing failed; nested exception is java.lang.RuntimeException: 测试事务异常回滚] with root cause
+
+java.lang.RuntimeException: 测试事务异常回滚
+ at org.springboot.sample.service.StudentService.likeNameByDefaultDataSource(StudentService.java:47) ~[classes/:na]
+ at org.springboot.sample.service.StudentService$$FastClassBySpringCGLIB$$1af5bdd2.invoke() ~[classes/:na]
+ at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springboot.sample.service.StudentService$$EnhancerBySpringCGLIB$$696e6b6a.likeNameByDefaultDataSource() ~[classes/:na]
+ at org.springboot.sample.service.StudentService$$FastClassBySpringCGLIB$$1af5bdd2.invoke() ~[classes/:na]
+ at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springboot.sample.service.StudentService$$EnhancerBySpringCGLIB$$47cc5af3.likeNameByDefaultDataSource() ~[classes/:na]
+ at org.springboot.sample.controller.StudentController.likeName(StudentController.java:39) ~[classes/:na]
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_60]
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_60]
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_60]
+ at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_60]
+ at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:222) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:814) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:737) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:969) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:860) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:845) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) ~[tomcat-embed-websocket-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:112) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springboot.sample.filter.MyFilter.doFilter(MyFilter.java:43) ~[classes/:na]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) ~[shiro-core-1.2.4.jar:1.2.4]
+ at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) ~[shiro-core-1.2.4.jar:1.2.4]
+ at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383) ~[shiro-core-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:87) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:521) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1096) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:674) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_60]
+ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_60]
+ at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at java.lang.Thread.run(Thread.java:745) [na:1.8.0_60]
+
+2016-01-27 13:27:26.446 INFO 37172 --- [http-nio-8080-exec-4] o.s.sample.controller.StudentController : >>>>>>>>>>>>>null
+2016-01-27 13:27:26.447 DEBUG 37172 --- [http-nio-8080-exec-4] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds2 > List org.springboot.sample.service.StudentService.likeName(String)
+2016-01-27 13:27:26.448 DEBUG 37172 --- [http-nio-8080-exec-4] o.s.s.m.StudentMapper.likeName_COUNT : ==> Preparing: SELECT count(*) FROM STUDENT WHERE NAME LIKE CONCAT('%', ?, '%')
+2016-01-27 13:27:26.449 DEBUG 37172 --- [http-nio-8080-exec-4] o.s.s.m.StudentMapper.likeName_COUNT : ==> Parameters: ERROR(String)
+2016-01-27 13:27:26.451 TRACE 37172 --- [http-nio-8080-exec-4] o.s.s.m.StudentMapper.likeName_COUNT : <== Columns: count(*)
+2016-01-27 13:27:26.451 TRACE 37172 --- [http-nio-8080-exec-4] o.s.s.m.StudentMapper.likeName_COUNT : <== Row: 0
+2016-01-27 13:27:26.452 DEBUG 37172 --- [http-nio-8080-exec-4] o.s.s.m.StudentMapper.likeName_COUNT : <== Total: 1
+2016-01-27 13:27:26.453 DEBUG 37172 --- [http-nio-8080-exec-4] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds2 > List org.springboot.sample.service.StudentService.likeName(String)
+2016-01-27 13:27:26.455 DEBUG 37172 --- [http-nio-8080-exec-4] o.s.sample.mapper.StudentMapper.add : ==> Preparing: INSERT INTO STUDENT(NAME,SCORE_SUM,SCORE_AVG,AGE) VALUES (?,?,?,?)
+2016-01-27 13:27:26.456 DEBUG 37172 --- [http-nio-8080-exec-4] o.s.sample.mapper.StudentMapper.add : ==> Parameters: 莉莉(String), 288.5(String), 88.5(String), 20(Integer)
+2016-01-27 13:27:26.466 DEBUG 37172 --- [http-nio-8080-exec-4] o.s.sample.mapper.StudentMapper.add : <== Updates: 1
+2016-01-27 13:27:26.498 ERROR 37172 --- [http-nio-8080-exec-4] o.a.c.c.C.[.[.[.[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [/myspringboot] threw exception [Request processing failed; nested exception is java.lang.RuntimeException: 测试事务异常回滚] with root cause
+
+java.lang.RuntimeException: 测试事务异常回滚
+ at org.springboot.sample.service.StudentService.likeNameByDefaultDataSource(StudentService.java:47) ~[classes/:na]
+ at org.springboot.sample.service.StudentService$$FastClassBySpringCGLIB$$1af5bdd2.invoke() ~[classes/:na]
+ at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springboot.sample.service.StudentService$$EnhancerBySpringCGLIB$$696e6b6a.likeNameByDefaultDataSource() ~[classes/:na]
+ at org.springboot.sample.service.StudentService$$FastClassBySpringCGLIB$$1af5bdd2.invoke() ~[classes/:na]
+ at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springboot.sample.service.StudentService$$EnhancerBySpringCGLIB$$47cc5af3.likeNameByDefaultDataSource() ~[classes/:na]
+ at org.springboot.sample.controller.StudentController.likeName(StudentController.java:39) ~[classes/:na]
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_60]
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_60]
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_60]
+ at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_60]
+ at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:222) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:814) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:737) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:969) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:860) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:845) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) ~[tomcat-embed-websocket-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:112) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springboot.sample.filter.MyFilter.doFilter(MyFilter.java:43) ~[classes/:na]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) ~[shiro-core-1.2.4.jar:1.2.4]
+ at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) ~[shiro-core-1.2.4.jar:1.2.4]
+ at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383) ~[shiro-core-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:87) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:521) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1096) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:674) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_60]
+ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_60]
+ at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at java.lang.Thread.run(Thread.java:745) [na:1.8.0_60]
+
+2016-01-27 13:27:26.822 INFO 37172 --- [http-nio-8080-exec-5] o.s.sample.controller.StudentController : >>>>>>>>>>>>>null
+2016-01-27 13:27:26.822 DEBUG 37172 --- [http-nio-8080-exec-5] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds2 > List org.springboot.sample.service.StudentService.likeName(String)
+2016-01-27 13:27:26.823 DEBUG 37172 --- [http-nio-8080-exec-5] o.s.s.m.StudentMapper.likeName_COUNT : ==> Preparing: SELECT count(*) FROM STUDENT WHERE NAME LIKE CONCAT('%', ?, '%')
+2016-01-27 13:27:26.823 DEBUG 37172 --- [http-nio-8080-exec-5] o.s.s.m.StudentMapper.likeName_COUNT : ==> Parameters: ERROR(String)
+2016-01-27 13:27:26.824 TRACE 37172 --- [http-nio-8080-exec-5] o.s.s.m.StudentMapper.likeName_COUNT : <== Columns: count(*)
+2016-01-27 13:27:26.825 TRACE 37172 --- [http-nio-8080-exec-5] o.s.s.m.StudentMapper.likeName_COUNT : <== Row: 0
+2016-01-27 13:27:26.825 DEBUG 37172 --- [http-nio-8080-exec-5] o.s.s.m.StudentMapper.likeName_COUNT : <== Total: 1
+2016-01-27 13:27:26.825 DEBUG 37172 --- [http-nio-8080-exec-5] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds2 > List org.springboot.sample.service.StudentService.likeName(String)
+2016-01-27 13:27:26.827 DEBUG 37172 --- [http-nio-8080-exec-5] o.s.sample.mapper.StudentMapper.add : ==> Preparing: INSERT INTO STUDENT(NAME,SCORE_SUM,SCORE_AVG,AGE) VALUES (?,?,?,?)
+2016-01-27 13:27:26.827 DEBUG 37172 --- [http-nio-8080-exec-5] o.s.sample.mapper.StudentMapper.add : ==> Parameters: 莉莉(String), 288.5(String), 88.5(String), 20(Integer)
+2016-01-27 13:27:26.829 DEBUG 37172 --- [http-nio-8080-exec-5] o.s.sample.mapper.StudentMapper.add : <== Updates: 1
+2016-01-27 13:27:26.890 ERROR 37172 --- [http-nio-8080-exec-5] o.a.c.c.C.[.[.[.[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [/myspringboot] threw exception [Request processing failed; nested exception is java.lang.RuntimeException: 测试事务异常回滚] with root cause
+
+java.lang.RuntimeException: 测试事务异常回滚
+ at org.springboot.sample.service.StudentService.likeNameByDefaultDataSource(StudentService.java:47) ~[classes/:na]
+ at org.springboot.sample.service.StudentService$$FastClassBySpringCGLIB$$1af5bdd2.invoke() ~[classes/:na]
+ at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springboot.sample.service.StudentService$$EnhancerBySpringCGLIB$$696e6b6a.likeNameByDefaultDataSource() ~[classes/:na]
+ at org.springboot.sample.service.StudentService$$FastClassBySpringCGLIB$$1af5bdd2.invoke() ~[classes/:na]
+ at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springboot.sample.service.StudentService$$EnhancerBySpringCGLIB$$47cc5af3.likeNameByDefaultDataSource() ~[classes/:na]
+ at org.springboot.sample.controller.StudentController.likeName(StudentController.java:39) ~[classes/:na]
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_60]
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_60]
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_60]
+ at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_60]
+ at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:222) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:814) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:737) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:969) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:860) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:845) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) ~[tomcat-embed-websocket-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:112) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springboot.sample.filter.MyFilter.doFilter(MyFilter.java:43) ~[classes/:na]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) ~[shiro-core-1.2.4.jar:1.2.4]
+ at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) ~[shiro-core-1.2.4.jar:1.2.4]
+ at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383) ~[shiro-core-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:87) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:521) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1096) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:674) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_60]
+ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_60]
+ at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at java.lang.Thread.run(Thread.java:745) [na:1.8.0_60]
+
+2016-01-27 13:27:26.995 INFO 37172 --- [http-nio-8080-exec-6] o.s.sample.controller.StudentController : >>>>>>>>>>>>>null
+2016-01-27 13:27:26.995 DEBUG 37172 --- [http-nio-8080-exec-6] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds2 > List org.springboot.sample.service.StudentService.likeName(String)
+2016-01-27 13:27:26.996 DEBUG 37172 --- [http-nio-8080-exec-6] o.s.s.m.StudentMapper.likeName_COUNT : ==> Preparing: SELECT count(*) FROM STUDENT WHERE NAME LIKE CONCAT('%', ?, '%')
+2016-01-27 13:27:27.000 DEBUG 37172 --- [http-nio-8080-exec-6] o.s.s.m.StudentMapper.likeName_COUNT : ==> Parameters: ERROR(String)
+2016-01-27 13:27:27.001 TRACE 37172 --- [http-nio-8080-exec-6] o.s.s.m.StudentMapper.likeName_COUNT : <== Columns: count(*)
+2016-01-27 13:27:27.002 TRACE 37172 --- [http-nio-8080-exec-6] o.s.s.m.StudentMapper.likeName_COUNT : <== Row: 0
+2016-01-27 13:27:27.002 DEBUG 37172 --- [http-nio-8080-exec-6] o.s.s.m.StudentMapper.likeName_COUNT : <== Total: 1
+2016-01-27 13:27:27.003 DEBUG 37172 --- [http-nio-8080-exec-6] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds2 > List org.springboot.sample.service.StudentService.likeName(String)
+2016-01-27 13:27:27.005 DEBUG 37172 --- [http-nio-8080-exec-6] o.s.sample.mapper.StudentMapper.add : ==> Preparing: INSERT INTO STUDENT(NAME,SCORE_SUM,SCORE_AVG,AGE) VALUES (?,?,?,?)
+2016-01-27 13:27:27.007 DEBUG 37172 --- [http-nio-8080-exec-6] o.s.sample.mapper.StudentMapper.add : ==> Parameters: 莉莉(String), 288.5(String), 88.5(String), 20(Integer)
+2016-01-27 13:27:27.012 DEBUG 37172 --- [http-nio-8080-exec-6] o.s.sample.mapper.StudentMapper.add : <== Updates: 1
+2016-01-27 13:27:27.046 ERROR 37172 --- [http-nio-8080-exec-6] o.a.c.c.C.[.[.[.[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [/myspringboot] threw exception [Request processing failed; nested exception is java.lang.RuntimeException: 测试事务异常回滚] with root cause
+
+java.lang.RuntimeException: 测试事务异常回滚
+ at org.springboot.sample.service.StudentService.likeNameByDefaultDataSource(StudentService.java:47) ~[classes/:na]
+ at org.springboot.sample.service.StudentService$$FastClassBySpringCGLIB$$1af5bdd2.invoke() ~[classes/:na]
+ at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springboot.sample.service.StudentService$$EnhancerBySpringCGLIB$$696e6b6a.likeNameByDefaultDataSource() ~[classes/:na]
+ at org.springboot.sample.service.StudentService$$FastClassBySpringCGLIB$$1af5bdd2.invoke() ~[classes/:na]
+ at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springboot.sample.service.StudentService$$EnhancerBySpringCGLIB$$47cc5af3.likeNameByDefaultDataSource() ~[classes/:na]
+ at org.springboot.sample.controller.StudentController.likeName(StudentController.java:39) ~[classes/:na]
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_60]
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_60]
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_60]
+ at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_60]
+ at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:222) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:814) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:737) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:969) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:860) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:845) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) ~[tomcat-embed-websocket-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:112) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springboot.sample.filter.MyFilter.doFilter(MyFilter.java:43) ~[classes/:na]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) ~[shiro-core-1.2.4.jar:1.2.4]
+ at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) ~[shiro-core-1.2.4.jar:1.2.4]
+ at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383) ~[shiro-core-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:87) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:521) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1096) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:674) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_60]
+ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_60]
+ at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at java.lang.Thread.run(Thread.java:745) [na:1.8.0_60]
+
+2016-01-27 13:27:27.151 INFO 37172 --- [http-nio-8080-exec-7] o.s.sample.controller.StudentController : >>>>>>>>>>>>>null
+2016-01-27 13:27:27.152 DEBUG 37172 --- [http-nio-8080-exec-7] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds2 > List org.springboot.sample.service.StudentService.likeName(String)
+2016-01-27 13:27:27.152 DEBUG 37172 --- [http-nio-8080-exec-7] o.s.s.m.StudentMapper.likeName_COUNT : ==> Preparing: SELECT count(*) FROM STUDENT WHERE NAME LIKE CONCAT('%', ?, '%')
+2016-01-27 13:27:27.153 DEBUG 37172 --- [http-nio-8080-exec-7] o.s.s.m.StudentMapper.likeName_COUNT : ==> Parameters: ERROR(String)
+2016-01-27 13:27:27.172 TRACE 37172 --- [http-nio-8080-exec-7] o.s.s.m.StudentMapper.likeName_COUNT : <== Columns: count(*)
+2016-01-27 13:27:27.173 TRACE 37172 --- [http-nio-8080-exec-7] o.s.s.m.StudentMapper.likeName_COUNT : <== Row: 0
+2016-01-27 13:27:27.173 DEBUG 37172 --- [http-nio-8080-exec-7] o.s.s.m.StudentMapper.likeName_COUNT : <== Total: 1
+2016-01-27 13:27:27.173 DEBUG 37172 --- [http-nio-8080-exec-7] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds2 > List org.springboot.sample.service.StudentService.likeName(String)
+2016-01-27 13:27:27.175 DEBUG 37172 --- [http-nio-8080-exec-7] o.s.sample.mapper.StudentMapper.add : ==> Preparing: INSERT INTO STUDENT(NAME,SCORE_SUM,SCORE_AVG,AGE) VALUES (?,?,?,?)
+2016-01-27 13:27:27.176 DEBUG 37172 --- [http-nio-8080-exec-7] o.s.sample.mapper.StudentMapper.add : ==> Parameters: 莉莉(String), 288.5(String), 88.5(String), 20(Integer)
+2016-01-27 13:27:27.183 DEBUG 37172 --- [http-nio-8080-exec-7] o.s.sample.mapper.StudentMapper.add : <== Updates: 1
+2016-01-27 13:27:27.208 ERROR 37172 --- [http-nio-8080-exec-7] o.a.c.c.C.[.[.[.[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [/myspringboot] threw exception [Request processing failed; nested exception is java.lang.RuntimeException: 测试事务异常回滚] with root cause
+
+java.lang.RuntimeException: 测试事务异常回滚
+ at org.springboot.sample.service.StudentService.likeNameByDefaultDataSource(StudentService.java:47) ~[classes/:na]
+ at org.springboot.sample.service.StudentService$$FastClassBySpringCGLIB$$1af5bdd2.invoke() ~[classes/:na]
+ at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springboot.sample.service.StudentService$$EnhancerBySpringCGLIB$$696e6b6a.likeNameByDefaultDataSource() ~[classes/:na]
+ at org.springboot.sample.service.StudentService$$FastClassBySpringCGLIB$$1af5bdd2.invoke() ~[classes/:na]
+ at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springboot.sample.service.StudentService$$EnhancerBySpringCGLIB$$47cc5af3.likeNameByDefaultDataSource() ~[classes/:na]
+ at org.springboot.sample.controller.StudentController.likeName(StudentController.java:39) ~[classes/:na]
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_60]
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_60]
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_60]
+ at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_60]
+ at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:222) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:814) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:737) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:969) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:860) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:845) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) ~[tomcat-embed-websocket-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:112) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springboot.sample.filter.MyFilter.doFilter(MyFilter.java:43) ~[classes/:na]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) ~[shiro-core-1.2.4.jar:1.2.4]
+ at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) ~[shiro-core-1.2.4.jar:1.2.4]
+ at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383) ~[shiro-core-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:87) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:521) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1096) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:674) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_60]
+ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_60]
+ at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at java.lang.Thread.run(Thread.java:745) [na:1.8.0_60]
+
+2016-01-27 13:27:27.313 INFO 37172 --- [http-nio-8080-exec-8] o.s.sample.controller.StudentController : >>>>>>>>>>>>>null
+2016-01-27 13:27:27.313 DEBUG 37172 --- [http-nio-8080-exec-8] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds2 > List org.springboot.sample.service.StudentService.likeName(String)
+2016-01-27 13:27:27.314 DEBUG 37172 --- [http-nio-8080-exec-8] o.s.s.m.StudentMapper.likeName_COUNT : ==> Preparing: SELECT count(*) FROM STUDENT WHERE NAME LIKE CONCAT('%', ?, '%')
+2016-01-27 13:27:27.315 DEBUG 37172 --- [http-nio-8080-exec-8] o.s.s.m.StudentMapper.likeName_COUNT : ==> Parameters: ERROR(String)
+2016-01-27 13:27:27.317 TRACE 37172 --- [http-nio-8080-exec-8] o.s.s.m.StudentMapper.likeName_COUNT : <== Columns: count(*)
+2016-01-27 13:27:27.318 TRACE 37172 --- [http-nio-8080-exec-8] o.s.s.m.StudentMapper.likeName_COUNT : <== Row: 0
+2016-01-27 13:27:27.318 DEBUG 37172 --- [http-nio-8080-exec-8] o.s.s.m.StudentMapper.likeName_COUNT : <== Total: 1
+2016-01-27 13:27:27.318 DEBUG 37172 --- [http-nio-8080-exec-8] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds2 > List org.springboot.sample.service.StudentService.likeName(String)
+2016-01-27 13:27:27.321 DEBUG 37172 --- [http-nio-8080-exec-8] o.s.sample.mapper.StudentMapper.add : ==> Preparing: INSERT INTO STUDENT(NAME,SCORE_SUM,SCORE_AVG,AGE) VALUES (?,?,?,?)
+2016-01-27 13:27:27.322 DEBUG 37172 --- [http-nio-8080-exec-8] o.s.sample.mapper.StudentMapper.add : ==> Parameters: 莉莉(String), 288.5(String), 88.5(String), 20(Integer)
+2016-01-27 13:27:27.325 DEBUG 37172 --- [http-nio-8080-exec-8] o.s.sample.mapper.StudentMapper.add : <== Updates: 1
+2016-01-27 13:27:27.350 ERROR 37172 --- [http-nio-8080-exec-8] o.a.c.c.C.[.[.[.[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [/myspringboot] threw exception [Request processing failed; nested exception is java.lang.RuntimeException: 测试事务异常回滚] with root cause
+
+java.lang.RuntimeException: 测试事务异常回滚
+ at org.springboot.sample.service.StudentService.likeNameByDefaultDataSource(StudentService.java:47) ~[classes/:na]
+ at org.springboot.sample.service.StudentService$$FastClassBySpringCGLIB$$1af5bdd2.invoke() ~[classes/:na]
+ at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springboot.sample.service.StudentService$$EnhancerBySpringCGLIB$$696e6b6a.likeNameByDefaultDataSource() ~[classes/:na]
+ at org.springboot.sample.service.StudentService$$FastClassBySpringCGLIB$$1af5bdd2.invoke() ~[classes/:na]
+ at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springboot.sample.service.StudentService$$EnhancerBySpringCGLIB$$47cc5af3.likeNameByDefaultDataSource() ~[classes/:na]
+ at org.springboot.sample.controller.StudentController.likeName(StudentController.java:39) ~[classes/:na]
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_60]
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_60]
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_60]
+ at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_60]
+ at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:222) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:814) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:737) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:969) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:860) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:845) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) ~[tomcat-embed-websocket-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:112) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springboot.sample.filter.MyFilter.doFilter(MyFilter.java:43) ~[classes/:na]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) ~[shiro-core-1.2.4.jar:1.2.4]
+ at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) ~[shiro-core-1.2.4.jar:1.2.4]
+ at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383) ~[shiro-core-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:87) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:521) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1096) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:674) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_60]
+ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_60]
+ at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at java.lang.Thread.run(Thread.java:745) [na:1.8.0_60]
+
+2016-01-27 13:27:27.457 INFO 37172 --- [http-nio-8080-exec-9] o.s.sample.controller.StudentController : >>>>>>>>>>>>>null
+2016-01-27 13:27:27.458 DEBUG 37172 --- [http-nio-8080-exec-9] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds2 > List org.springboot.sample.service.StudentService.likeName(String)
+2016-01-27 13:27:27.459 DEBUG 37172 --- [http-nio-8080-exec-9] o.s.s.m.StudentMapper.likeName_COUNT : ==> Preparing: SELECT count(*) FROM STUDENT WHERE NAME LIKE CONCAT('%', ?, '%')
+2016-01-27 13:27:27.459 DEBUG 37172 --- [http-nio-8080-exec-9] o.s.s.m.StudentMapper.likeName_COUNT : ==> Parameters: ERROR(String)
+2016-01-27 13:27:27.461 TRACE 37172 --- [http-nio-8080-exec-9] o.s.s.m.StudentMapper.likeName_COUNT : <== Columns: count(*)
+2016-01-27 13:27:27.461 TRACE 37172 --- [http-nio-8080-exec-9] o.s.s.m.StudentMapper.likeName_COUNT : <== Row: 0
+2016-01-27 13:27:27.461 DEBUG 37172 --- [http-nio-8080-exec-9] o.s.s.m.StudentMapper.likeName_COUNT : <== Total: 1
+2016-01-27 13:27:27.462 DEBUG 37172 --- [http-nio-8080-exec-9] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds2 > List org.springboot.sample.service.StudentService.likeName(String)
+2016-01-27 13:27:27.465 DEBUG 37172 --- [http-nio-8080-exec-9] o.s.sample.mapper.StudentMapper.add : ==> Preparing: INSERT INTO STUDENT(NAME,SCORE_SUM,SCORE_AVG,AGE) VALUES (?,?,?,?)
+2016-01-27 13:27:27.466 DEBUG 37172 --- [http-nio-8080-exec-9] o.s.sample.mapper.StudentMapper.add : ==> Parameters: 莉莉(String), 288.5(String), 88.5(String), 20(Integer)
+2016-01-27 13:27:27.468 DEBUG 37172 --- [http-nio-8080-exec-9] o.s.sample.mapper.StudentMapper.add : <== Updates: 1
+2016-01-27 13:27:27.490 ERROR 37172 --- [http-nio-8080-exec-9] o.a.c.c.C.[.[.[.[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [/myspringboot] threw exception [Request processing failed; nested exception is java.lang.RuntimeException: 测试事务异常回滚] with root cause
+
+java.lang.RuntimeException: 测试事务异常回滚
+ at org.springboot.sample.service.StudentService.likeNameByDefaultDataSource(StudentService.java:47) ~[classes/:na]
+ at org.springboot.sample.service.StudentService$$FastClassBySpringCGLIB$$1af5bdd2.invoke() ~[classes/:na]
+ at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springboot.sample.service.StudentService$$EnhancerBySpringCGLIB$$696e6b6a.likeNameByDefaultDataSource() ~[classes/:na]
+ at org.springboot.sample.service.StudentService$$FastClassBySpringCGLIB$$1af5bdd2.invoke() ~[classes/:na]
+ at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springboot.sample.service.StudentService$$EnhancerBySpringCGLIB$$47cc5af3.likeNameByDefaultDataSource() ~[classes/:na]
+ at org.springboot.sample.controller.StudentController.likeName(StudentController.java:39) ~[classes/:na]
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_60]
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_60]
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_60]
+ at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_60]
+ at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:222) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:814) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:737) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:969) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:860) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:845) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) ~[tomcat-embed-websocket-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:112) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springboot.sample.filter.MyFilter.doFilter(MyFilter.java:43) ~[classes/:na]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) ~[shiro-core-1.2.4.jar:1.2.4]
+ at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) ~[shiro-core-1.2.4.jar:1.2.4]
+ at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383) ~[shiro-core-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:87) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:521) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1096) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:674) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_60]
+ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_60]
+ at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at java.lang.Thread.run(Thread.java:745) [na:1.8.0_60]
+
+2016-01-27 13:27:45.295 INFO 37172 --- [RMI TCP Connection(8)-192.168.16.22] inMXBeanRegistrar$SpringApplicationAdmin : Application shutdown requested.
+2016-01-27 13:27:45.296 INFO 37172 --- [RMI TCP Connection(8)-192.168.16.22] ationConfigEmbeddedWebApplicationContext : Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@3eb77ea8: startup date [Wed Jan 27 13:24:54 CST 2016]; root of context hierarchy
+2016-01-27 13:27:45.300 INFO 37172 --- [RMI TCP Connection(8)-192.168.16.22] o.s.j.e.a.AnnotationMBeanExporter : Unregistering JMX-exposed beans on shutdown
+2016-01-27 13:27:45.316 INFO 37172 --- [RMI TCP Connection(8)-192.168.16.22] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
+2016-01-27 13:27:45.322 WARN 37172 --- [RMI TCP Connection(8)-192.168.16.22] o.s.b.f.support.DisposableBeanAdapter : Invocation of destroy method 'close' failed on bean with name 'sqlSessionTemplate': java.lang.UnsupportedOperationException: Manual close is not allowed over a Spring managed SqlSession
+2016-01-27 13:40:54.224 INFO 36376 --- [main] o.s.sample.SpringBootSampleApplication : Starting SpringBootSampleApplication on Shanhy-PC with PID 36376 (started by Shanhy in E:\Lenovocw\▲技术解决方案\Spring-Boot\spring-boot-sample)
+2016-01-27 13:40:54.229 DEBUG 36376 --- [main] o.s.sample.SpringBootSampleApplication : Running with Spring Boot v1.3.2.RELEASE, Spring v4.2.4.RELEASE
+2016-01-27 13:40:54.229 INFO 36376 --- [main] o.s.sample.SpringBootSampleApplication : No active profile set, falling back to default profiles: default
+2016-01-27 13:40:54.356 INFO 36376 --- [main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@37091312: startup date [Wed Jan 27 13:40:54 CST 2016]; root of context hierarchy
+2016-01-27 13:40:56.343 INFO 36376 --- [main] o.s.s.d.DynamicDataSourceRegister : Dynamic DataSource Registry
+2016-01-27 13:40:56.579 INFO 36376 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'beanNameViewResolver' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration$WhitelabelErrorViewConfiguration; factoryMethodName=beanNameViewResolver; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/web/ErrorMvcAutoConfiguration$WhitelabelErrorViewConfiguration.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter; factoryMethodName=beanNameViewResolver; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter.class]]
+2016-01-27 13:40:56.965 INFO 36376 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'IUserDao' with a different definition: replacing [Generic bean: class [org.mybatis.spring.mapper.MapperFactoryBean]; scope=singleton; abstract=false; lazyInit=false; autowireMode=2; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [E:\Lenovocw\▲技术解决方案\Spring-Boot\spring-boot-sample\target\classes\org\springboot\sample\dao\IUserDao.class]] with [Root bean: class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
+2016-01-27 13:40:56.987 INFO 36376 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'IScoreDao' with a different definition: replacing [Generic bean: class [org.mybatis.spring.mapper.MapperFactoryBean]; scope=singleton; abstract=false; lazyInit=false; autowireMode=2; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [E:\Lenovocw\▲技术解决方案\Spring-Boot\spring-boot-sample\target\classes\org\springboot\sample\dao\IScoreDao.class]] with [Root bean: class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
+2016-01-27 13:40:58.074 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroConfiguration' of type [class org.springboot.sample.config.ShiroConfiguration$$EnhancerBySpringCGLIB$$9251a36b] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:40:58.928 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'mybatis.CONFIGURATION_PROPERTIES' of type [class org.mybatis.spring.boot.autoconfigure.MybatisProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:40:58.946 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'myBatisConfiguration' of type [class org.springboot.sample.config.MyBatisConfiguration$$EnhancerBySpringCGLIB$$476ae1a9] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:40:59.164 INFO 36376 --- [main] o.s.sample.config.MyBatisConfiguration : 注册MyBatis分页插件PageHelper
+2016-01-27 13:40:59.198 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'pageHelper' of type [class com.github.pagehelper.PageHelper] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:40:59.221 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration' of type [class org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration$$EnhancerBySpringCGLIB$$adebdac4] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:41:00.440 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'sqlSessionFactory' of type [class org.apache.ibatis.session.defaults.DefaultSqlSessionFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:41:00.483 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'sqlSessionTemplate' of type [class org.mybatis.spring.SqlSessionTemplate] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:41:00.487 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'studentMapper' of type [class org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:41:00.497 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'targetDataSource' of type [class org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:41:00.516 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shanhy' of type [class org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:41:00.828 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'getEhCacheManager' of type [class org.apache.shiro.cache.ehcache.EhCacheManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:41:00.888 INFO 36376 --- [main] o.a.shiro.cache.ehcache.EhCacheManager : Cache with name 'org.springboot.sample.security.MyShiroRealm.authorizationCache' does not yet exist. Creating now.
+2016-01-27 13:41:01.011 INFO 36376 --- [main] o.a.shiro.cache.ehcache.EhCacheManager : Added EhCache named [org.springboot.sample.security.MyShiroRealm.authorizationCache]
+2016-01-27 13:41:01.132 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#6db328f8' of type [class org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:41:01.133 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#6db328f8' of type [class java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:41:01.144 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#2d28fb02' of type [class org.springframework.data.repository.core.support.PropertiesBasedNamedQueries] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:41:01.161 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#7f2c57fe' of type [class org.springframework.data.repository.query.ExtensionAwareEvaluationContextProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:41:01.284 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.jpa.CONFIGURATION_PROPERTIES' of type [class org.springframework.boot.autoconfigure.orm.jpa.JpaProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:41:01.301 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration' of type [class org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration$$EnhancerBySpringCGLIB$$42964fb4] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:41:01.412 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaVendorAdapter' of type [class org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:41:01.424 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactoryBuilder' of type [class org.springframework.boot.orm.jpa.EntityManagerFactoryBuilder] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:41:01.470 INFO 36376 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-0 - is starting.
+2016-01-27 13:41:02.820 INFO 36376 --- [main] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
+2016-01-27 13:41:03.038 INFO 36376 --- [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
+ name: default
+ ...]
+2016-01-27 13:41:03.359 INFO 36376 --- [main] org.hibernate.Version : HHH000412: Hibernate Core {4.3.11.Final}
+2016-01-27 13:41:03.366 INFO 36376 --- [main] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found
+2016-01-27 13:41:03.812 INFO 36376 --- [main] org.hibernate.cfg.Environment : HHH000021: Bytecode provider name : javassist
+2016-01-27 13:41:04.574 INFO 36376 --- [main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
+2016-01-27 13:41:04.748 INFO 36376 --- [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
+2016-01-27 13:41:05.235 INFO 36376 --- [main] o.h.h.i.ast.ASTQueryTranslatorFactory : HHH000397: Using ASTQueryTranslatorFactory
+2016-01-27 13:41:06.172 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactory' of type [class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:41:06.173 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactory' of type [class com.sun.proxy.$Proxy70] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:41:06.211 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#70b6db83' of type [class com.sun.proxy.$Proxy71] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:41:06.340 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaMappingContext' of type [class org.springframework.data.jpa.repository.config.JpaMetamodelMappingContextFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:41:06.341 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaMappingContext' of type [class org.springframework.data.jpa.mapping.JpaMetamodelMappingContext] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:41:06.892 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IUserDao' of type [class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:41:06.893 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IUserDao' of type [class com.sun.proxy.$Proxy76] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:41:06.894 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'myShiroRealm' of type [class org.springboot.sample.security.MyShiroRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:41:06.977 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'securityManager' of type [class org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:41:06.985 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#4efe014f' of type [class org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:41:06.986 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#4efe014f' of type [class java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:41:06.987 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#8315e4a' of type [class org.springframework.data.repository.core.support.PropertiesBasedNamedQueries] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:41:06.988 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#7c5ac0' of type [class org.springframework.data.repository.query.ExtensionAwareEvaluationContextProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:41:06.990 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#23d978b' of type [class com.sun.proxy.$Proxy71] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:41:07.034 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IScoreDao' of type [class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:41:07.035 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'IScoreDao' of type [class com.sun.proxy.$Proxy79] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:41:07.045 INFO 36376 --- [main] o.s.sample.config.ShiroConfiguration : ##################从数据库读取权限规则,加载到shiroFilter中##################
+2016-01-27 13:41:07.146 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'getAuthorizationAttributeSourceAdvisor' of type [class org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:41:07.295 INFO 36376 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$5789ef94] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:41:09.488 INFO 36376 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8080 (http)
+2016-01-27 13:41:09.522 INFO 36376 --- [main] o.apache.catalina.core.StandardService : Starting service Tomcat
+2016-01-27 13:41:09.524 INFO 36376 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.0.30
+2016-01-27 13:41:10.522 INFO 36376 --- [localhost-startStop-1] org.apache.jasper.servlet.TldScanner : At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
+2016-01-27 13:41:10.536 INFO 36376 --- [localhost-startStop-1] o.a.c.c.C.[.[localhost].[/myspringboot] : Initializing Spring embedded WebApplicationContext
+2016-01-27 13:41:10.536 INFO 36376 --- [localhost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 16186 ms
+2016-01-27 13:41:10.707 DEBUG 36376 --- [localhost-startStop-1] o.s.sample.SpringBootSampleApplication : 日志输出测试 Debug
+2016-01-27 13:41:10.709 TRACE 36376 --- [localhost-startStop-1] o.s.sample.SpringBootSampleApplication : 日志输出测试 Trace
+2016-01-27 13:41:10.711 INFO 36376 --- [localhost-startStop-1] o.s.sample.SpringBootSampleApplication : 日志输出测试 Info
+2016-01-27 13:41:14.797 INFO 36376 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
+2016-01-27 13:41:14.799 INFO 36376 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
+2016-01-27 13:41:14.799 INFO 36376 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
+2016-01-27 13:41:14.800 INFO 36376 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
+2016-01-27 13:41:14.801 INFO 36376 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'delegatingFilterProxy' to urls: [/*]
+2016-01-27 13:41:14.801 INFO 36376 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'myFilter' to urls: [/*]
+2016-01-27 13:41:14.801 INFO 36376 --- [localhost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'shiroFilter' to: [/*]
+2016-01-27 13:41:14.802 INFO 36376 --- [localhost-startStop-1] o.s.b.c.e.ServletRegistrationBean : Mapping servlet: 'myServlet' to [/xs/*]
+2016-01-27 13:41:14.805 INFO 36376 --- [localhost-startStop-1] o.s.b.c.e.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
+2016-01-27 13:41:14.806 INFO 36376 --- [localhost-startStop-1] o.s.b.c.e.ServletRegistrationBean : Mapping servlet: 'org.springboot.sample.servlet.MyServlet2' to [/xs/myservlet]
+2016-01-27 13:41:14.954 INFO 36376 --- [main] o.s.sample.config.MyWebAppConfigurer : D:\Program Files\Java\jdk1.8.0_60
+2016-01-27 13:41:14.954 INFO 36376 --- [main] o.s.sample.config.MyWebAppConfigurer : jdbc:mysql://localhost:3306/test
+2016-01-27 13:41:14.955 INFO 36376 --- [main] o.s.sample.config.MyWebAppConfigurer : jdbc:mysql://localhost:3306/test
+2016-01-27 13:41:14.957 INFO 36376 --- [main] o.s.sample.config.MyWebAppConfigurer : jdbc:mysql://localhost:3306/test
+2016-01-27 13:41:29.493 INFO 36376 --- [main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@37091312: startup date [Wed Jan 27 13:40:54 CST 2016]; root of context hierarchy
+2016-01-27 13:41:29.509 INFO 36376 --- [main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Detected @ModelAttribute methods in resourceUrlProviderController
+2016-01-27 13:41:30.123 INFO 36376 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/webjarslocator/{webjar}/**]}" onto public org.springframework.http.ResponseEntity org.springboot.sample.config.WebJarsController.locateWebjarAsset(java.lang.String,javax.servlet.http.HttpServletRequest)
+2016-01-27 13:41:30.129 INFO 36376 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello/info]}" onto public java.util.Map org.springboot.sample.controller.HelloController.getInfo(java.lang.String)
+2016-01-27 13:41:30.130 INFO 36376 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello]}" onto public java.lang.String org.springboot.sample.controller.HelloController.hello()
+2016-01-27 13:41:30.131 INFO 36376 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hello/list]}" onto public java.util.List> org.springboot.sample.controller.HelloController.getList()
+2016-01-27 13:41:30.133 INFO 36376 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/ || /index]}" onto public java.lang.String org.springboot.sample.controller.PageController.index(java.util.Map)
+2016-01-27 13:41:30.134 INFO 36376 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/page1]}" onto public org.springframework.web.servlet.ModelAndView org.springboot.sample.controller.PageController.page1()
+2016-01-27 13:41:30.134 INFO 36376 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/page2]}" onto public java.lang.String org.springboot.sample.controller.PageController.page2(org.springframework.ui.Model)
+2016-01-27 13:41:30.136 INFO 36376 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/score/scoreList]}" onto public java.util.List org.springboot.sample.controller.ScoreController.getScoreList()
+2016-01-27 13:41:30.143 INFO 36376 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/login],methods=[GET]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.loginForm(org.springframework.ui.Model)
+2016-01-27 13:41:30.143 INFO 36376 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/login],methods=[POST]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.login(org.springboot.sample.entity.User,org.springframework.validation.BindingResult,org.springframework.web.servlet.mvc.support.RedirectAttributes)
+2016-01-27 13:41:30.144 INFO 36376 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/logout],methods=[GET]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.logout(org.springframework.web.servlet.mvc.support.RedirectAttributes)
+2016-01-27 13:41:30.144 INFO 36376 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/403]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.unauthorizedRole()
+2016-01-27 13:41:30.145 INFO 36376 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/user]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.getUserList(java.util.Map)
+2016-01-27 13:41:30.146 INFO 36376 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/user/edit/{userid}]}" onto public java.lang.String org.springboot.sample.controller.ShiroController.getUserList(int)
+2016-01-27 13:41:30.149 INFO 36376 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/stu/scoreList]}" onto public java.util.List org.springboot.sample.controller.StudentController.getScoreList()
+2016-01-27 13:41:30.150 INFO 36376 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/stu/list]}" onto public java.util.List org.springboot.sample.controller.StudentController.getStus()
+2016-01-27 13:41:30.151 INFO 36376 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/stu/likeName]}" onto public java.util.List org.springboot.sample.controller.StudentController.likeName(java.lang.String,javax.servlet.http.HttpServletRequest)
+2016-01-27 13:41:30.157 INFO 36376 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
+2016-01-27 13:41:30.158 INFO 36376 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
+2016-01-27 13:41:30.922 INFO 36376 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/myres/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-27 13:41:30.922 INFO 36376 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/myimgs/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-27 13:41:30.923 INFO 36376 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-27 13:41:30.923 INFO 36376 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-27 13:41:31.392 INFO 36376 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
+2016-01-27 13:41:33.965 INFO 36376 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup
+2016-01-27 13:41:34.537 INFO 36376 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 8080 (http)
+2016-01-27 13:41:34.547 INFO 36376 --- [main] o.s.sample.runner.MyStartupRunner1 : >>>>>>>>>>>>>>>服务启动执行,执行加载数据等操作 11111111 <<<<<<<<<<<<<
+2016-01-27 13:41:34.926 INFO 36376 --- [main] o.s.sample.runner.MyStartupRunner1 : 测试这里可以访问数据库:6,23
+2016-01-27 13:41:34.952 DEBUG 36376 --- [main] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds1 > List org.springboot.sample.service.StudentService.getListByDs1()
+2016-01-27 13:41:34.955 INFO 36376 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - is starting.
+2016-01-27 13:41:35.073 DEBUG 36376 --- [main] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds1 > List org.springboot.sample.service.StudentService.getListByDs1()
+2016-01-27 13:41:35.074 INFO 36376 --- [main] o.s.sample.runner.MyStartupRunner1 : 指定数据源Ds1 >>> 小明1
+2016-01-27 13:41:35.075 DEBUG 36376 --- [main] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds2 > List org.springboot.sample.service.StudentService.getListByDs2()
+2016-01-27 13:41:35.077 INFO 36376 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - is starting.
+2016-01-27 13:41:35.146 DEBUG 36376 --- [main] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds2 > List org.springboot.sample.service.StudentService.getListByDs2()
+2016-01-27 13:41:35.147 INFO 36376 --- [main] o.s.sample.runner.MyStartupRunner1 : 指定数据源Ds2 >>> 小明2
+2016-01-27 13:41:35.162 INFO 36376 --- [main] o.s.sample.runner.MyStartupRunner1 : ############Hello Shanhy
+2016-01-27 13:41:35.197 INFO 36376 --- [main] o.s.sample.SpringBootSampleApplication : Started SpringBootSampleApplication in 42.226 seconds (JVM running for 44.133)
+2016-01-27 13:41:58.563 INFO 36376 --- [http-nio-8080-exec-1] o.a.c.c.C.[.[localhost].[/myspringboot] : Initializing Spring FrameworkServlet 'dispatcherServlet'
+2016-01-27 13:41:58.564 INFO 36376 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : FrameworkServlet 'dispatcherServlet': initialization started
+2016-01-27 13:41:58.616 INFO 36376 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : FrameworkServlet 'dispatcherServlet': initialization completed in 52 ms
+2016-01-27 13:41:58.742 INFO 36376 --- [http-nio-8080-exec-1] o.s.sample.controller.StudentController : >>>>>>>>>>>>>null
+2016-01-27 13:41:58.746 DEBUG 36376 --- [http-nio-8080-exec-1] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds2 > List org.springboot.sample.service.StudentService.likeName(String)
+2016-01-27 13:41:59.263 DEBUG 36376 --- [http-nio-8080-exec-1] o.s.s.m.StudentMapper.likeName_COUNT : ==> Preparing: SELECT count(*) FROM STUDENT WHERE NAME LIKE CONCAT('%', ?, '%')
+2016-01-27 13:41:59.280 DEBUG 36376 --- [http-nio-8080-exec-1] o.s.s.m.StudentMapper.likeName_COUNT : ==> Parameters: 王(String)
+2016-01-27 13:41:59.302 TRACE 36376 --- [http-nio-8080-exec-1] o.s.s.m.StudentMapper.likeName_COUNT : <== Columns: count(*)
+2016-01-27 13:41:59.303 TRACE 36376 --- [http-nio-8080-exec-1] o.s.s.m.StudentMapper.likeName_COUNT : <== Row: 1
+2016-01-27 13:41:59.305 DEBUG 36376 --- [http-nio-8080-exec-1] o.s.s.m.StudentMapper.likeName_COUNT : <== Total: 1
+2016-01-27 13:41:59.314 DEBUG 36376 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : ==> Preparing: SELECT * FROM STUDENT WHERE NAME LIKE CONCAT('%',?,'%') limit ?,?
+2016-01-27 13:41:59.315 DEBUG 36376 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : ==> Parameters: 王(String), 0(Integer), 1(Integer)
+2016-01-27 13:41:59.318 TRACE 36376 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : <== Columns: id, name, score_sum, score_avg, age
+2016-01-27 13:41:59.319 TRACE 36376 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : <== Row: 2, 小王2, 187, 62.3, 1
+2016-01-27 13:41:59.320 DEBUG 36376 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : <== Total: 1
+2016-01-27 13:41:59.321 DEBUG 36376 --- [http-nio-8080-exec-1] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds2 > List org.springboot.sample.service.StudentService.likeName(String)
+2016-01-27 13:41:59.343 DEBUG 36376 --- [http-nio-8080-exec-1] o.s.sample.mapper.StudentMapper.add : ==> Preparing: INSERT INTO STUDENT(NAME,SCORE_SUM,SCORE_AVG,AGE) VALUES (?,?,?,?)
+2016-01-27 13:41:59.345 DEBUG 36376 --- [http-nio-8080-exec-1] o.s.sample.mapper.StudentMapper.add : ==> Parameters: 莉莉(String), 288.5(String), 88.5(String), 20(Integer)
+2016-01-27 13:41:59.375 DEBUG 36376 --- [http-nio-8080-exec-1] o.s.sample.mapper.StudentMapper.add : <== Updates: 1
+2016-01-27 13:41:59.376 DEBUG 36376 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : ==> Preparing: SELECT * FROM STUDENT WHERE NAME LIKE CONCAT('%',?,'%')
+2016-01-27 13:41:59.377 DEBUG 36376 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : ==> Parameters: 王(String)
+2016-01-27 13:41:59.378 TRACE 36376 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : <== Columns: id, name, score_sum, score_avg, age
+2016-01-27 13:41:59.379 TRACE 36376 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : <== Row: 2, 小王, 187, 62.3, 1
+2016-01-27 13:41:59.379 DEBUG 36376 --- [http-nio-8080-exec-1] o.s.s.mapper.StudentMapper.likeName : <== Total: 1
+2016-01-27 13:42:06.114 INFO 36376 --- [http-nio-8080-exec-2] o.s.sample.controller.StudentController : >>>>>>>>>>>>>null
+2016-01-27 13:42:06.114 DEBUG 36376 --- [http-nio-8080-exec-2] o.s.s.d.DynamicDataSourceAspect : Use DataSource : ds2 > List org.springboot.sample.service.StudentService.likeName(String)
+2016-01-27 13:42:06.115 DEBUG 36376 --- [http-nio-8080-exec-2] o.s.s.m.StudentMapper.likeName_COUNT : ==> Preparing: SELECT count(*) FROM STUDENT WHERE NAME LIKE CONCAT('%', ?, '%')
+2016-01-27 13:42:06.117 DEBUG 36376 --- [http-nio-8080-exec-2] o.s.s.m.StudentMapper.likeName_COUNT : ==> Parameters: ERROR(String)
+2016-01-27 13:42:06.118 TRACE 36376 --- [http-nio-8080-exec-2] o.s.s.m.StudentMapper.likeName_COUNT : <== Columns: count(*)
+2016-01-27 13:42:06.119 TRACE 36376 --- [http-nio-8080-exec-2] o.s.s.m.StudentMapper.likeName_COUNT : <== Row: 0
+2016-01-27 13:42:06.119 DEBUG 36376 --- [http-nio-8080-exec-2] o.s.s.m.StudentMapper.likeName_COUNT : <== Total: 1
+2016-01-27 13:42:06.119 DEBUG 36376 --- [http-nio-8080-exec-2] o.s.s.d.DynamicDataSourceAspect : Revert DataSource : ds2 > List org.springboot.sample.service.StudentService.likeName(String)
+2016-01-27 13:42:06.120 DEBUG 36376 --- [http-nio-8080-exec-2] o.s.sample.mapper.StudentMapper.add : ==> Preparing: INSERT INTO STUDENT(NAME,SCORE_SUM,SCORE_AVG,AGE) VALUES (?,?,?,?)
+2016-01-27 13:42:06.121 DEBUG 36376 --- [http-nio-8080-exec-2] o.s.sample.mapper.StudentMapper.add : ==> Parameters: 莉莉(String), 288.5(String), 88.5(String), 20(Integer)
+2016-01-27 13:42:06.183 DEBUG 36376 --- [http-nio-8080-exec-2] o.s.sample.mapper.StudentMapper.add : <== Updates: 1
+2016-01-27 13:42:06.262 ERROR 36376 --- [http-nio-8080-exec-2] o.a.c.c.C.[.[.[.[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [/myspringboot] threw exception [Request processing failed; nested exception is java.lang.RuntimeException: 测试事务异常回滚] with root cause
+
+java.lang.RuntimeException: 测试事务异常回滚
+ at org.springboot.sample.service.StudentService.likeNameByDefaultDataSource(StudentService.java:47) ~[classes/:na]
+ at org.springboot.sample.service.StudentService$$FastClassBySpringCGLIB$$1af5bdd2.invoke() ~[classes/:na]
+ at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springboot.sample.service.StudentService$$EnhancerBySpringCGLIB$$2d27849d.likeNameByDefaultDataSource() ~[classes/:na]
+ at org.springboot.sample.service.StudentService$$FastClassBySpringCGLIB$$1af5bdd2.invoke() ~[classes/:na]
+ at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655) ~[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springboot.sample.service.StudentService$$EnhancerBySpringCGLIB$$ebe8201f.likeNameByDefaultDataSource() ~[classes/:na]
+ at org.springboot.sample.controller.StudentController.likeName(StudentController.java:39) ~[classes/:na]
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_60]
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_60]
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_60]
+ at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_60]
+ at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:222) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:814) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:737) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:969) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:860) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:845) ~[spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) ~[tomcat-embed-websocket-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:112) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springboot.sample.filter.MyFilter.doFilter(MyFilter.java:43) ~[classes/:na]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) ~[shiro-core-1.2.4.jar:1.2.4]
+ at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) ~[shiro-core-1.2.4.jar:1.2.4]
+ at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383) ~[shiro-core-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) ~[shiro-web-1.2.4.jar:1.2.4]
+ at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:87) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:521) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1096) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:674) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_60]
+ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_60]
+ at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-8.0.30.jar:8.0.30]
+ at java.lang.Thread.run(Thread.java:745) [na:1.8.0_60]
+
+2016-01-27 13:42:20.076 INFO 36376 --- [RMI TCP Connection(8)-192.168.16.22] inMXBeanRegistrar$SpringApplicationAdmin : Application shutdown requested.
+2016-01-27 13:42:20.077 INFO 36376 --- [RMI TCP Connection(8)-192.168.16.22] ationConfigEmbeddedWebApplicationContext : Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@37091312: startup date [Wed Jan 27 13:40:54 CST 2016]; root of context hierarchy
+2016-01-27 13:42:20.082 INFO 36376 --- [RMI TCP Connection(8)-192.168.16.22] o.s.j.e.a.AnnotationMBeanExporter : Unregistering JMX-exposed beans on shutdown
+2016-01-27 13:42:20.095 INFO 36376 --- [RMI TCP Connection(8)-192.168.16.22] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
+2016-01-27 13:42:20.097 WARN 36376 --- [RMI TCP Connection(8)-192.168.16.22] o.s.b.f.support.DisposableBeanAdapter : Invocation of destroy method 'close' failed on bean with name 'sqlSessionTemplate': java.lang.UnsupportedOperationException: Manual close is not allowed over a Spring managed SqlSession
+2016-01-27 13:42:58.597 INFO 37476 --- [main] o.s.sample.SpringBootSampleApplication : Starting SpringBootSampleApplication on Shanhy-PC with PID 37476 (started by Shanhy in E:\Lenovocw\▲技术解决方案\Spring-Boot\spring-boot-sample)
+2016-01-27 13:42:58.605 DEBUG 37476 --- [main] o.s.sample.SpringBootSampleApplication : Running with Spring Boot v1.3.2.RELEASE, Spring v4.2.4.RELEASE
+2016-01-27 13:42:58.606 INFO 37476 --- [main] o.s.sample.SpringBootSampleApplication : No active profile set, falling back to default profiles: default
+2016-01-27 13:42:58.757 INFO 37476 --- [main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@63eef88a: startup date [Wed Jan 27 13:42:58 CST 2016]; root of context hierarchy
+2016-01-27 13:43:01.006 INFO 37476 --- [main] o.s.s.d.DynamicDataSourceRegister : Dynamic DataSource Registry
+2016-01-27 13:43:01.515 INFO 37476 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'beanNameViewResolver' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration$WhitelabelErrorViewConfiguration; factoryMethodName=beanNameViewResolver; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/web/ErrorMvcAutoConfiguration$WhitelabelErrorViewConfiguration.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter; factoryMethodName=beanNameViewResolver; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter.class]]
+2016-01-27 13:43:02.698 INFO 37476 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'IScoreDao' with a different definition: replacing [Generic bean: class [org.mybatis.spring.mapper.MapperFactoryBean]; scope=singleton; abstract=false; lazyInit=false; autowireMode=2; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [E:\Lenovocw\▲技术解决方案\Spring-Boot\spring-boot-sample\target\classes\org\springboot\sample\dao\IScoreDao.class]] with [Root bean: class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
+2016-01-27 13:43:02.724 INFO 37476 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'IUserDao' with a different definition: replacing [Generic bean: class [org.mybatis.spring.mapper.MapperFactoryBean]; scope=singleton; abstract=false; lazyInit=false; autowireMode=2; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [E:\Lenovocw\▲技术解决方案\Spring-Boot\spring-boot-sample\target\classes\org\springboot\sample\dao\IUserDao.class]] with [Root bean: class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
+2016-01-27 13:43:05.067 INFO 37476 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroConfiguration' of type [class org.springboot.sample.config.ShiroConfiguration$$EnhancerBySpringCGLIB$$f95dc427] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:43:06.210 INFO 37476 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'mybatis.CONFIGURATION_PROPERTIES' of type [class org.mybatis.spring.boot.autoconfigure.MybatisProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:43:06.231 INFO 37476 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'myBatisConfiguration' of type [class org.springboot.sample.config.MyBatisConfiguration$$EnhancerBySpringCGLIB$$ae770265] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:43:06.664 INFO 37476 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.jpa.CONFIGURATION_PROPERTIES' of type [class org.springframework.boot.autoconfigure.orm.jpa.JpaProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:43:06.688 INFO 37476 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration' of type [class org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration$$EnhancerBySpringCGLIB$$a9a27070] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:43:06.882 INFO 37476 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaVendorAdapter' of type [class org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:43:06.893 INFO 37476 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactoryBuilder' of type [class org.springframework.boot.orm.jpa.EntityManagerFactoryBuilder] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:43:06.935 INFO 37476 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-0 - is starting.
+2016-01-27 13:43:08.601 INFO 37476 --- [main] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
+2016-01-27 13:43:08.770 INFO 37476 --- [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
+ name: default
+ ...]
+2016-01-27 13:43:09.074 INFO 37476 --- [main] org.hibernate.Version : HHH000412: Hibernate Core {4.3.11.Final}
+2016-01-27 13:43:09.106 INFO 37476 --- [main] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found
+2016-01-27 13:43:09.111 INFO 37476 --- [main] org.hibernate.cfg.Environment : HHH000021: Bytecode provider name : javassist
+2016-01-27 13:43:09.863 INFO 37476 --- [main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
+2016-01-27 13:43:10.077 INFO 37476 --- [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
+2016-01-27 13:43:10.799 INFO 37476 --- [main] o.h.h.i.ast.ASTQueryTranslatorFactory : HHH000397: Using ASTQueryTranslatorFactory
+2016-01-27 13:43:12.203 INFO 37476 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactory' of type [class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:43:12.204 INFO 37476 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactory' of type [class com.sun.proxy.$Proxy65] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:43:12.206 INFO 37476 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'transactionManager' of type [class org.springframework.orm.jpa.JpaTransactionManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2016-01-27 13:43:12.242 INFO 37476 --- [main] o.s.sample.config.MyBatisConfiguration : 注册MyBatis分页插件PageHelper
+2016-01-27 15:49:14.415 INFO 37128 --- [main] o.s.sample.SpringBootSampleApplication : Starting SpringBootSampleApplication on Shanhy-PC with PID 37128 (started by Shanhy in E:\Lenovocw\▲技术解决方案\Spring-Boot\spring-boot-sample)
+2016-01-27 15:49:14.443 DEBUG 37128 --- [main] o.s.sample.SpringBootSampleApplication : Running with Spring Boot v1.3.2.RELEASE, Spring v4.2.4.RELEASE
+2016-01-27 15:49:14.444 INFO 37128 --- [main] o.s.sample.SpringBootSampleApplication : No active profile set, falling back to default profiles: default
+2016-01-27 15:49:14.912 INFO 37128 --- [main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@2e1ef60: startup date [Wed Jan 27 15:49:14 CST 2016]; root of context hierarchy
diff --git a/spring-boot-sample/pom.xml b/spring-boot-sample/pom.xml
new file mode 100644
index 0000000..109fa97
--- /dev/null
+++ b/spring-boot-sample/pom.xml
@@ -0,0 +1,150 @@
+
+
+ 4.0.0
+
+ org.springboot.sample
+ spring-boot-sample
+ 0.0.1-SNAPSHOT
+
+ war
+
+ spring-boot-sample
+ Spring Boot Sample Web Application
+
+
+ org.springframework.boot
+ spring-boot-starter-parent
+ 1.3.2.RELEASE
+
+
+
+
+ UTF-8
+ 1.8
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+
+
+
+
+
+
+
+ org.apache.tomcat.embed
+ tomcat-embed-jasper
+ provided
+
+
+ javax.servlet
+ jstl
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+
+
+
+
+
+
+ org.webjars
+ jquery
+ 2.1.4
+
+
+ org.webjars
+ webjars-locator
+
+
+
+ mysql
+ mysql-connector-java
+
+
+
+ org.springframework.boot
+ spring-boot-starter-jdbc
+
+
+
+ org.springframework.boot
+ spring-boot-starter-data-jpa
+
+
+
+
+ org.apache.shiro
+ shiro-core
+ 1.2.4
+
+
+ org.apache.shiro
+ shiro-web
+ 1.2.4
+
+
+ org.apache.shiro
+ shiro-spring
+ 1.2.4
+
+
+ org.apache.shiro
+ shiro-ehcache
+ 1.2.4
+
+
+ org.jasig.cas.client
+ cas-client-core
+ 3.3.3
+
+
+ com.zaxxer
+ HikariCP
+
+
+ org.mybatis.spring.boot
+ mybatis-spring-boot-starter
+
+ 1.0.1
+
+
+ com.github.pagehelper
+ pagehelper
+ 4.1.0
+
+
+ org.springframework.boot
+ spring-boot-configuration-processor
+ true
+
+
+ org.springframework.boot
+ spring-boot-starter-aop
+
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+
+
+
+
+
diff --git a/spring-boot-sample/spring-boot-sample.iml b/spring-boot-sample/spring-boot-sample.iml
new file mode 100644
index 0000000..28c31b6
--- /dev/null
+++ b/spring-boot-sample/spring-boot-sample.iml
@@ -0,0 +1,134 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/spring-boot-sample/src/main/java/org/springboot/sample/SpringBootSampleApplication.java b/spring-boot-sample/src/main/java/org/springboot/sample/SpringBootSampleApplication.java
new file mode 100644
index 0000000..694c1aa
--- /dev/null
+++ b/spring-boot-sample/src/main/java/org/springboot/sample/SpringBootSampleApplication.java
@@ -0,0 +1,81 @@
+package org.springboot.sample;
+
+import javax.annotation.PostConstruct;
+import javax.sql.DataSource;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springboot.sample.datasource.DynamicDataSourceRegister;
+import org.springboot.sample.servlet.MyServlet;
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.boot.builder.SpringApplicationBuilder;
+import org.springframework.boot.context.embedded.ServletRegistrationBean;
+import org.springframework.boot.context.web.SpringBootServletInitializer;
+import org.springframework.boot.web.servlet.ServletComponentScan;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Import;
+import org.springframework.jdbc.datasource.DataSourceTransactionManager;
+import org.springframework.transaction.PlatformTransactionManager;
+import org.springframework.transaction.annotation.EnableTransactionManagement;
+
+@SpringBootApplication
+@ServletComponentScan
+@EnableTransactionManagement // 支持事务
+@Import(DynamicDataSourceRegister.class) // 注册动态多数据源
+public class SpringBootSampleApplication extends SpringBootServletInitializer {
+
+ private static final Logger logger = LoggerFactory.getLogger(SpringBootSampleApplication.class);
+
+ @Bean
+ public PlatformTransactionManager txManager(DataSource dataSource) {
+ return new DataSourceTransactionManager(dataSource);
+ }
+
+ @Override
+ protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
+ return builder.sources(SpringBootSampleApplication.class);
+ }
+
+ @PostConstruct
+ public void logTest() {
+ logger.debug("日志输出测试 Debug");
+ logger.trace("日志输出测试 Trace");
+ logger.info("日志输出测试 Info");
+ }
+
+ /**
+ * 使用代码注册Servlet(不需要@ServletComponentScan注解)
+ *
+ * @return
+ * @author SHANHY
+ * @create 2016年1月6日
+ */
+ @Bean(name = "test")
+ public ServletRegistrationBean servletRegistrationBean() {
+ return new ServletRegistrationBean(new MyServlet(), "/xs/*");// ServletName默认值为首字母小写,即myServlet
+ }
+
+ /**
+ * 修改DispatcherServlet默认配置
+ *
+ * @param dispatcherServlet
+ * @return
+ * @author SHANHY
+ * @create 2016年1月6日
+ */
+ // @Bean
+ // public ServletRegistrationBean dispatcherRegistration(DispatcherServlet
+ // dispatcherServlet) {
+ // ServletRegistrationBean registration = new
+ // ServletRegistrationBean(dispatcherServlet);
+ // registration.getUrlMappings().clear();
+ // registration.addUrlMappings("*.do");
+ // registration.addUrlMappings("*.json");
+ // return registration;
+ // }
+
+ public static void main(String[] args) {
+ SpringApplication.run(SpringBootSampleApplication.class, args);
+ }
+}
diff --git a/spring-boot-sample/src/main/java/org/springboot/sample/config/MyBatisConfiguration.java b/spring-boot-sample/src/main/java/org/springboot/sample/config/MyBatisConfiguration.java
new file mode 100644
index 0000000..2b8f33f
--- /dev/null
+++ b/spring-boot-sample/src/main/java/org/springboot/sample/config/MyBatisConfiguration.java
@@ -0,0 +1,38 @@
+package org.springboot.sample.config;
+
+import java.util.Properties;
+
+import javax.sql.DataSource;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+
+import com.github.pagehelper.PageHelper;
+
+/**
+ * MyBatis 配置
+ *
+ * @author 单红宇(365384722)
+ * @myblog http://blog.csdn.net/catoop/
+ * @create 2016年1月21日
+ */
+@Configuration
+public class MyBatisConfiguration {
+
+ private static final Logger logger = LoggerFactory.getLogger(MyBatisConfiguration.class);
+
+ @Bean
+ public PageHelper pageHelper(DataSource dataSource) {
+ logger.info("注册MyBatis分页插件PageHelper");
+ PageHelper pageHelper = new PageHelper();
+ Properties p = new Properties();
+ p.setProperty("offsetAsPageNum", "true");
+ p.setProperty("rowBoundsWithCount", "true");
+ p.setProperty("reasonable", "true");
+ pageHelper.setProperties(p);
+ return pageHelper;
+ }
+
+}
diff --git a/spring-boot-sample/src/main/java/org/springboot/sample/config/MyWebAppConfigurer.java b/spring-boot-sample/src/main/java/org/springboot/sample/config/MyWebAppConfigurer.java
new file mode 100644
index 0000000..5e6324b
--- /dev/null
+++ b/spring-boot-sample/src/main/java/org/springboot/sample/config/MyWebAppConfigurer.java
@@ -0,0 +1,67 @@
+package org.springboot.sample.config;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springboot.sample.interceptor.MyInterceptor1;
+import org.springboot.sample.interceptor.MyInterceptor2;
+import org.springframework.beans.factory.annotation.Value;
+import org.springframework.boot.bind.RelaxedPropertyResolver;
+import org.springframework.context.EnvironmentAware;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.core.env.Environment;
+import org.springframework.stereotype.Component;
+import org.springframework.stereotype.Repository;
+import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
+import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
+import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
+
+@Repository
+@Component
+@Configuration
+public class MyWebAppConfigurer
+ extends WebMvcConfigurerAdapter implements EnvironmentAware
+ {
+
+ private static final Logger logger = LoggerFactory.getLogger(MyWebAppConfigurer.class);
+
+ private RelaxedPropertyResolver propertyResolver;
+
+ @Value("${spring.datasource.url}")
+ private String myUrl;
+
+ @Override
+ public void addInterceptors(InterceptorRegistry registry) {
+ // 多个拦截器组成一个拦截器链
+ // addPathPatterns 用于添加拦截规则
+ // excludePathPatterns 用户排除拦截
+ registry.addInterceptor(new MyInterceptor1()).addPathPatterns("/**");
+ registry.addInterceptor(new MyInterceptor2()).addPathPatterns("/**");
+ super.addInterceptors(registry);
+ }
+
+ @Override
+ public void addResourceHandlers(ResourceHandlerRegistry registry) {
+ // 访问myres根目录下的fengjing.jpg 的URL为 http://localhost:8080/myres/fengjing.jpg 不影响Spring Boot的默认的 /** 映射,可以同时使用。
+ registry.addResourceHandler("/myres/**").addResourceLocations("classpath:/myres/");
+ // 访问myres根目录下的fengjing.jpg 的URL为 http://localhost:8080/fengjing.jpg (/** 会覆盖系统默认的配置)
+ // registry.addResourceHandler("/**").addResourceLocations("classpath:/myres/").addResourceLocations("classpath:/static/");
+
+ // 可以直接使用addResourceLocations 指定磁盘绝对路径,同样可以配置多个位置,注意路径写法需要加上file:
+ registry.addResourceHandler("/myimgs/**").addResourceLocations("file:H:/myimgs/");
+ super.addResourceHandlers(registry);
+ }
+
+ /**
+ * 这个方法只是测试实现EnvironmentAware接口,读取环境变量的方法。
+ */
+ @Override
+ public void setEnvironment(Environment env) {
+ logger.info(env.getProperty("JAVA_HOME"));
+ logger.info(myUrl);
+ String str = env.getProperty("spring.datasource.url");
+ logger.info(str);
+ propertyResolver = new RelaxedPropertyResolver(env, "spring.datasource.");
+ String url = propertyResolver.getProperty("url");
+ logger.info(url);
+ }
+}
diff --git a/spring-boot-sample/src/main/java/org/springboot/sample/config/ResourceUrlProviderController.java b/spring-boot-sample/src/main/java/org/springboot/sample/config/ResourceUrlProviderController.java
new file mode 100644
index 0000000..28fe437
--- /dev/null
+++ b/spring-boot-sample/src/main/java/org/springboot/sample/config/ResourceUrlProviderController.java
@@ -0,0 +1,25 @@
+package org.springboot.sample.config;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.ControllerAdvice;
+import org.springframework.web.bind.annotation.ModelAttribute;
+import org.springframework.web.servlet.resource.ResourceUrlProvider;
+
+/**
+ * 处理静态资源URL
+ *
+ * @author 单红宇(365384722)
+ * @myblog http://blog.csdn.net/catoop/
+ * @create 2016年1月8日
+ */
+@ControllerAdvice
+public class ResourceUrlProviderController {
+
+ @Autowired
+ private ResourceUrlProvider resourceUrlProvider;
+
+ @ModelAttribute("urls")
+ public ResourceUrlProvider urls() {
+ return this.resourceUrlProvider;
+ }
+}
diff --git a/spring-boot-sample/src/main/java/org/springboot/sample/config/Shanhy.java b/spring-boot-sample/src/main/java/org/springboot/sample/config/Shanhy.java
new file mode 100644
index 0000000..9a20e1f
--- /dev/null
+++ b/spring-boot-sample/src/main/java/org/springboot/sample/config/Shanhy.java
@@ -0,0 +1,7 @@
+package org.springboot.sample.config;
+
+public interface Shanhy {
+
+ void display();
+
+}
diff --git a/spring-boot-sample/src/main/java/org/springboot/sample/config/ShanhyA.java b/spring-boot-sample/src/main/java/org/springboot/sample/config/ShanhyA.java
new file mode 100644
index 0000000..c0d20f4
--- /dev/null
+++ b/spring-boot-sample/src/main/java/org/springboot/sample/config/ShanhyA.java
@@ -0,0 +1,10 @@
+package org.springboot.sample.config;
+
+public class ShanhyA implements Shanhy {
+
+ @Override
+ public void display() {
+ System.out.println("AAAAAAAAAAAA");
+ }
+
+}
diff --git a/spring-boot-sample/src/main/java/org/springboot/sample/config/ShanhyB.java b/spring-boot-sample/src/main/java/org/springboot/sample/config/ShanhyB.java
new file mode 100644
index 0000000..e5964f6
--- /dev/null
+++ b/spring-boot-sample/src/main/java/org/springboot/sample/config/ShanhyB.java
@@ -0,0 +1,10 @@
+package org.springboot.sample.config;
+
+public class ShanhyB implements Shanhy {
+
+ @Override
+ public void display() {
+ System.out.println("BBBBBBBBBBBB");
+ }
+
+}
diff --git a/spring-boot-sample/src/main/java/org/springboot/sample/config/ShanhyDataSourceProperties.java b/spring-boot-sample/src/main/java/org/springboot/sample/config/ShanhyDataSourceProperties.java
new file mode 100644
index 0000000..260c25a
--- /dev/null
+++ b/spring-boot-sample/src/main/java/org/springboot/sample/config/ShanhyDataSourceProperties.java
@@ -0,0 +1,68 @@
+package org.springboot.sample.config;
+
+import javax.sql.DataSource;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+
+@ConfigurationProperties(prefix = ShanhyDataSourceProperties.PREFIX)
+public class ShanhyDataSourceProperties {
+
+ public static final String PREFIX = "shanhy.datasource";
+
+ private ClassLoader classLoader;
+
+ private String driverClassName;
+ private String url;
+ private String username;
+ private String password;
+ private Class extends DataSource> type;
+
+ public ClassLoader getClassLoader() {
+ return classLoader;
+ }
+
+ public void setClassLoader(ClassLoader classLoader) {
+ this.classLoader = classLoader;
+ }
+
+ public String getDriverClassName() {
+ return driverClassName;
+ }
+
+ public void setDriverClassName(String driverClassName) {
+ this.driverClassName = driverClassName;
+ }
+
+ public String getUrl() {
+ return url;
+ }
+
+ public void setUrl(String url) {
+ this.url = url;
+ }
+
+ public String getUsername() {
+ return username;
+ }
+
+ public void setUsername(String username) {
+ this.username = username;
+ }
+
+ public String getPassword() {
+ return password;
+ }
+
+ public void setPassword(String password) {
+ this.password = password;
+ }
+
+ public Class extends DataSource> getType() {
+ return type;
+ }
+
+ public void setType(Class extends DataSource> type) {
+ this.type = type;
+ }
+
+}
diff --git a/spring-boot-sample/src/main/java/org/springboot/sample/config/ShiroConfiguration.java b/spring-boot-sample/src/main/java/org/springboot/sample/config/ShiroConfiguration.java
new file mode 100644
index 0000000..63a1af8
--- /dev/null
+++ b/spring-boot-sample/src/main/java/org/springboot/sample/config/ShiroConfiguration.java
@@ -0,0 +1,143 @@
+package org.springboot.sample.config;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+
+import org.apache.shiro.cache.ehcache.EhCacheManager;
+import org.apache.shiro.spring.LifecycleBeanPostProcessor;
+import org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor;
+import org.apache.shiro.spring.web.ShiroFilterFactoryBean;
+import org.apache.shiro.web.mgt.DefaultWebSecurityManager;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springboot.sample.dao.IScoreDao;
+import org.springboot.sample.security.MyShiroRealm;
+import org.springframework.aop.framework.autoproxy.DefaultAdvisorAutoProxyCreator;
+import org.springframework.boot.context.embedded.FilterRegistrationBean;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.web.filter.DelegatingFilterProxy;
+
+/**
+ * Shiro 配置
+ *
+ * @author 单红宇(365384722)
+ * @myblog http://blog.csdn.net/catoop/
+ * @create 2016年1月13日
+ */
+@Configuration
+public class ShiroConfiguration {
+
+ private static final Logger logger = LoggerFactory.getLogger(ShiroConfiguration.class);
+
+ @Bean
+ public EhCacheManager getEhCacheManager() {
+ EhCacheManager em = new EhCacheManager();
+ em.setCacheManagerConfigFile("classpath:ehcache-shiro.xml");
+ return em;
+ }
+
+ @Bean(name = "myShiroRealm")
+ public MyShiroRealm myShiroRealm(EhCacheManager cacheManager) {
+ MyShiroRealm realm = new MyShiroRealm();
+ realm.setCacheManager(cacheManager);
+ return realm;
+ }
+
+ /**
+ * 注册DelegatingFilterProxy(Shiro)
+ *
+ * @param dispatcherServlet
+ * @return
+ * @author SHANHY
+ * @create 2016年1月13日
+ */
+ @Bean
+ public FilterRegistrationBean filterRegistrationBean() {
+ FilterRegistrationBean filterRegistration = new FilterRegistrationBean();
+ filterRegistration.setFilter(new DelegatingFilterProxy("shiroFilter"));
+ // 该值缺省为false,表示生命周期由SpringApplicationContext管理,设置为true则表示由ServletContainer管理
+ filterRegistration.addInitParameter("targetFilterLifecycle", "true");
+ filterRegistration.setEnabled(true);
+ filterRegistration.addUrlPatterns("/*");
+ return filterRegistration;
+ }
+
+ @Bean(name = "lifecycleBeanPostProcessor")
+ public LifecycleBeanPostProcessor getLifecycleBeanPostProcessor() {
+ return new LifecycleBeanPostProcessor();
+ }
+
+ @Bean
+ public DefaultAdvisorAutoProxyCreator getDefaultAdvisorAutoProxyCreator() {
+ DefaultAdvisorAutoProxyCreator daap = new DefaultAdvisorAutoProxyCreator();
+ daap.setProxyTargetClass(true);
+ return daap;
+ }
+
+ @Bean(name = "securityManager")
+ public DefaultWebSecurityManager getDefaultWebSecurityManager(MyShiroRealm myShiroRealm) {
+ DefaultWebSecurityManager dwsm = new DefaultWebSecurityManager();
+ dwsm.setRealm(myShiroRealm);
+//
+ dwsm.setCacheManager(getEhCacheManager());
+ return dwsm;
+ }
+
+ @Bean
+ public AuthorizationAttributeSourceAdvisor getAuthorizationAttributeSourceAdvisor(DefaultWebSecurityManager securityManager) {
+ AuthorizationAttributeSourceAdvisor aasa = new AuthorizationAttributeSourceAdvisor();
+ aasa.setSecurityManager(securityManager);
+ return aasa;
+ }
+
+ /**
+ * 加载shiroFilter权限控制规则(从数据库读取然后配置)
+ *
+ * @author SHANHY
+ * @create 2016年1月14日
+ */
+ private void loadShiroFilterChain(ShiroFilterFactoryBean shiroFilterFactoryBean, IScoreDao scoreDao){
+ /////////////////////// 下面这些规则配置最好配置到配置文件中 ///////////////////////
+ Map filterChainDefinitionMap = new LinkedHashMap();
+ // authc:该过滤器下的页面必须验证后才能访问,它是Shiro内置的一个拦截器org.apache.shiro.web.filter.authc.FormAuthenticationFilter
+ filterChainDefinitionMap.put("/user", "authc");// 这里为了测试,只限制/user,实际开发中请修改为具体拦截的请求规则
+ // anon:它对应的过滤器里面是空的,什么都没做
+ logger.info("##################从数据库读取权限规则,加载到shiroFilter中##################");
+ filterChainDefinitionMap.put("/user/edit/**", "authc,perms[user:edit]");// 这里为了测试,固定写死的值,也可以从数据库或其他配置中读取
+
+ filterChainDefinitionMap.put("/login", "anon");
+ filterChainDefinitionMap.put("/**", "anon");//anon 可以理解为不拦截
+
+ shiroFilterFactoryBean.setFilterChainDefinitionMap(filterChainDefinitionMap);
+ }
+
+ /**
+ * ShiroFilter
+ * 注意这里参数中的 StudentService 和 IScoreDao 只是一个例子,因为我们在这里可以用这样的方式获取到相关访问数据库的对象,
+ * 然后读取数据库相关配置,配置到 shiroFilterFactoryBean 的访问规则中。实际项目中,请使用自己的Service来处理业务逻辑。
+ *
+ * @param myShiroRealm
+ * @param stuService
+ * @param scoreDao
+ * @return
+ * @author SHANHY
+ * @create 2016年1月14日
+ */
+ @Bean(name = "shiroFilter")
+ public ShiroFilterFactoryBean getShiroFilterFactoryBean(DefaultWebSecurityManager securityManager, IScoreDao scoreDao) {
+
+ ShiroFilterFactoryBean shiroFilterFactoryBean = new ShiroFilterFactoryBean();
+ // 必须设置 SecurityManager
+ shiroFilterFactoryBean.setSecurityManager(securityManager);
+ // 如果不设置默认会自动寻找Web工程根目录下的"/login.jsp"页面
+ shiroFilterFactoryBean.setLoginUrl("/login");
+ // 登录成功后要跳转的连接
+ shiroFilterFactoryBean.setSuccessUrl("/user");
+ shiroFilterFactoryBean.setUnauthorizedUrl("/403");
+
+ loadShiroFilterChain(shiroFilterFactoryBean, scoreDao);
+ return shiroFilterFactoryBean;
+ }
+
+}
diff --git a/spring-boot-sample/src/main/java/org/springboot/sample/config/WebJarsController.java b/spring-boot-sample/src/main/java/org/springboot/sample/config/WebJarsController.java
new file mode 100644
index 0000000..6393c13
--- /dev/null
+++ b/spring-boot-sample/src/main/java/org/springboot/sample/config/WebJarsController.java
@@ -0,0 +1,42 @@
+package org.springboot.sample.config;
+
+import javax.servlet.http.HttpServletRequest;
+
+import org.springframework.core.io.ClassPathResource;
+import org.springframework.http.HttpStatus;
+import org.springframework.http.ResponseEntity;
+import org.springframework.stereotype.Controller;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.ResponseBody;
+import org.springframework.web.servlet.HandlerMapping;
+import org.webjars.WebJarAssetLocator;
+
+/**
+ * 处理WebJars,自动读取版本号
+ *
+ * @author 单红宇(365384722)
+ * @myblog http://blog.csdn.net/catoop/
+ * @create 2016年1月8日
+ */
+@Controller
+public class WebJarsController {
+
+ private final WebJarAssetLocator assetLocator = new WebJarAssetLocator();
+
+ // org.webjars.AssetLocator.getWebJarPath()
+
+ @ResponseBody
+ @RequestMapping("/webjarslocator/{webjar}/**")
+ public ResponseEntity