Giter Club home page Giter Club logo

Comments (4)

yu199195 avatar yu199195 commented on May 26, 2024

这个bean 没注册到spring 里面

from myth.

aladingDenson avatar aladingDenson commented on May 26, 2024

群主我这边已经解决了,问题告知

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-devtools</artifactId>
        <optional>true</optional>
    </dependency>

这个依赖模块由于实时监控类的启动,会造成bean的获取有问题
另外项目中配置文件中 不要含有spring.devtools.restart 这个是监听目录改变后重启

from myth.

yu199195 avatar yu199195 commented on May 26, 2024

nice

from myth.

baibuxiha avatar baibuxiha commented on May 26, 2024

设置springboot devtools属性解决
####序列化 反序列化 使用RestartClassLoader###
restart.include.kryo=/kryo-shaded-[\w.-]+.jar
####myth 开发环境 使用RestartClassLoader ##
restart.include.myth-common=/myth-common-[\w.-]+.jar
restart.include.myth-core=/myth-core-[\w.-]+.jar
restart.include.myth-annotation=/myth-annotation-[\w.-]+.jar
restart.include.myth-springcloud=/myth-springcloud-[\w.-]+.jar
restart.include.myth-starter=/myth-spring-boot-starter-[\w.-]+.jar

from myth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.