springboot mybatis Java.lang.ClassCastException

shenzhen_zsw發表於2018-07-21

參考

專案使用spring boot 整合mybatis通用mapper外掛,發現查詢方法selectOne

會導致發生異常—— Java.lang.ClassCastException:com.xxx.xxx.entity cannot be cast to com.xxx.xxx.entity

 

增刪改都沒問題 只有查詢報錯

 

解決方法如下:

建立目錄

  resource

    META-INF

      spring-devtools.properties 

 

加入以下程式碼

restart.include.companycommonlibs=tk/mybatis.*

 

相關文章

https://blog.csdn.net/isea533/article/details/70495714

 

 

我的問題類似

 

處理方法

restart.exclude.pig-common=/pig-common/target/classes/

說明:

    1)修改當前工程,不需要重新載入當前工程依賴的專案,所以在此配出掉;

    2)為啥路徑這樣設定呢,我是根據專案啟動日誌

"C:\Program Files\Java\jdk1.8.0_181\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:52149,suspend=y,server=n -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=52148 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=localhost -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -javaagent:D:\IDEA\lib\rt\debugger-agent.jar=file:/C:/Users/shangwu/AppData/Local/Temp/capture.props -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\jdk1.8.0_181\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\rt.jar;D:\Development\pig\code\pig\pig-modules\pig-upms-service\target\classes;D:\Development\pig\code\pig\pig-common\target\classes;D:\Java\MavenlRepository\repo\io\jsonwebtoken\jjwt\0.9.0\jjwt-0.9.0.jar;D:\Java\MavenlRepository\repo\org\springframework\boot\spring-boot-starter-data-redis\1.5.12.RELEASE\spring-boot-starter-data-redis-1.5.12.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\data\spring-data-redis\1.8.11.RELEASE\spring-data-redis-1.8.11.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\data\spring-data-keyvalue\1.2.11.RELEASE\spring-data-keyvalue-1.2.11.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\data\spring-data-commons\1.13.11.RELEASE\spring-data-commons-1.13.11.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\spring-tx\4.3.16.RELEASE\spring-tx-4.3.16.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\spring-oxm\4.3.16.RELEASE\spring-oxm-4.3.16.RELEASE.jar;D:\Java\MavenlRepository\repo\org\slf4j\jcl-over-slf4j\1.7.25\jcl-over-slf4j-1.7.25.jar;D:\Java\MavenlRepository\repo\redis\clients\jedis\2.9.0\jedis-2.9.0.jar;D:\Java\MavenlRepository\repo\org\apache\commons\commons-pool2\2.4.3\commons-pool2-2.4.3.jar;D:\Java\MavenlRepository\repo\org\springframework\boot\spring-boot-starter-cache\1.5.12.RELEASE\spring-boot-starter-cache-1.5.12.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\spring-context\4.3.16.RELEASE\spring-context-4.3.16.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\spring-beans\4.3.16.RELEASE\spring-beans-4.3.16.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\spring-expression\4.3.16.RELEASE\spring-expression-4.3.16.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\spring-context-support\4.3.16.RELEASE\spring-context-support-4.3.16.RELEASE.jar;D:\Java\MavenlRepository\repo\com\alibaba\fastjson\1.2.46\fastjson-1.2.46.jar;D:\Java\MavenlRepository\repo\com\xiaoleilu\hutool-all\3.3.2\hutool-all-3.3.2.jar;D:\Java\MavenlRepository\repo\commons-io\commons-io\2.5\commons-io-2.5.jar;D:\Java\MavenlRepository\repo\com\github\ulisesbocchio\jasypt-spring-boot-starter\1.18\jasypt-spring-boot-starter-1.18.jar;D:\Java\MavenlRepository\repo\com\github\ulisesbocchio\jasypt-spring-boot\1.18\jasypt-spring-boot-1.18.jar;D:\Java\MavenlRepository\repo\org\jasypt\jasypt\1.9.2\jasypt-1.9.2.jar;D:\Java\MavenlRepository\repo\com\baomidou\mybatis-plus\2.1.9\mybatis-plus-2.1.9.jar;D:\Java\MavenlRepository\repo\com\baomidou\mybatis-plus-support\2.1.9\mybatis-plus-support-2.1.9.jar;D:\Java\MavenlRepository\repo\org\mybatis\mybatis-spring\1.3.1\mybatis-spring-1.3.1.jar;D:\Java\MavenlRepository\repo\org\mybatis\mybatis\3.4.5\mybatis-3.4.5.jar;D:\Java\MavenlRepository\repo\com\baomidou\mybatis-plus-core\2.1.9\mybatis-plus-core-2.1.9.jar;D:\Java\MavenlRepository\repo\com\github\jsqlparser\jsqlparser\1.1\jsqlparser-1.1.jar;D:\Java\MavenlRepository\repo\com\baomidou\mybatis-plus-generate\2.1.9\mybatis-plus-generate-2.1.9.jar;D:\Java\MavenlRepository\repo\org\freemarker\freemarker\2.3.28\freemarker-2.3.28.jar;D:\Java\MavenlRepository\repo\org\springframework\retry\spring-retry\1.2.2.RELEASE\spring-retry-1.2.2.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\boot\spring-boot-starter-aop\1.5.12.RELEASE\spring-boot-starter-aop-1.5.12.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\spring-aop\4.3.16.RELEASE\spring-aop-4.3.16.RELEASE.jar;D:\Java\MavenlRepository\repo\org\aspectj\aspectjweaver\1.8.13\aspectjweaver-1.8.13.jar;D:\Java\MavenlRepository\repo\org\hibernate\hibernate-validator\5.4.1.Final\hibernate-validator-5.4.1.Final.jar;D:\Java\MavenlRepository\repo\javax\validation\validation-api\1.1.0.Final\validation-api-1.1.0.Final.jar;D:\Java\MavenlRepository\repo\org\jboss\logging\jboss-logging\3.3.2.Final\jboss-logging-3.3.2.Final.jar;D:\Java\MavenlRepository\repo\com\fasterxml\classmate\1.3.4\classmate-1.3.4.jar;D:\Java\MavenlRepository\repo\io\github\openfeign\feign-okhttp\9.5.0\feign-okhttp-9.5.0.jar;D:\Java\MavenlRepository\repo\io\github\openfeign\feign-core\9.5.0\feign-core-9.5.0.jar;D:\Java\MavenlRepository\repo\org\jvnet\animal-sniffer-annotation\1.0\animal-sniffer-annotation-1.0.jar;D:\Java\MavenlRepository\repo\io\springfox\springfox-swagger2\2.8.0\springfox-swagger2-2.8.0.jar;D:\Java\MavenlRepository\repo\io\swagger\swagger-annotations\1.5.14\swagger-annotations-1.5.14.jar;D:\Java\MavenlRepository\repo\io\swagger\swagger-models\1.5.14\swagger-models-1.5.14.jar;D:\Java\MavenlRepository\repo\io\springfox\springfox-spi\2.8.0\springfox-spi-2.8.0.jar;D:\Java\MavenlRepository\repo\io\springfox\springfox-core\2.8.0\springfox-core-2.8.0.jar;D:\Java\MavenlRepository\repo\net\bytebuddy\byte-buddy\1.7.9\byte-buddy-1.7.9.jar;D:\Java\MavenlRepository\repo\io\springfox\springfox-schema\2.8.0\springfox-schema-2.8.0.jar;D:\Java\MavenlRepository\repo\io\springfox\springfox-swagger-common\2.8.0\springfox-swagger-common-2.8.0.jar;D:\Java\MavenlRepository\repo\io\springfox\springfox-spring-web\2.8.0\springfox-spring-web-2.8.0.jar;D:\Java\MavenlRepository\repo\org\reflections\reflections\0.9.11\reflections-0.9.11.jar;D:\Java\MavenlRepository\repo\org\javassist\javassist\3.21.0-GA\javassist-3.21.0-GA.jar;D:\Java\MavenlRepository\repo\com\google\guava\guava\20.0\guava-20.0.jar;D:\Java\MavenlRepository\repo\org\springframework\plugin\spring-plugin-core\1.2.0.RELEASE\spring-plugin-core-1.2.0.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\plugin\spring-plugin-metadata\1.2.0.RELEASE\spring-plugin-metadata-1.2.0.RELEASE.jar;D:\Java\MavenlRepository\repo\org\mapstruct\mapstruct\1.2.0.Final\mapstruct-1.2.0.Final.jar;D:\Java\MavenlRepository\repo\com\luhuiguo\fastdfs-spring-boot-starter\0.2.0\fastdfs-spring-boot-starter-0.2.0.jar;D:\Java\MavenlRepository\repo\com\luhuiguo\fastdfs-client\0.4.0\fastdfs-client-0.4.0.jar;D:\Java\MavenlRepository\repo\ch\qos\logback\logback-classic\1.1.11\logback-classic-1.1.11.jar;D:\Java\MavenlRepository\repo\ch\qos\logback\logback-core\1.1.11\logback-core-1.1.11.jar;D:\Java\MavenlRepository\repo\commons-beanutils\commons-beanutils\1.9.3\commons-beanutils-1.9.3.jar;D:\Java\MavenlRepository\repo\com\alibaba\transmittable-thread-local\2.2.0\transmittable-thread-local-2.2.0.jar;D:\Java\MavenlRepository\repo\org\springframework\cloud\spring-cloud-starter-bus-amqp\1.3.3.RELEASE\spring-cloud-starter-bus-amqp-1.3.3.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\cloud\spring-cloud-starter-stream-rabbit\1.3.3.RELEASE\spring-cloud-starter-stream-rabbit-1.3.3.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\cloud\spring-cloud-stream-binder-rabbit\1.3.3.RELEASE\spring-cloud-stream-binder-rabbit-1.3.3.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\cloud\spring-cloud-stream-binder-rabbit-core\1.3.3.RELEASE\spring-cloud-stream-binder-rabbit-core-1.3.3.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\cloud\spring-cloud-stream-codec\1.3.2.RELEASE\spring-cloud-stream-codec-1.3.2.RELEASE.jar;D:\Java\MavenlRepository\repo\com\esotericsoftware\kryo-shaded\3.0.3\kryo-shaded-3.0.3.jar;D:\Java\MavenlRepository\repo\com\esotericsoftware\minlog\1.3.0\minlog-1.3.0.jar;D:\Java\MavenlRepository\repo\org\springframework\boot\spring-boot-starter-amqp\1.5.12.RELEASE\spring-boot-starter-amqp-1.5.12.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\amqp\spring-rabbit\1.7.7.RELEASE\spring-rabbit-1.7.7.RELEASE.jar;D:\Java\MavenlRepository\repo\com\rabbitmq\http-client\1.1.1.RELEASE\http-client-1.1.1.RELEASE.jar;D:\Java\MavenlRepository\repo\com\rabbitmq\amqp-client\4.0.3\amqp-client-4.0.3.jar;D:\Java\MavenlRepository\repo\org\springframework\amqp\spring-amqp\1.7.7.RELEASE\spring-amqp-1.7.7.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\integration\spring-integration-amqp\4.3.15.RELEASE\spring-integration-amqp-4.3.15.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\cloud\spring-cloud-bus\1.3.3.RELEASE\spring-cloud-bus-1.3.3.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\cloud\spring-cloud-stream\1.3.2.RELEASE\spring-cloud-stream-1.3.2.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\boot\spring-boot-starter-validation\1.5.12.RELEASE\spring-boot-starter-validation-1.5.12.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\spring-messaging\4.3.16.RELEASE\spring-messaging-4.3.16.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\integration\spring-integration-jmx\4.3.15.RELEASE\spring-integration-jmx-4.3.15.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\spring-tuple\1.0.0.RELEASE\spring-tuple-1.0.0.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\integration\spring-integration-tuple\1.0.0.RELEASE\spring-integration-tuple-1.0.0.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\integration\spring-integration-core\4.3.15.RELEASE\spring-integration-core-4.3.15.RELEASE.jar;D:\Java\MavenlRepository\repo\mysql\mysql-connector-java\5.1.46\mysql-connector-java-5.1.46.jar;D:\Java\MavenlRepository\repo\com\baomidou\mybatisplus-spring-boot-starter\1.0.5\mybatisplus-spring-boot-starter-1.0.5.jar;D:\Java\MavenlRepository\repo\org\springframework\boot\spring-boot-autoconfigure\1.5.12.RELEASE\spring-boot-autoconfigure-1.5.12.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\boot\spring-boot-starter-jdbc\1.5.12.RELEASE\spring-boot-starter-jdbc-1.5.12.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\spring-jdbc\4.3.16.RELEASE\spring-jdbc-4.3.16.RELEASE.jar;D:\Java\MavenlRepository\repo\com\zaxxer\HikariCP\2.5.1\HikariCP-2.5.1.jar;D:\Java\MavenlRepository\repo\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar;D:\Java\MavenlRepository\repo\io\shardingjdbc\sharding-jdbc-core-spring-boot-starter\2.0.1\sharding-jdbc-core-spring-boot-starter-2.0.1.jar;D:\Java\MavenlRepository\repo\io\shardingjdbc\sharding-jdbc-core\2.0.1\sharding-jdbc-core-2.0.1.jar;D:\Java\MavenlRepository\repo\org\codehaus\groovy\groovy\2.4.5\groovy-2.4.5-indy.jar;D:\Java\MavenlRepository\repo\org\yaml\snakeyaml\1.17\snakeyaml-1.17.jar;D:\Java\MavenlRepository\repo\org\apache\velocity\velocity-engine-core\2.0\velocity-engine-core-2.0.jar;D:\Java\MavenlRepository\repo\org\apache\commons\commons-lang3\3.5\commons-lang3-3.5.jar;D:\Java\MavenlRepository\repo\com\qiniu\qiniu-java-sdk\7.2.14\qiniu-java-sdk-7.2.14.jar;D:\Java\MavenlRepository\repo\com\squareup\okhttp3\okhttp\3.6.0\okhttp-3.6.0.jar;D:\Java\MavenlRepository\repo\com\squareup\okio\okio\1.11.0\okio-1.11.0.jar;D:\Java\MavenlRepository\repo\com\google\code\gson\gson\2.8.2\gson-2.8.2.jar;D:\Java\MavenlRepository\repo\com\qiniu\happy-dns-java\0.1.6\happy-dns-java-0.1.6.jar;D:\Java\MavenlRepository\repo\com\github\axet\kaptcha\0.0.9\kaptcha-0.0.9.jar;D:\Java\MavenlRepository\repo\com\jhlabs\filters\2.0.235\filters-2.0.235.jar;D:\Java\MavenlRepository\repo\org\springframework\cloud\spring-cloud-starter-zipkin\1.3.3.RELEASE\spring-cloud-starter-zipkin-1.3.3.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\cloud\spring-cloud-starter-sleuth\1.3.3.RELEASE\spring-cloud-starter-sleuth-1.3.3.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\cloud\spring-cloud-sleuth-core\1.3.3.RELEASE\spring-cloud-sleuth-core-1.3.3.RELEASE.jar;D:\Java\MavenlRepository\repo\org\aspectj\aspectjrt\1.8.13\aspectjrt-1.8.13.jar;D:\Java\MavenlRepository\repo\org\springframework\cloud\spring-cloud-sleuth-zipkin\1.3.3.RELEASE\spring-cloud-sleuth-zipkin-1.3.3.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\spring-web\4.3.16.RELEASE\spring-web-4.3.16.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\cloud\spring-cloud-commons\1.3.3.RELEASE\spring-cloud-commons-1.3.3.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\security\spring-security-crypto\4.2.5.RELEASE\spring-security-crypto-4.2.5.RELEASE.jar;D:\Java\MavenlRepository\repo\io\zipkin\zipkin2\zipkin\2.6.1\zipkin-2.6.1.jar;D:\Java\MavenlRepository\repo\io\zipkin\reporter2\zipkin-reporter\2.5.0\zipkin-reporter-2.5.0.jar;D:\Java\MavenlRepository\repo\io\zipkin\reporter2\zipkin-sender-kafka11\2.5.0\zipkin-sender-kafka11-2.5.0.jar;D:\Java\MavenlRepository\repo\io\zipkin\reporter2\zipkin-sender-amqp-client\2.5.0\zipkin-sender-amqp-client-2.5.0.jar;D:\Java\MavenlRepository\repo\org\springframework\boot\spring-boot-devtools\1.5.12.RELEASE\spring-boot-devtools-1.5.12.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\boot\spring-boot\1.5.12.RELEASE\spring-boot-1.5.12.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\cloud\spring-cloud-starter-netflix-eureka-client\1.4.4.RELEASE\spring-cloud-starter-netflix-eureka-client-1.4.4.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\boot\spring-boot-starter-web\1.5.12.RELEASE\spring-boot-starter-web-1.5.12.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\boot\spring-boot-starter-tomcat\1.5.12.RELEASE\spring-boot-starter-tomcat-1.5.12.RELEASE.jar;D:\Java\MavenlRepository\repo\org\apache\tomcat\embed\tomcat-embed-core\8.5.29\tomcat-embed-core-8.5.29.jar;D:\Java\MavenlRepository\repo\org\apache\tomcat\tomcat-annotations-api\8.5.29\tomcat-annotations-api-8.5.29.jar;D:\Java\MavenlRepository\repo\org\apache\tomcat\embed\tomcat-embed-el\8.5.29\tomcat-embed-el-8.5.29.jar;D:\Java\MavenlRepository\repo\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.29\tomcat-embed-websocket-8.5.29.jar;D:\Java\MavenlRepository\repo\org\springframework\spring-webmvc\4.3.16.RELEASE\spring-webmvc-4.3.16.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\cloud\spring-cloud-starter\1.3.3.RELEASE\spring-cloud-starter-1.3.3.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\cloud\spring-cloud-context\1.3.3.RELEASE\spring-cloud-context-1.3.3.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\security\spring-security-rsa\1.0.3.RELEASE\spring-security-rsa-1.0.3.RELEASE.jar;D:\Java\MavenlRepository\repo\org\bouncycastle\bcpkix-jdk15on\1.56\bcpkix-jdk15on-1.56.jar;D:\Java\MavenlRepository\repo\org\bouncycastle\bcprov-jdk15on\1.56\bcprov-jdk15on-1.56.jar;D:\Java\MavenlRepository\repo\org\springframework\cloud\spring-cloud-netflix-core\1.4.4.RELEASE\spring-cloud-netflix-core-1.4.4.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\cloud\spring-cloud-netflix-eureka-client\1.4.4.RELEASE\spring-cloud-netflix-eureka-client-1.4.4.RELEASE.jar;D:\Java\MavenlRepository\repo\com\netflix\eureka\eureka-client\1.7.2\eureka-client-1.7.2.jar;D:\Java\MavenlRepository\repo\org\codehaus\jettison\jettison\1.2\jettison-1.2.jar;D:\Java\MavenlRepository\repo\stax\stax-api\1.0.1\stax-api-1.0.1.jar;D:\Java\MavenlRepository\repo\com\netflix\netflix-commons\netflix-eventbus\0.3.0\netflix-eventbus-0.3.0.jar;D:\Java\MavenlRepository\repo\com\netflix\netflix-commons\netflix-infix\0.3.0\netflix-infix-0.3.0.jar;D:\Java\MavenlRepository\repo\commons-jxpath\commons-jxpath\1.3\commons-jxpath-1.3.jar;D:\Java\MavenlRepository\repo\joda-time\joda-time\2.9.9\joda-time-2.9.9.jar;D:\Java\MavenlRepository\repo\org\antlr\antlr-runtime\3.4\antlr-runtime-3.4.jar;D:\Java\MavenlRepository\repo\org\antlr\stringtemplate\3.2.1\stringtemplate-3.2.1.jar;D:\Java\MavenlRepository\repo\antlr\antlr\2.7.7\antlr-2.7.7.jar;D:\Java\MavenlRepository\repo\org\apache\commons\commons-math\2.2\commons-math-2.2.jar;D:\Java\MavenlRepository\repo\com\netflix\archaius\archaius-core\0.7.4\archaius-core-0.7.4.jar;D:\Java\MavenlRepository\repo\javax\ws\rs\jsr311-api\1.1.1\jsr311-api-1.1.1.jar;D:\Java\MavenlRepository\repo\com\netflix\servo\servo-core\0.10.1\servo-core-0.10.1.jar;D:\Java\MavenlRepository\repo\com\netflix\servo\servo-internal\0.10.1\servo-internal-0.10.1.jar;D:\Java\MavenlRepository\repo\com\sun\jersey\jersey-core\1.19.1\jersey-core-1.19.1.jar;D:\Java\MavenlRepository\repo\com\sun\jersey\jersey-client\1.19.1\jersey-client-1.19.1.jar;D:\Java\MavenlRepository\repo\com\sun\jersey\contribs\jersey-apache-client4\1.19.1\jersey-apache-client4-1.19.1.jar;D:\Java\MavenlRepository\repo\org\apache\httpcomponents\httpclient\4.5.5\httpclient-4.5.5.jar;D:\Java\MavenlRepository\repo\org\apache\httpcomponents\httpcore\4.4.9\httpcore-4.4.9.jar;D:\Java\MavenlRepository\repo\commons-codec\commons-codec\1.10\commons-codec-1.10.jar;D:\Java\MavenlRepository\repo\com\google\inject\guice\3.0\guice-3.0.jar;D:\Java\MavenlRepository\repo\javax\inject\javax.inject\1\javax.inject-1.jar;D:\Java\MavenlRepository\repo\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;D:\Java\MavenlRepository\repo\com\fasterxml\jackson\core\jackson-annotations\2.8.0\jackson-annotations-2.8.0.jar;D:\Java\MavenlRepository\repo\com\fasterxml\jackson\core\jackson-core\2.8.11\jackson-core-2.8.11.jar;D:\Java\MavenlRepository\repo\com\netflix\eureka\eureka-core\1.7.2\eureka-core-1.7.2.jar;D:\Java\MavenlRepository\repo\org\codehaus\woodstox\woodstox-core-asl\4.4.1\woodstox-core-asl-4.4.1.jar;D:\Java\MavenlRepository\repo\javax\xml\stream\stax-api\1.0-2\stax-api-1.0-2.jar;D:\Java\MavenlRepository\repo\org\codehaus\woodstox\stax2-api\3.1.4\stax2-api-3.1.4.jar;D:\Java\MavenlRepository\repo\org\springframework\cloud\spring-cloud-starter-netflix-archaius\1.4.4.RELEASE\spring-cloud-starter-netflix-archaius-1.4.4.RELEASE.jar;D:\Java\MavenlRepository\repo\commons-configuration\commons-configuration\1.8\commons-configuration-1.8.jar;D:\Java\MavenlRepository\repo\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;D:\Java\MavenlRepository\repo\org\springframework\cloud\spring-cloud-starter-netflix-ribbon\1.4.4.RELEASE\spring-cloud-starter-netflix-ribbon-1.4.4.RELEASE.jar;D:\Java\MavenlRepository\repo\com\netflix\ribbon\ribbon\2.2.5\ribbon-2.2.5.jar;D:\Java\MavenlRepository\repo\com\netflix\ribbon\ribbon-transport\2.2.5\ribbon-transport-2.2.5.jar;D:\Java\MavenlRepository\repo\io\reactivex\rxnetty-contexts\0.4.9\rxnetty-contexts-0.4.9.jar;D:\Java\MavenlRepository\repo\io\reactivex\rxnetty-servo\0.4.9\rxnetty-servo-0.4.9.jar;D:\Java\MavenlRepository\repo\com\netflix\hystrix\hystrix-core\1.5.12\hystrix-core-1.5.12.jar;D:\Java\MavenlRepository\repo\org\hdrhistogram\HdrHistogram\2.1.9\HdrHistogram-2.1.9.jar;D:\Java\MavenlRepository\repo\io\reactivex\rxnetty\0.4.9\rxnetty-0.4.9.jar;D:\Java\MavenlRepository\repo\io\netty\netty-codec-http\4.0.27.Final\netty-codec-http-4.0.27.Final.jar;D:\Java\MavenlRepository\repo\io\netty\netty-codec\4.0.27.Final\netty-codec-4.0.27.Final.jar;D:\Java\MavenlRepository\repo\io\netty\netty-handler\4.0.27.Final\netty-handler-4.0.27.Final.jar;D:\Java\MavenlRepository\repo\io\netty\netty-transport-native-epoll\4.0.27.Final\netty-transport-native-epoll-4.0.27.Final.jar;D:\Java\MavenlRepository\repo\io\netty\netty-common\4.0.27.Final\netty-common-4.0.27.Final.jar;D:\Java\MavenlRepository\repo\io\netty\netty-buffer\4.0.27.Final\netty-buffer-4.0.27.Final.jar;D:\Java\MavenlRepository\repo\io\netty\netty-transport\4.0.27.Final\netty-transport-4.0.27.Final.jar;D:\Java\MavenlRepository\repo\com\netflix\ribbon\ribbon-core\2.2.5\ribbon-core-2.2.5.jar;D:\Java\MavenlRepository\repo\com\netflix\ribbon\ribbon-httpclient\2.2.5\ribbon-httpclient-2.2.5.jar;D:\Java\MavenlRepository\repo\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;D:\Java\MavenlRepository\repo\com\netflix\netflix-commons\netflix-commons-util\0.1.1\netflix-commons-util-0.1.1.jar;D:\Java\MavenlRepository\repo\com\netflix\ribbon\ribbon-loadbalancer\2.2.5\ribbon-loadbalancer-2.2.5.jar;D:\Java\MavenlRepository\repo\com\netflix\netflix-commons\netflix-statistics\0.1.1\netflix-statistics-0.1.1.jar;D:\Java\MavenlRepository\repo\io\reactivex\rxjava\1.2.0\rxjava-1.2.0.jar;D:\Java\MavenlRepository\repo\com\netflix\ribbon\ribbon-eureka\2.2.5\ribbon-eureka-2.2.5.jar;D:\Java\MavenlRepository\repo\com\thoughtworks\xstream\xstream\1.4.10\xstream-1.4.10.jar;D:\Java\MavenlRepository\repo\xmlpull\xmlpull\1.1.3.1\xmlpull-1.1.3.1.jar;D:\Java\MavenlRepository\repo\xpp3\xpp3_min\1.1.4c\xpp3_min-1.1.4c.jar;D:\Java\MavenlRepository\repo\org\springframework\cloud\spring-cloud-starter-config\1.4.3.RELEASE\spring-cloud-starter-config-1.4.3.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\cloud\spring-cloud-config-client\1.4.3.RELEASE\spring-cloud-config-client-1.4.3.RELEASE.jar;D:\Java\MavenlRepository\repo\com\fasterxml\jackson\core\jackson-databind\2.8.11.1\jackson-databind-2.8.11.1.jar;D:\Java\MavenlRepository\repo\org\springframework\boot\spring-boot-configuration-processor\1.5.12.RELEASE\spring-boot-configuration-processor-1.5.12.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\boot\spring-boot-starter-actuator\1.5.12.RELEASE\spring-boot-starter-actuator-1.5.12.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\boot\spring-boot-starter\1.5.12.RELEASE\spring-boot-starter-1.5.12.RELEASE.jar;D:\Java\MavenlRepository\repo\org\springframework\boot\spring-boot-starter-logging\1.5.12.RELEASE\spring-boot-starter-logging-1.5.12.RELEASE.jar;D:\Java\MavenlRepository\repo\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar;D:\Java\MavenlRepository\repo\org\slf4j\log4j-over-slf4j\1.7.25\log4j-over-slf4j-1.7.25.jar;D:\Java\MavenlRepository\repo\org\springframework\boot\spring-boot-actuator\1.5.12.RELEASE\spring-boot-actuator-1.5.12.RELEASE.jar;D:\Java\MavenlRepository\repo\org\projectlombok\lombok\1.16.20\lombok-1.16.20.jar;D:\Java\MavenlRepository\repo\org\objenesis\objenesis\2.5.1\objenesis-2.5.1.jar;D:\Java\MavenlRepository\repo\org\springframework\spring-core\4.3.16.RELEASE\spring-core-4.3.16.RELEASE.jar;D:\IDEA\lib\idea_rt.jar" com.github.pig.admin.PigAdminApplication
Connected to the target VM, address: '127.0.0.1:52149', transport: 'socket'
05:32:44.699 [main] DEBUG org.springframework.boot.devtools.settings.DevToolsSettings - Included patterns for restart : [/mybatis-plus-[\w-]+.jar, /mybatis-plus-[\w-]+.jar]
05:32:44.704 [main] DEBUG org.springframework.boot.devtools.settings.DevToolsSettings - Excluded patterns for restart : 
[/pig-common/target/classes/, /spring-boot-starter/target/classes/, /spring-boot-autoconfigure/target/classes/, /spring-boot-starter-[\w-]+/, /spring-boot/target/classes/, /spring-boot-actuator/target/classes/, /spring-boot-devtools/target/classes/]
05:32:44.706 [main] DEBUG org.springframework.boot.devtools.restart.ChangeableUrls - Matching URLs for reloading : [file:/D:/Development/pig/code/pig/pig-modules/pig-upms-service/target/classes/]
08-20 05:32:46.681 INFO  [org.hibernate.validator.internal.util.Version] - HV000001: Hibernate Validator 5.4.1.Final

以這些參考改的

/spring-boot-starter/target/classes/, /spring-boot-autoconfigure/target/classes/,

[file:/D:/Development/pig/code/pig/pig-modules/pig-upms-service/target/classes/]

相關文章