json-lib 解析 Hibernate pojo 对象错误...

本文探讨了使用JSON-Lib序列化Hibernate查询结果时遇到的问题,特别是针对复合对象时出现的“Session已关闭”错误。文章介绍了如何通过调整lazy加载配置来解决此问题,并讨论了该方法可能引发的效率低下问题。

    最近在用json-lib序列化hibernate查询的实体对象....  如果这个pojo是个复合对象(即,其中包含对主外键的关系的描述的对象),此时使用json-lib序列化json会包“Session已经关闭”的错误....  刚开始纳闷了半天, 最后发现是hibernate的lazy机制惹的祸...

     hibernate3.0中lazy默认为true,, 所以只需将lazy设置为true即可...

        <many-to-one name="publisher" class="com.bookshop.entity.Publisher" fetch="select" lazy="false">
            <column name="publisherId" />
        </many-to-one>
        <many-to-one name="bookType" class="com.bookshop.entity.BookType" fetch="select" lazy="false">
            <column name="bookTypeId" />
        </many-to-one>

 

但是这样经常会导致效率地下问题....    想要很好的处理hibernate效率问题,则需要对lazy机制有一定的了解... 今天看到了javaeyer的一片文章写的很不错。。 留下做个记录

http://lz726.iteye.com/blog/116616

那下面的报错是为什么:G:\kuangshen\enviorment\jdk1.8\bin\java.exe -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true "-Dmanagement.endpoints.jmx.exposure.include=*" "-javaagent:G:\IntelliJ IDEA 2025.1.3\lib\idea_rt.jar=54250" -Dfile.encoding=UTF-8 -classpath G:\kuangshen\enviorment\jdk1.8\jre\lib\charsets.jar;G:\kuangshen\enviorment\jdk1.8\jre\lib\deploy.jar;G:\kuangshen\enviorment\jdk1.8\jre\lib\ext\access-bridge-64.jar;G:\kuangshen\enviorment\jdk1.8\jre\lib\ext\cldrdata.jar;G:\kuangshen\enviorment\jdk1.8\jre\lib\ext\dnsns.jar;G:\kuangshen\enviorment\jdk1.8\jre\lib\ext\jaccess.jar;G:\kuangshen\enviorment\jdk1.8\jre\lib\ext\jfxrt.jar;G:\kuangshen\enviorment\jdk1.8\jre\lib\ext\localedata.jar;G:\kuangshen\enviorment\jdk1.8\jre\lib\ext\nashorn.jar;G:\kuangshen\enviorment\jdk1.8\jre\lib\ext\sunec.jar;G:\kuangshen\enviorment\jdk1.8\jre\lib\ext\sunjce_provider.jar;G:\kuangshen\enviorment\jdk1.8\jre\lib\ext\sunmscapi.jar;G:\kuangshen\enviorment\jdk1.8\jre\lib\ext\sunpkcs11.jar;G:\kuangshen\enviorment\jdk1.8\jre\lib\ext\zipfs.jar;G:\kuangshen\enviorment\jdk1.8\jre\lib\javaws.jar;G:\kuangshen\enviorment\jdk1.8\jre\lib\jce.jar;G:\kuangshen\enviorment\jdk1.8\jre\lib\jfr.jar;G:\kuangshen\enviorment\jdk1.8\jre\lib\jfxswt.jar;G:\kuangshen\enviorment\jdk1.8\jre\lib\jsse.jar;G:\kuangshen\enviorment\jdk1.8\jre\lib\management-agent.jar;G:\kuangshen\enviorment\jdk1.8\jre\lib\plugin.jar;G:\kuangshen\enviorment\jdk1.8\jre\lib\resources.jar;G:\kuangshen\enviorment\jdk1.8\jre\lib\rt.jar;G:\云学堂\cjc-ymcc2\ymcc-service\ymcc-service-user\target\classes;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\boot\spring-boot-starter-web\2.2.5.RELEASE\spring-boot-starter-web-2.2.5.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\boot\spring-boot-starter-json\2.2.5.RELEASE\spring-boot-starter-json-2.2.5.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\fasterxml\jackson\core\jackson-databind\2.10.2\jackson-databind-2.10.2.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.10.2\jackson-datatype-jdk8-2.10.2.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.10.2\jackson-datatype-jsr310-2.10.2.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\fasterxml\jackson\module\jackson-module-parameter-names\2.10.2\jackson-module-parameter-names-2.10.2.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\boot\spring-boot-starter-tomcat\2.2.5.RELEASE\spring-boot-starter-tomcat-2.2.5.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\apache\tomcat\embed\tomcat-embed-core\9.0.31\tomcat-embed-core-9.0.31.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\apache\tomcat\embed\tomcat-embed-el\9.0.31\tomcat-embed-el-9.0.31.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.31\tomcat-embed-websocket-9.0.31.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\boot\spring-boot-starter-validation\2.2.5.RELEASE\spring-boot-starter-validation-2.2.5.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\jakarta\validation\jakarta.validation-api\2.0.2\jakarta.validation-api-2.0.2.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\hibernate\validator\hibernate-validator\6.0.18.Final\hibernate-validator-6.0.18.Final.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\jboss\logging\jboss-logging\3.4.1.Final\jboss-logging-3.4.1.Final.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\spring-web\5.2.4.RELEASE\spring-web-5.2.4.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\spring-beans\5.2.4.RELEASE\spring-beans-5.2.4.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\spring-webmvc\5.2.4.RELEASE\spring-webmvc-5.2.4.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\spring-context\5.2.4.RELEASE\spring-context-5.2.4.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\spring-expression\5.2.4.RELEASE\spring-expression-5.2.4.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\alibaba\cloud\spring-cloud-starter-alibaba-nacos-discovery\2.2.1.RELEASE\spring-cloud-starter-alibaba-nacos-discovery-2.2.1.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\alibaba\nacos\nacos-client\1.2.1\nacos-client-1.2.1.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\alibaba\nacos\nacos-common\1.2.1\nacos-common-1.2.1.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\commons-io\commons-io\2.2\commons-io-2.2.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\apache\commons\commons-lang3\3.9\commons-lang3-3.9.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\alibaba\nacos\nacos-api\1.2.1\nacos-api-1.2.1.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\fasterxml\jackson\core\jackson-core\2.10.2\jackson-core-2.10.2.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\io\prometheus\simpleclient\0.5.0\simpleclient-0.5.0.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\alibaba\spring\spring-context-support\1.0.6\spring-context-support-1.0.6.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\cloud\spring-cloud-commons\2.2.2.RELEASE\spring-cloud-commons-2.2.2.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\security\spring-security-crypto\5.2.2.RELEASE\spring-security-crypto-5.2.2.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\cloud\spring-cloud-context\2.2.2.RELEASE\spring-cloud-context-2.2.2.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\cloud\spring-cloud-starter-netflix-ribbon\2.2.2.RELEASE\spring-cloud-starter-netflix-ribbon-2.2.2.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\cloud\spring-cloud-netflix-ribbon\2.2.2.RELEASE\spring-cloud-netflix-ribbon-2.2.2.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\cloud\spring-cloud-netflix-archaius\2.2.2.RELEASE\spring-cloud-netflix-archaius-2.2.2.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\cloud\spring-cloud-starter-netflix-archaius\2.2.2.RELEASE\spring-cloud-starter-netflix-archaius-2.2.2.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\commons-configuration\commons-configuration\1.8\commons-configuration-1.8.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\netflix\ribbon\ribbon\2.3.0\ribbon-2.3.0.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\netflix\ribbon\ribbon-transport\2.3.0\ribbon-transport-2.3.0.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\io\reactivex\rxnetty-contexts\0.4.9\rxnetty-contexts-0.4.9.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\io\reactivex\rxnetty-servo\0.4.9\rxnetty-servo-0.4.9.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\javax\inject\javax.inject\1\javax.inject-1.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\io\reactivex\rxnetty\0.4.9\rxnetty-0.4.9.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\netflix\ribbon\ribbon-core\2.3.0\ribbon-core-2.3.0.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\netflix\ribbon\ribbon-httpclient\2.3.0\ribbon-httpclient-2.3.0.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\apache\httpcomponents\httpclient\4.5.11\httpclient-4.5.11.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\apache\httpcomponents\httpcore\4.4.13\httpcore-4.4.13.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\sun\jersey\jersey-client\1.19.1\jersey-client-1.19.1.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\sun\jersey\jersey-core\1.19.1\jersey-core-1.19.1.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\javax\ws\rs\jsr311-api\1.1.1\jsr311-api-1.1.1.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\sun\jersey\contribs\jersey-apache-client4\1.19.1\jersey-apache-client4-1.19.1.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\netflix\servo\servo-core\0.12.21\servo-core-0.12.21.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\netflix\netflix-commons\netflix-commons-util\0.3.0\netflix-commons-util-0.3.0.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\netflix\ribbon\ribbon-loadbalancer\2.3.0\ribbon-loadbalancer-2.3.0.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\netflix\netflix-commons\netflix-statistics\0.1.1\netflix-statistics-0.1.1.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\io\reactivex\rxjava\1.3.8\rxjava-1.3.8.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\alibaba\cloud\spring-cloud-starter-alibaba-nacos-config\2.2.1.RELEASE\spring-cloud-starter-alibaba-nacos-config-2.2.1.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\mysql\mysql-connector-java\8.0.19\mysql-connector-java-8.0.19.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\alibaba\druid\1.1.9\druid-1.1.9.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\io\springfox\springfox-swagger2\2.9.2\springfox-swagger2-2.9.2.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\io\swagger\swagger-annotations\1.5.20\swagger-annotations-1.5.20.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\io\swagger\swagger-models\1.5.20\swagger-models-1.5.20.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\fasterxml\jackson\core\jackson-annotations\2.10.2\jackson-annotations-2.10.2.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\io\springfox\springfox-spi\2.9.2\springfox-spi-2.9.2.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\io\springfox\springfox-core\2.9.2\springfox-core-2.9.2.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\io\springfox\springfox-schema\2.9.2\springfox-schema-2.9.2.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\io\springfox\springfox-swagger-common\2.9.2\springfox-swagger-common-2.9.2.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\io\springfox\springfox-spring-web\2.9.2\springfox-spring-web-2.9.2.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\google\guava\guava\28.2-android\guava-28.2-android.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\google\guava\failureaccess\1.0.1\failureaccess-1.0.1.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\google\guava\listenablefuture\9999.0-empty-to-avoid-conflict-with-guava\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\google\code\findbugs\jsr305\3.0.2\jsr305-3.0.2.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\checkerframework\checker-compat-qual\2.5.5\checker-compat-qual-2.5.5.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\google\errorprone\error_prone_annotations\2.3.4\error_prone_annotations-2.3.4.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\google\j2objc\j2objc-annotations\1.3\j2objc-annotations-1.3.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\fasterxml\classmate\1.5.1\classmate-1.5.1.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\slf4j\slf4j-api\1.7.30\slf4j-api-1.7.30.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\plugin\spring-plugin-core\1.2.0.RELEASE\spring-plugin-core-1.2.0.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\plugin\spring-plugin-metadata\1.2.0.RELEASE\spring-plugin-metadata-1.2.0.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\mapstruct\mapstruct\1.2.0.Final\mapstruct-1.2.0.Final.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\io\springfox\springfox-swagger-ui\2.9.2\springfox-swagger-ui-2.9.2.jar;G:\云学堂\cjc-ymcc2\ymcc-pojo\ymcc-pojo-user\target\classes;E:\enviorment\apache-maven-3.6.1\maven-rep\com\baomidou\mybatis-plus-boot-starter\2.2.0\mybatis-plus-boot-starter-2.2.0.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\baomidou\mybatis-plus\2.2.0\mybatis-plus-2.2.0.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\baomidou\mybatis-plus-support\2.2.0\mybatis-plus-support-2.2.0.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\baomidou\mybatis-plus-core\2.2.0\mybatis-plus-core-2.2.0.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\github\jsqlparser\jsqlparser\1.1\jsqlparser-1.1.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\mybatis\mybatis-spring\1.3.2\mybatis-spring-1.3.2.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\mybatis\mybatis\3.4.6\mybatis-3.4.6.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\baomidou\mybatis-plus-generate\2.2.0\mybatis-plus-generate-2.2.0.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\boot\spring-boot-autoconfigure\2.2.5.RELEASE\spring-boot-autoconfigure-2.2.5.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\boot\spring-boot-starter-jdbc\2.2.5.RELEASE\spring-boot-starter-jdbc-2.2.5.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\zaxxer\HikariCP\3.4.2\HikariCP-3.4.2.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\spring-jdbc\5.2.4.RELEASE\spring-jdbc-5.2.4.RELEASE.jar;G:\云学堂\cjc-ymcc2\cjc-basic\cjc-basic-common\target\classes;E:\enviorment\apache-maven-3.6.1\maven-rep\commons-codec\commons-codec\1.13\commons-codec-1.13.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\commons-httpclient\commons-httpclient\3.1\commons-httpclient-3.1.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\commons-logging\commons-logging\1.0.4\commons-logging-1.0.4.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\boot\spring-boot-starter-data-redis\2.2.5.RELEASE\spring-boot-starter-data-redis-2.2.5.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\boot\spring-boot-starter\2.2.5.RELEASE\spring-boot-starter-2.2.5.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\boot\spring-boot\2.2.5.RELEASE\spring-boot-2.2.5.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\boot\spring-boot-starter-logging\2.2.5.RELEASE\spring-boot-starter-logging-2.2.5.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\apache\logging\log4j\log4j-to-slf4j\2.12.1\log4j-to-slf4j-2.12.1.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\apache\logging\log4j\log4j-api\2.12.1\log4j-api-2.12.1.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\slf4j\jul-to-slf4j\1.7.30\jul-to-slf4j-1.7.30.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\yaml\snakeyaml\1.25\snakeyaml-1.25.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\data\spring-data-redis\2.2.5.RELEASE\spring-data-redis-2.2.5.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\data\spring-data-keyvalue\2.2.5.RELEASE\spring-data-keyvalue-2.2.5.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\data\spring-data-commons\2.2.5.RELEASE\spring-data-commons-2.2.5.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\spring-tx\5.2.4.RELEASE\spring-tx-5.2.4.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\spring-oxm\5.2.4.RELEASE\spring-oxm-5.2.4.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\spring-aop\5.2.4.RELEASE\spring-aop-5.2.4.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\spring-context-support\5.2.4.RELEASE\spring-context-support-5.2.4.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\io\lettuce\lettuce-core\5.2.2.RELEASE\lettuce-core-5.2.2.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\io\netty\netty-common\4.1.45.Final\netty-common-4.1.45.Final.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\io\netty\netty-handler\4.1.45.Final\netty-handler-4.1.45.Final.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\io\netty\netty-buffer\4.1.45.Final\netty-buffer-4.1.45.Final.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\io\netty\netty-codec\4.1.45.Final\netty-codec-4.1.45.Final.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\io\netty\netty-transport\4.1.45.Final\netty-transport-4.1.45.Final.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\io\netty\netty-resolver\4.1.45.Final\netty-resolver-4.1.45.Final.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\io\projectreactor\reactor-core\3.3.3.RELEASE\reactor-core-3.3.3.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\reactivestreams\reactive-streams\1.0.3\reactive-streams-1.0.3.jar;G:\云学堂\cjc-ymcc2\ymcc-api\ymcc-api-uaa\target\classes;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\cloud\spring-cloud-starter-openfeign\2.2.2.RELEASE\spring-cloud-starter-openfeign-2.2.2.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\cloud\spring-cloud-starter\2.2.2.RELEASE\spring-cloud-starter-2.2.2.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\security\spring-security-rsa\1.0.9.RELEASE\spring-security-rsa-1.0.9.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\bouncycastle\bcpkix-jdk15on\1.64\bcpkix-jdk15on-1.64.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\bouncycastle\bcprov-jdk15on\1.64\bcprov-jdk15on-1.64.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\cloud\spring-cloud-openfeign-core\2.2.2.RELEASE\spring-cloud-openfeign-core-2.2.2.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\io\github\openfeign\form\feign-form-spring\3.8.0\feign-form-spring-3.8.0.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\io\github\openfeign\form\feign-form\3.8.0\feign-form-3.8.0.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\commons-fileupload\commons-fileupload\1.4\commons-fileupload-1.4.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\io\github\openfeign\feign-core\10.7.4\feign-core-10.7.4.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\io\github\openfeign\feign-slf4j\10.7.4\feign-slf4j-10.7.4.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\io\github\openfeign\feign-hystrix\10.7.4\feign-hystrix-10.7.4.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\netflix\archaius\archaius-core\0.7.6\archaius-core-0.7.6.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\netflix\hystrix\hystrix-core\1.5.18\hystrix-core-1.5.18.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\hdrhistogram\HdrHistogram\2.1.9\HdrHistogram-2.1.9.jar;G:\云学堂\cjc-ymcc2\ymcc-pojo\ymcc-pojo-uaa\target\classes;E:\enviorment\apache-maven-3.6.1\maven-rep\com\alibaba\cloud\spring-cloud-starter-alibaba-seata\2.2.1.RELEASE\spring-cloud-starter-alibaba-seata-2.2.1.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\boot\spring-boot-starter-aop\2.2.5.RELEASE\spring-boot-starter-aop-2.2.5.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\aspectj\aspectjweaver\1.9.5\aspectjweaver-1.9.5.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\io\seata\seata-spring-boot-starter\1.1.0\seata-spring-boot-starter-1.1.0.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\io\seata\seata-all\1.1.0\seata-all-1.1.0.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\io\netty\netty-all\4.1.45.Final\netty-all-4.1.45.Final.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\typesafe\config\1.2.1\config-1.2.1.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\apache\commons\commons-pool2\2.7.0\commons-pool2-2.7.0.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\commons-pool\commons-pool\1.6\commons-pool-1.6.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\google\protobuf\protobuf-java\3.11.4\protobuf-java-3.11.4.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\cglib\cglib\3.1\cglib-3.1.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\ow2\asm\asm\4.2\asm-4.2.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\github\ben-manes\caffeine\caffeine\2.8.1\caffeine-2.8.1.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\checkerframework\checker-qual\3.1.0\checker-qual-3.1.0.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\postgresql\postgresql\42.2.10\postgresql-42.2.10.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\projectlombok\lombok\1.18.12\lombok-1.18.12.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\alibaba\fastjson\1.2.50\fastjson-1.2.50.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\boot\spring-boot-starter-test\2.2.5.RELEASE\spring-boot-starter-test-2.2.5.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\boot\spring-boot-test\2.2.5.RELEASE\spring-boot-test-2.2.5.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\boot\spring-boot-test-autoconfigure\2.2.5.RELEASE\spring-boot-test-autoconfigure-2.2.5.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\jayway\jsonpath\json-path\2.4.0\json-path-2.4.0.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\net\minidev\json-smart\2.3\json-smart-2.3.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\net\minidev\accessors-smart\1.2\accessors-smart-1.2.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\jakarta\xml\bind\jakarta.xml.bind-api\2.3.2\jakarta.xml.bind-api-2.3.2.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\jakarta\activation\jakarta.activation-api\1.2.2\jakarta.activation-api-1.2.2.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\junit\jupiter\junit-jupiter\5.5.2\junit-jupiter-5.5.2.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\junit\jupiter\junit-jupiter-api\5.5.2\junit-jupiter-api-5.5.2.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\opentest4j\opentest4j\1.2.0\opentest4j-1.2.0.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\junit\platform\junit-platform-commons\1.5.2\junit-platform-commons-1.5.2.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\junit\jupiter\junit-jupiter-params\5.5.2\junit-jupiter-params-5.5.2.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\junit\jupiter\junit-jupiter-engine\5.5.2\junit-jupiter-engine-5.5.2.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\junit\vintage\junit-vintage-engine\5.5.2\junit-vintage-engine-5.5.2.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\apiguardian\apiguardian-api\1.1.0\apiguardian-api-1.1.0.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\junit\platform\junit-platform-engine\1.5.2\junit-platform-engine-1.5.2.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\junit\junit\4.12\junit-4.12.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\mockito\mockito-junit-jupiter\3.1.0\mockito-junit-jupiter-3.1.0.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\assertj\assertj-core\3.13.2\assertj-core-3.13.2.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\hamcrest\hamcrest\2.1\hamcrest-2.1.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\mockito\mockito-core\3.1.0\mockito-core-3.1.0.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\net\bytebuddy\byte-buddy\1.10.8\byte-buddy-1.10.8.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\net\bytebuddy\byte-buddy-agent\1.10.8\byte-buddy-agent-1.10.8.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\objenesis\objenesis\2.6\objenesis-2.6.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\skyscreamer\jsonassert\1.5.0\jsonassert-1.5.0.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\com\vaadin\external\google\android-json\0.0.20131108.vaadin1\android-json-0.0.20131108.vaadin1.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\spring-core\5.2.4.RELEASE\spring-core-5.2.4.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\spring-jcl\5.2.4.RELEASE\spring-jcl-5.2.4.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\springframework\spring-test\5.2.4.RELEASE\spring-test-5.2.4.RELEASE.jar;E:\enviorment\apache-maven-3.6.1\maven-rep\org\xmlunit\xmlunit-core\2.6.3\xmlunit-core-2.6.3.jar cn.cjc.ymcc.UserApp . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.2.5.RELEASE) 2025-07-25 18:40:42.560 INFO 17744 --- [ main] c.a.n.c.c.impl.LocalConfigInfoProcessor : LOCAL_SNAPSHOT_PATH:C:\Users\86158\nacos\config 2025-07-25 18:40:42.573 INFO 17744 --- [ main] c.a.nacos.client.config.impl.Limiter : limitTime:5.0 2025-07-25 18:40:42.592 WARN 17744 --- [ main] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[application-user] & group[DEFAULT_GROUP] 2025-07-25 18:40:42.596 WARN 17744 --- [ main] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[application-user.yaml] & group[DEFAULT_GROUP] 2025-07-25 18:40:42.599 WARN 17744 --- [ main] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[application-user-dev.yaml] & group[DEFAULT_GROUP] 2025-07-25 18:40:42.599 INFO 17744 --- [ main] b.c.PropertySourceBootstrapConfiguration : Located property source: [BootstrapPropertySource {name='bootstrapProperties-application-user-dev.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-user.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-user,DEFAULT_GROUP'}] 2025-07-25 18:40:42.602 INFO 17744 --- [ main] cn.cjc.ymcc.UserApp : The following profiles are active: dev 2025-07-25 18:40:43.255 INFO 17744 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode! 2025-07-25 18:40:43.257 INFO 17744 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. 2025-07-25 18:40:43.279 INFO 17744 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 13ms. Found 0 Redis repository interfaces. 2025-07-25 18:40:43.428 INFO 17744 --- [ main] o.s.cloud.context.scope.GenericScope : BeanFactory id=40997454-c535-3a8f-bc66-af08e4fe7ba1 2025-07-25 18:40:43.476 INFO 17744 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'cn.cjc.ymcc.api.LoginApi' of type [org.springframework.cloud.openfeign.FeignClientFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-07-25 18:40:43.485 INFO 17744 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'io.seata.spring.boot.autoconfigure.SeataAutoConfiguration' of type [io.seata.spring.boot.autoconfigure.SeataAutoConfiguration$$EnhancerBySpringCGLIB$$6caf7df3] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-07-25 18:40:43.493 INFO 17744 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'springApplicationContextProvider' of type [io.seata.spring.boot.autoconfigure.provider.SpringApplicationContextProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-07-25 18:40:43.496 INFO 17744 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.cloud.alibaba.seata-io.seata.spring.boot.autoconfigure.properties.SpringCloudAlibabaConfiguration' of type [io.seata.spring.boot.autoconfigure.properties.SpringCloudAlibabaConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-07-25 18:40:43.497 INFO 17744 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'seata-io.seata.spring.boot.autoconfigure.properties.SeataProperties' of type [io.seata.spring.boot.autoconfigure.properties.SeataProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-07-25 18:40:43.497 INFO 17744 --- [ main] i.s.s.b.a.SeataAutoConfiguration : Automatically configure Seata 2025-07-25 18:40:43.518 INFO 17744 --- [ main] io.seata.config.FileConfiguration : The file name of the operation is registry.conf 2025-07-25 18:40:43.557 INFO 17744 --- [ main] i.s.common.loader.EnhancedServiceLoader : load ExtConfigurationProvider[null] extension by class[io.seata.spring.boot.autoconfigure.provider.SpringBootConfigurationProvider] 2025-07-25 18:40:43.561 INFO 17744 --- [ main] io.seata.config.ConfigurationFactory : load extConfiguration:FileConfiguration$$EnhancerByCGLIB$$862af1eb 2025-07-25 18:40:43.565 INFO 17744 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'configProperties' of type [io.seata.spring.boot.autoconfigure.properties.registry.ConfigProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-07-25 18:40:43.567 INFO 17744 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'configFileProperties' of type [io.seata.spring.boot.autoconfigure.properties.registry.ConfigFileProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-07-25 18:40:43.567 INFO 17744 --- [ main] io.seata.config.FileConfiguration : The file name of the operation is file.conf 2025-07-25 18:40:43.569 INFO 17744 --- [ main] io.seata.config.ConfigurationFactory : load extConfiguration:FileConfiguration$$EnhancerByCGLIB$$862af1eb 2025-07-25 18:40:43.571 INFO 17744 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'serviceProperties' of type [io.seata.spring.boot.autoconfigure.properties.file.ServiceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-07-25 18:40:43.572 INFO 17744 --- [ main] i.s.s.a.GlobalTransactionScanner : Initializing Global Transaction Clients ... 2025-07-25 18:40:43.577 INFO 17744 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'threadFactoryProperties' of type [io.seata.spring.boot.autoconfigure.properties.file.ThreadFactoryProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-07-25 18:40:43.579 INFO 17744 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'transportProperties' of type [io.seata.spring.boot.autoconfigure.properties.file.TransportProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-07-25 18:40:43.619 INFO 17744 --- [ main] i.s.c.r.netty.AbstractRpcRemotingClient : RpcClientBootstrap has started 2025-07-25 18:40:43.620 INFO 17744 --- [ main] i.s.s.a.GlobalTransactionScanner : Transaction Manager Client is initialized. applicationId[service-user] txServiceGroup[service-user-seata-service-group] 2025-07-25 18:40:43.629 INFO 17744 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'rmProperties' of type [io.seata.spring.boot.autoconfigure.properties.file.RmProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-07-25 18:40:43.629 INFO 17744 --- [ main] io.seata.rm.datasource.AsyncWorker : Async Commit Buffer Limit: 10000 2025-07-25 18:40:43.633 INFO 17744 --- [ main] i.s.c.r.netty.AbstractRpcRemotingClient : RpcClientBootstrap has started 2025-07-25 18:40:43.634 INFO 17744 --- [ main] i.s.s.a.GlobalTransactionScanner : Resource Manager is initialized. applicationId[service-user] txServiceGroup[service-user-seata-service-group] 2025-07-25 18:40:43.634 INFO 17744 --- [ main] i.s.s.a.GlobalTransactionScanner : Global Transaction Clients are initialized. 2025-07-25 18:40:43.716 INFO 17744 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'com.alibaba.cloud.seata.feign.SeataFeignClientAutoConfiguration$FeignBeanPostProcessorConfiguration' of type [com.alibaba.cloud.seata.feign.SeataFeignClientAutoConfiguration$FeignBeanPostProcessorConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-07-25 18:40:43.718 INFO 17744 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'seataFeignObjectWrapper' of type [com.alibaba.cloud.seata.feign.SeataFeignObjectWrapper] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-07-25 18:40:43.872 INFO 17744 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) 2025-07-25 18:40:43.878 INFO 17744 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2025-07-25 18:40:43.878 INFO 17744 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.31] 2025-07-25 18:40:43.980 INFO 17744 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2025-07-25 18:40:43.981 INFO 17744 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 1369 ms 2025-07-25 18:40:44.017 WARN 17744 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSourceConfiguration': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'mybatis-plus.mapper-locations' in value "${mybatis-plus.mapper-locations}" 2025-07-25 18:40:44.022 INFO 17744 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2025-07-25 18:40:44.037 INFO 17744 --- [ main] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2025-07-25 18:40:44.044 ERROR 17744 --- [ main] o.s.boot.SpringApplication : Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSourceConfiguration': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'mybatis-plus.mapper-locations' in value "${mybatis-plus.mapper-locations}" at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:405) ~[spring-beans-5.2.4.RELEASE.jar:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1422) ~[spring-beans-5.2.4.RELEASE.jar:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594) ~[spring-beans-5.2.4.RELEASE.jar:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) ~[spring-beans-5.2.4.RELEASE.jar:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) ~[spring-beans-5.2.4.RELEASE.jar:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.2.4.RELEASE.jar:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) ~[spring-beans-5.2.4.RELEASE.jar:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.4.RELEASE.jar:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:879) ~[spring-beans-5.2.4.RELEASE.jar:5.2.4.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878) ~[spring-context-5.2.4.RELEASE.jar:5.2.4.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550) ~[spring-context-5.2.4.RELEASE.jar:5.2.4.RELEASE] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141) ~[spring-boot-2.2.5.RELEASE.jar:2.2.5.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747) [spring-boot-2.2.5.RELEASE.jar:2.2.5.RELEASE] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) [spring-boot-2.2.5.RELEASE.jar:2.2.5.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) [spring-boot-2.2.5.RELEASE.jar:2.2.5.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) [spring-boot-2.2.5.RELEASE.jar:2.2.5.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1215) [spring-boot-2.2.5.RELEASE.jar:2.2.5.RELEASE] at cn.cjc.ymcc.UserApp.main(UserApp.java:16) [classes/:na] Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'mybatis-plus.mapper-locations' in value "${mybatis-plus.mapper-locations}" at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:178) ~[spring-core-5.2.4.RELEASE.jar:5.2.4.RELEASE] at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:124) ~[spring-core-5.2.4.RELEASE.jar:5.2.4.RELEASE] at org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders(AbstractPropertyResolver.java:236) ~[spring-core-5.2.4.RELEASE.jar:5.2.4.RELEASE] at org.springframework.core.env.AbstractPropertyResolver.resolveRequiredPlaceholders(AbstractPropertyResolver.java:210) ~[spring-core-5.2.4.RELEASE.jar:5.2.4.RELEASE] at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.lambda$processProperties$0(PropertySourcesPlaceholderConfigurer.java:175) ~[spring-context-5.2.4.RELEASE.jar:5.2.4.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.resolveEmbeddedValue(AbstractBeanFactory.java:909) ~[spring-beans-5.2.4.RELEASE.jar:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1228) ~[spring-beans-5.2.4.RELEASE.jar:5.2.4.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1207) ~[spring-beans-5.2.4.RELEASE.jar:5.2.4.RELEASE] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640) ~[spring-beans-5.2.4.RELEASE.jar:5.2.4.RELEASE] at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:130) ~[spring-beans-5.2.4.RELEASE.jar:5.2.4.RELEASE] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399) ~[spring-beans-5.2.4.RELEASE.jar:5.2.4.RELEASE] ... 17 common frames omitted 进程已结束,退出代码为 1
07-26
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值