(java) springboot集成mybaits,druid报错

/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/bin/java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:54001,suspend=y,server=n -Dfile.encoding=UTF-8 -classpath "/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib/ext/jaccess.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib/ext/jfxrt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib/ext/zipfs.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib/javaws.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib/jfxswt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib/management-agent.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib/plugin.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/lib/ant-javafx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/lib/javafx-mx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/lib/packager.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/lib/tools.jar:/Users/ezreally/myapp/workspace/carambola-root/build/classes/main:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-web/1.3.5.RELEASE/1ad40f8edd1b502fb82bfae3a6feb8be3a2b44fa/spring-boot-starter-web-1.3.5.RELEASE.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter/1.3.5.RELEASE/188c658fabbce0d1ccc1ae18a1cf58f566208c78/spring-boot-starter-1.3.5.RELEASE.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-api/1.7.21/139535a69a4239db087de9bab0bee568bf8e0b70/slf4j-api-1.7.21.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-tomcat/1.3.5.RELEASE/b4c6277ccec38c51716659886efec073c4b386ea/spring-boot-starter-tomcat-1.3.5.RELEASE.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-validation/1.3.5.RELEASE/c83a6cc60a95faace7e03c524d60fc9de1329f57/spring-boot-starter-validation-1.3.5.RELEASE.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-databind/2.6.6/5108dde6049374ba980b360e1ecff49847baba4a/jackson-databind-2.6.6.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.springframework/spring-web/4.2.6.RELEASE/d5ce949da3f3266f118ed899a153413613b503ad/spring-web-4.2.6.RELEASE.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.springframework/spring-webmvc/4.2.6.RELEASE/7c7ea475d33287e0e3a92e98ccbe0ad6a0dbb9ca/spring-webmvc-4.2.6.RELEASE.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot/1.3.5.RELEASE/b218ba5f3bd01e657fbde9b085722da1fafa4f8a/spring-boot-1.3.5.RELEASE.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-autoconfigure/1.3.5.RELEASE/2bcfa86bb3afd95eff5252db6d78f2693b706997/spring-boot-autoconfigure-1.3.5.RELEASE.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-logging/1.3.5.RELEASE/a71e1d7fff512b1eadd3426ea1ce5b4cc703c429/spring-boot-starter-logging-1.3.5.RELEASE.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/4.2.6.RELEASE/a1c6ef01f18888f51fc5054c65ef4787b7cf0a1e/spring-core-4.2.6.RELEASE.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.yaml/snakeyaml/1.16/d64fb662c9e42789149f5078a62a22edda786c6a/snakeyaml-1.16.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-core/8.0.33/4e7f547fbb2c364cb5e02a58790c5fb89e31efed/tomcat-embed-core-8.0.33.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-el/8.0.33/31423f2d493cf1f7cf5f0082c9f94640e93b8c1b/tomcat-embed-el-8.0.33.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-logging-juli/8.0.33/66bc309e0227c1ba2cf4417182d0b1583003d24b/tomcat-embed-logging-juli-8.0.33.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-websocket/8.0.33/be1f95e5d9ae00f9bc6138441d29cfe5c7c60256/tomcat-embed-websocket-8.0.33.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.hibernate/hibernate-validator/5.2.4.Final/fb18766b576aa6632bcfe9a20a023cbd52bf9769/hibernate-validator-5.2.4.Final.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-core/2.6.6/2eb801df67aacaf5b1deb4ac626e1964508e47b/jackson-core-2.6.6.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.springframework/spring-aop/4.2.6.RELEASE/5efbfccb19efda2956b8977561bf4da6b15b0d0e/spring-aop-4.2.6.RELEASE.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.springframework/spring-beans/4.2.6.RELEASE/d4a319fb4d949fb6313f45c929947b9b4e26283e/spring-beans-4.2.6.RELEASE.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.springframework/spring-context/4.2.6.RELEASE/bbf3c8526fe37bb341507f28db17882d4348dbca/spring-context-4.2.6.RELEASE.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.springframework/spring-expression/4.2.6.RELEASE/c0182d73f348ab11d51d45cbe29f3820c32d0ccc/spring-expression-4.2.6.RELEASE.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/ch.qos.logback/logback-classic/1.1.7/9865cf6994f9ff13fce0bf93f2054ef6c65bb462/logback-classic-1.1.7.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.slf4j/jcl-over-slf4j/1.7.21/331b564a3a42f002a0004b039c1c430da89062cd/jcl-over-slf4j-1.7.21.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.slf4j/jul-to-slf4j/1.7.21/2f22c882ffa479d1e9ff4eb0e8e2c29f2a0871ed/jul-to-slf4j-1.7.21.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.slf4j/log4j-over-slf4j/1.7.21/b3700d97464d99bdcd42c0177d6e7951c94d75ff/log4j-over-slf4j-1.7.21.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/javax.validation/validation-api/1.1.0.Final/8613ae82954779d518631e05daa73a6a954817d5/validation-api-1.1.0.Final.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/com.fasterxml/classmate/1.1.0/dbbd699a1486ad0f2ed6f5af6cfed66acacb9056/classmate-1.1.0.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/aopalliance/aopalliance/1.0/235ba8b489512805ac13a8f9ea77a1ca5ebe3e8/aopalliance-1.0.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/ch.qos.logback/logback-core/1.1.7/7873092d39ef741575ca91378a6a21c388363ac8/logback-core-1.1.7.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-annotations/2.6.6/7ef6440e71531604aa44a5eb62d4b466ffbf7e8f/jackson-annotations-2.6.6.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.jboss.logging/jboss-logging/3.3.0.Final/3616bb87707910296e2c195dc016287080bba5af/jboss-logging-3.3.0.Final.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-devtools/1.3.5.RELEASE/ab035bdc1e6297ff4c8676edd93ed307b11353c2/spring-boot-devtools-1.3.5.RELEASE.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-util/9.2.16.v20160414/e0accd393d4f2db45d39ebe14265301408b29fb6/jetty-util-9.2.16.v20160414.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-jetty/1.3.5.RELEASE/f983675acbd127a4a57ebbb98531186677b7fa0/spring-boot-starter-jetty-1.3.5.RELEASE.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-io/9.2.16.v20160414/21b9bd4a4d9e497e5089d351e9256c885563888b/jetty-io-9.2.16.v20160414.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-continuation/9.2.16.v20160414/323906b532d0c95fc1179f6a0e9261931f8964b/jetty-continuation-9.2.16.v20160414.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-http/9.2.16.v20160414/5ce0c06170f0c75d1070b61fbe08a828b036bd9f/jetty-http-9.2.16.v20160414.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-xml/9.2.16.v20160414/6994c7b4ca958d6367111a366f5359a9d52c0a55/jetty-xml-9.2.16.v20160414.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-servlet/9.2.16.v20160414/52339976d717c62a0900b973cb79df64884104dd/jetty-servlet-9.2.16.v20160414.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty.websocket/websocket-common/9.2.16.v20160414/7ae2933fbb2f1d63bfbfd7ff922f43777c918d15/websocket-common-9.2.16.v20160414.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty.websocket/websocket-client/9.2.16.v20160414/ea0ac66b842c2c496f45dd2445cc8c9a16b7c041/websocket-client-9.2.16.v20160414.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-servlets/9.2.16.v20160414/bb559defc328b82f685d8efc3178c9e2695a5fa/jetty-servlets-9.2.16.v20160414.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-webapp/9.2.16.v20160414/76804537c9f8979428c502944450c199ee6727d7/jetty-webapp-9.2.16.v20160414.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty.websocket/websocket-servlet/9.2.16.v20160414/c71d7fa3cfa9a7b31c6b7c420109c2ffd765c39f/websocket-servlet-9.2.16.v20160414.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-annotations/9.2.16.v20160414/e599ae02af707e2f293a089f1dced4c3ee3c663b/jetty-annotations-9.2.16.v20160414.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty.websocket/websocket-server/9.2.16.v20160414/19cdf46df5166811d7f039b958552b54de18f9e8/websocket-server-9.2.16.v20160414.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty.websocket/javax-websocket-client-impl/9.2.16.v20160414/76b8ad21e1120e65296bd09eb75acaa801666f5b/javax-websocket-client-impl-9.2.16.v20160414.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/javax.websocket/javax.websocket-api/1.0/fc843b649d4a1dcb0497669d262befa3918c7ba8/javax.websocket-api-1.0.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty.websocket/javax-websocket-server-impl/9.2.16.v20160414/616f59af98cf0de159cc6e9c9f0fe934cbf1fd0a/javax-websocket-server-impl-9.2.16.v20160414.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-security/9.2.16.v20160414/35e84df5e9c8cc44d37ae5af70a6f88e2a28f8e5/jetty-security-9.2.16.v20160414.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty.websocket/websocket-api/9.2.16.v20160414/5c192c14e323fb06bc5e2bde53aaea66f2156184/websocket-api-9.2.16.v20160414.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/javax.servlet/javax.servlet-api/3.1.0/3cd63d075497751784b2fa84be59432f4905bf7c/javax.servlet-api-3.1.0.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-plus/9.2.16.v20160414/6f2e9d0a273f498bc2daa140b22717defe51d240/jetty-plus-9.2.16.v20160414.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/javax.annotation/javax.annotation-api/1.2/479c1e06db31c432330183f5cae684163f186146/javax.annotation-api-1.2.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.ow2.asm/asm/5.0.1/2fd56467a018aafe6ec6a73ccba520be4a7e1565/asm-5.0.1.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.ow2.asm/asm-commons/5.0.1/7b7147a390a93a14d2edfdcf3f7b0e87a0939c3e/asm-commons-5.0.1.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-server/9.2.16.v20160414/1e06dc26387067ee84a6f19f1bf03a4fe6c411a5/jetty-server-9.2.16.v20160414.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-jndi/9.2.16.v20160414/84935fe9befa6e6aee05534a7d46ea6933687c09/jetty-jndi-9.2.16.v20160414.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.ow2.asm/asm-tree/5.0.1/1b1e6e9d869acd704056d0a4223071a511c619e6/asm-tree-5.0.1.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/mysql/mysql-connector-java/5.1.6/380ef5226de2c85ff3b38cbfefeea881c5fce09d/mysql-connector-java-5.1.6.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/com.alibaba/druid/1.0.18/9e4da3cbebad34c9eb3900ef9dc30cb4a60cffe0/druid-1.0.18.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.mybatis/mybatis-spring/1.2.3/18f0297b83960f280bacd68e87f9d374813e099e/mybatis-spring-1.2.3.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/com.github.pagehelper/pagehelper/4.1.1/6aa72204debcda5a05215115daa91364394236b4/pagehelper-4.1.1.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/com.github.jsqlparser/jsqlparser/0.9.4/d119e16701c8331eac4345579506b31abb1da791/jsqlparser-0.9.4.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.mybatis/mybatis/3.3.0/7c0e3582a1518b6d8e4e37ce2fc49b7bb6f2040f/mybatis-3.3.0.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/tk.mybatis/mapper/3.3.4/f0d2c8a989711a1a33002031c14ea1fea1710d8d/mapper-3.3.4.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/javax.persistence/persistence-api/1.0/5725f57873e05e068803e2bf9d5a8ea3740ffec5/persistence-api-1.0.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-jdbc/1.3.5.RELEASE/b427aa14a4f3a2fba114bcbb60eae6f83ee86706/spring-boot-starter-jdbc-1.3.5.RELEASE.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.apache.tomcat/tomcat-jdbc/8.0.33/7f1b6d609f9c2e045e8d7759e96605841fffdf82/tomcat-jdbc-8.0.33.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.springframework/spring-jdbc/4.2.6.RELEASE/16075bfb0901a5b89c5be975365ff09b2df04abb/spring-jdbc-4.2.6.RELEASE.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.apache.tomcat/tomcat-juli/8.0.33/330aecfa895156cea91c576cb6609537152761f9/tomcat-juli-8.0.33.jar:/Users/ezreally/.gradle/caches/modules-2/files-2.1/org.springframework/spring-tx/4.2.6.RELEASE/ba7502c0644414748b1eeb65b4193b05d335a110/spring-tx-4.2.6.RELEASE.jar:/Applications/IntelliJ IDEA 15.app/Contents/lib/idea_rt.jar" me.carambola.blog.Application --spring.output.ansi.enabled=always
Connected to the target VM, address: 127.0.0.1:54001, transport: socket . ____ _ __ _ _ /\ / ____ __ _ ___ __ __ _ \___ | _ | _| | _ / _` | \/ ___| |_| | | | | || _| | |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: v1.3.5.RELEASE 2016-05-28 11:47:36.390 INFO 834 --- [ restartedMain] me.carambola.blog.Application : Starting Application on ezreallys-MacBook-Pro.local with PID 834 /Users/ezreally/myapp/workspace/carambola-root/build/classes/main started by ezreally in /Users/ezreally/myapp/workspace/carambola-root
2016-05-28 11:47:36.394 DEBUG 834 --- [ restartedMain] me.carambola.blog.Application : Running with Spring Boot v1.3.5.RELEASE, Spring v4.2.6.RELEASE
2016-05-28 11:47:36.395 INFO 834 --- [ restartedMain] me.carambola.blog.Application : No active profile set, falling back to default profiles: default
2016-05-28 11:47:36.499 INFO 834 --- [ restartedMain] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@14b3374c: startup date [Sat May 28 11:47:36 CST 2016]; root of context hierarchy
2016-05-28 11:47:38.055 WARN 834 --- [ restartedMain] o.s.c.a.ConfigurationClassPostProcessor : Cannot enhance @Configuration bean definition myBatisMapperScannerConfig since its singleton instance has been created too early. The typical cause is a non-static @Bean method with a BeanDefinitionRegistryPostProcessor return type: Consider declaring such methods as static.
2016-05-28 11:47:38.860 INFO 834 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean spring.datasource.CONFIGURATION_PROPERTIES of type [class org.springframework.boot.autoconfigure.jdbc.DataSourceProperties] is not eligible for getting processed by all BeanPostProcessors for example: not eligible for auto-proxying
2016-05-28 11:47:38.861 INFO 834 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$NonEmbeddedConfiguration of type [class org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$NonEmbeddedConfiguration] is not eligible for getting processed by all BeanPostProcessors for example: not eligible for auto-proxying
2016-05-28 11:47:41.029 INFO 834 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean dataSource of type [class com.alibaba.druid.pool.DruidDataSource] is not eligible for getting processed by all BeanPostProcessors for example: not eligible for auto-proxying
2016-05-28 11:47:41.031 INFO 834 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean myBatisConfig of type [class me.carambola.blog.configure.MyBatisConfig$$EnhancerBySpringCGLIB$$91f9f161] is not eligible for getting processed by all BeanPostProcessors for example: not eligible for auto-proxying
2016-05-28 11:47:41.296 INFO 834 --- [ restartedMain] 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-05-28 11:47:41.444 INFO 834 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean userMapper of type [class tk.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors for example: not eligible for auto-proxying
2016-05-28 11:47:41.477 INFO 834 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean annotationDrivenTransactionManager of type [class org.springframework.jdbc.datasource.DataSourceTransactionManager] is not eligible for getting processed by all BeanPostProcessors for example: not eligible for auto-proxying
2016-05-28 11:47:41.479 INFO 834 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$b0f43739] is not eligible for getting processed by all BeanPostProcessors for example: not eligible for auto-proxying
2016-05-28 11:47:41.882 INFO 834 --- [ restartedMain] e.j.JettyEmbeddedServletContainerFactory : Server initialized with port: 8080
2016-05-28 11:47:41.886 INFO 834 --- [ restartedMain] org.eclipse.jetty.server.Server : jetty-9.2.16.v20160414
2016-05-28 11:47:42.050 INFO 834 --- [ restartedMain] application : Initializing Spring embedded WebApplicationContext
2016-05-28 11:47:42.051 INFO 834 --- [ restartedMain] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 5561 ms
2016-05-28 11:47:42.974 INFO 834 --- [ restartedMain] o.s.b.c.e.ServletRegistrationBean : Mapping servlet: dispatcherServlet to [/]
2016-05-28 11:47:42.979 INFO 834 --- [ restartedMain] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: characterEncodingFilter to: [/*]
2016-05-28 11:47:42.979 INFO 834 --- [ restartedMain] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: hiddenHttpMethodFilter to: [/*]
2016-05-28 11:47:42.979 INFO 834 --- [ restartedMain] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: httpPutFormContentFilter to: [/*]
2016-05-28 11:47:42.980 INFO 834 --- [ restartedMain] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: requestContextFilter to: [/*]
2016-05-28 11:47:43.450 INFO 834 --- [ restartedMain] o.e.jetty.server.handler.ContextHandler : Started o.s.b.c.e.j.JettyEmbeddedWebAppContext@5dba0e93{/,file:/private/var/folders/cl/p7tp25rn52z0wcgq4fhtnfcc0000gn/T/jetty-docbase.2218403185591813960.8080/,AVAILABLE}
2016-05-28 11:47:43.451 INFO 834 --- [ restartedMain] org.eclipse.jetty.server.Server : Started @9625ms
2016-05-28 11:47:43.781 INFO 834 --- [ restartedMain] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@14b3374c: startup date [Sat May 28 11:47:36 CST 2016]; root of context hierarchy
2016-05-28 11:47:43.995 INFO 834 --- [ restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.errorjavax.servlet.http.HttpServletRequest
2016-05-28 11:47:43.996 INFO 834 --- [ restartedMain] 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.errorHtmljavax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse
2016-05-28 11:47:44.069 INFO 834 --- [ restartedMain] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-05-28 11:47:44.069 INFO 834 --- [ restartedMain] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-05-28 11:47:44.135 INFO 834 --- [ restartedMain] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-05-28 11:47:44.446 INFO 834 --- [ restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729
2016-05-28 11:47:44.625 INFO 834 --- [ restartedMain] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup
2016-05-28 11:47:44.627 INFO 834 --- [ restartedMain] o.s.j.e.a.AnnotationMBeanExporter : Bean with name dataSource has been autodetected for JMX exposure
2016-05-28 11:47:44.639 INFO 834 --- [ restartedMain] o.s.j.e.a.AnnotationMBeanExporter : Located MBean dataSource: registering with JMX server as MBean [com.alibaba.druid.pool:name=dataSource,type=DruidDataSource]
2016-05-28 11:47:44.664 INFO 834 --- [ restartedMain] application : Initializing Spring FrameworkServlet dispatcherServlet
2016-05-28 11:47:44.664 INFO 834 --- [ restartedMain] o.s.web.servlet.DispatcherServlet : FrameworkServlet dispatcherServlet: initialization started
2016-05-28 11:47:44.690 INFO 834 --- [ restartedMain] o.s.web.servlet.DispatcherServlet : FrameworkServlet dispatcherServlet: initialization completed in 26 ms
2016-05-28 11:47:44.726 INFO 834 --- [ restartedMain] o.eclipse.jetty.server.ServerConnector : Started ServerConnector@1b9bd64c{HTTP/1.1}{0.0.0.0:8080}
2016-05-28 11:47:44.729 INFO 834 --- [ restartedMain] .s.b.c.e.j.JettyEmbeddedServletContainer : Jetty started on ports 8080 http/1.1
2016-05-28 11:47:44.734 INFO 834 --- [ restartedMain] me.carambola.blog.Application : -----------------run success!-----------------
2016-05-28 11:47:44.792 WARN 834 --- [ restartedMain] c.a.d.p.v.MySqlValidConnectionChecker : Cannot resolve com.mysq.jdbc.Connection.ping method. Will use SELECT 1 instead. java.lang.NullPointerException: null at com.alibaba.druid.pool.vendor.MySqlValidConnectionChecker.<init>MySqlValidConnectionChecker.java:50 ~[druid-1.0.18.jar:1.0.18] at com.alibaba.druid.pool.DruidDataSource.initValidConnectionCheckerDruidDataSource.java:944 [druid-1.0.18.jar:1.0.18] at com.alibaba.druid.pool.DruidDataSource.initDruidDataSource.java:659 [druid-1.0.18.jar:1.0.18] at com.alibaba.druid.pool.DruidDataSource.getConnectionDruidDataSource.java:986 [druid-1.0.18.jar:1.0.18] at com.alibaba.druid.pool.DruidDataSource.getConnectionDruidDataSource.java:982 [druid-1.0.18.jar:1.0.18] at com.alibaba.druid.pool.DruidDataSource.getConnectionDruidDataSource.java:102 [druid-1.0.18.jar:1.0.18] at com.github.pagehelper.PageHelper.getUrlPageHelper.java:281 [pagehelper-4.1.1.jar:na] at com.github.pagehelper.PageHelper.getSqlUtilPageHelper.java:305 [pagehelper-4.1.1.jar:na] at com.github.pagehelper.PageHelper.initSqlUtilPageHelper.java:263 [pagehelper-4.1.1.jar:na] at com.github.pagehelper.PageHelper.interceptPageHelper.java:250 [pagehelper-4.1.1.jar:na] at org.apache.ibatis.plugin.Plugin.invokePlugin.java:61 [mybatis-3.3.0.jar:3.3.0] at com.sun.proxy.$Proxy69.queryUnknown Source [na:na] at org.apache.ibatis.session.defaults.DefaultSqlSession.selectListDefaultSqlSession.java:120 [mybatis-3.3.0.jar:3.3.0] at org.apache.ibatis.session.defaults.DefaultSqlSession.selectListDefaultSqlSession.java:113 [mybatis-3.3.0.jar:3.3.0] at sun.reflect.NativeMethodAccessorImpl.invoke0Native Method ~[na:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invokeNativeMethodAccessorImpl.java:62 ~[na:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invokeDelegatingMethodAccessorImpl.java:43 ~[na:1.8.0_91] at java.lang.reflect.Method.invokeMethod.java:498 ~[na:1.8.0_91] at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invokeSqlSessionTemplate.java:386 [mybatis-spring-1.2.3.jar:1.2.3] at com.sun.proxy.$Proxy41.selectListUnknown Source [na:na] at org.mybatis.spring.SqlSessionTemplate.selectListSqlSessionTemplate.java:205 [mybatis-spring-1.2.3.jar:1.2.3] at org.apache.ibatis.binding.MapperMethod.executeForManyMapperMethod.java:122 [mybatis-3.3.0.jar:3.3.0] at org.apache.ibatis.binding.MapperMethod.executeMapperMethod.java:64 [mybatis-3.3.0.jar:3.3.0] at org.apache.ibatis.binding.MapperProxy.invokeMapperProxy.java:53 [mybatis-3.3.0.jar:3.3.0] at com.sun.proxy.$Proxy54.selectAllUnknown Source [na:na] at me.carambola.blog.Application.runApplication.java:33 [main/:na] at org.springframework.boot.SpringApplication.callRunnerSpringApplication.java:806 [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE] at org.springframework.boot.SpringApplication.callRunnersSpringApplication.java:790 [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE] at org.springframework.boot.SpringApplication.afterRefreshSpringApplication.java:777 [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE] at org.springframework.boot.SpringApplication.runSpringApplication.java:308 [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE] at org.springframework.boot.SpringApplication.runSpringApplication.java:1191 [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE] at org.springframework.boot.SpringApplication.runSpringApplication.java:1180 [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE] at me.carambola.blog.Application.mainApplication.java:27 [main/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0Native Method ~[na:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invokeNativeMethodAccessorImpl.java:62 ~[na:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invokeDelegatingMethodAccessorImpl.java:43 ~[na:1.8.0_91] at java.lang.reflect.Method.invokeMethod.java:498 ~[na:1.8.0_91] at org.springframework.boot.devtools.restart.RestartLauncher.runRestartLauncher.java:49 [spring-boot-devtools-1.3.5.RELEASE.jar:1.3.5.RELEASE] 2016-05-28 11:47:45.077 INFO 834 --- [ restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited
2016-05-28 11:47:45.100 DEBUG 834 --- [ restartedMain] m.c.blog.mapper.UserMapper.selectAll : ==> Preparing: SELECT id,username FROM user 2016-05-28 11:47:45.123 DEBUG 834 --- [ restartedMain] m.c.blog.mapper.UserMapper.selectAll : ==> Parameters: 2016-05-28 11:47:45.142 DEBUG 834 --- [ restartedMain] m.c.blog.mapper.UserMapper.selectAll : <== Total: 1
2016-05-28 11:47:45.142 DEBUG 834 --- [ restartedMain] c.a.druid.pool.PreparedStatementPool : {conn-10001, pstmt-20001} enter cache
2016-05-28 11:47:45.143 ERROR 834 --- [ restartedMain] o.s.boot.SpringApplication : Application startup failed java.lang.IllegalStateException: Failed to execute CommandLineRunner at org.springframework.boot.SpringApplication.callRunnerSpringApplication.java:809 [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE] at org.springframework.boot.SpringApplication.callRunnersSpringApplication.java:790 [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE] at org.springframework.boot.SpringApplication.afterRefreshSpringApplication.java:777 [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE] at org.springframework.boot.SpringApplication.runSpringApplication.java:308 [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE] at org.springframework.boot.SpringApplication.runSpringApplication.java:1191 [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE] at org.springframework.boot.SpringApplication.runSpringApplication.java:1180 [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE] at me.carambola.blog.Application.mainApplication.java:27 [main/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0Native Method ~[na:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invokeNativeMethodAccessorImpl.java:62 ~[na:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invokeDelegatingMethodAccessorImpl.java:43 ~[na:1.8.0_91] at java.lang.reflect.Method.invokeMethod.java:498 ~[na:1.8.0_91] at org.springframework.boot.devtools.restart.RestartLauncher.runRestartLauncher.java:49 [spring-boot-devtools-1.3.5.RELEASE.jar:1.3.5.RELEASE]
Caused by: java.lang.ClassCastException: me.carambola.blog.entity.User cannot be cast to me.carambola.blog.entity.User at me.carambola.blog.Application.runApplication.java:34 [main/:na] at org.springframework.boot.SpringApplication.callRunnerSpringApplication.java:806 [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE] ... 11 common frames omitted 2016-05-28 11:47:45.147 INFO 834 --- [ restartedMain] .b.l.ClasspathLoggingApplicationListener : Application failed to start with classpath: [file:/Users/ezreally/myapp/workspace/carambola-root/build/classes/main/]
2016-05-28 11:47:45.147 INFO 834 --- [ restartedMain] utoConfigurationReportLoggingInitializer : Error starting ApplicationContext. To display the auto-configuration report enable debug logging start with --debug 2016-05-28 11:47:45.147 INFO 834 --- [ restartedMain] ationConfigEmbeddedWebApplicationContext : Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@14b3374c: startup date [Sat May 28 11:47:36 CST 2016]; root of context hierarchy
2016-05-28 11:47:45.150 INFO 834 --- [ restartedMain] o.s.j.e.a.AnnotationMBeanExporter : Unregistering JMX-exposed beans on shutdown
2016-05-28 11:47:45.151 INFO 834 --- [ restartedMain] o.s.j.e.a.AnnotationMBeanExporter : Unregistering JMX-exposed beans
2016-05-28 11:47:45.152 WARN 834 --- [ restartedMain] 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-05-28 11:47:45.153 DEBUG 834 --- [ restartedMain] c.a.druid.pool.PreparedStatementPool : {conn-10001, pstmt-20001} exit cache
2016-05-28 11:47:45.156 INFO 834 --- [ restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed
2016-05-28 11:47:45.168 INFO 834 --- [ restartedMain] o.eclipse.jetty.server.ServerConnector : Stopped ServerConnector@1b9bd64c{HTTP/1.1}{0.0.0.0:8080}
2016-05-28 11:47:45.171 INFO 834 --- [ restartedMain] application : Destroying Spring FrameworkServlet dispatcherServlet
2016-05-28 11:47:45.171 INFO 834 --- [ restartedMain] o.e.jetty.server.handler.ContextHandler : Stopped o.s.b.c.e.j.JettyEmbeddedWebAppContext@5dba0e93{/,file:/private/var/folders/cl/p7tp25rn52z0wcgq4fhtnfcc0000gn/T/jetty-docbase.2218403185591813960.8080/,UNAVAILABLE}
Disconnected from the target VM, address: 127.0.0.1:54001, transport: socket Process finished with exit code 1

这个问题已被关闭,原因:无法获得确切结果的问题

发表评论

电子邮件地址不会被公开。 必填项已用*标注