Git Product home page Git Product logo

lifeshow-server's People

Contributors

chaos-woo avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

fengzhangzhu

lifeshow-server's Issues

关于@Value("${minip.access}") @Value("${minip.access.now}") 参数注入失败问题

尊敬的作者您好:
我是一个在学习springboot的新手,我在idea打包你的项目时,出现了一些问题,minip.access,minip.access.now 这两个参数并未在application.yml,application-dev.yml以及application-pro.yml中定义,所以报错,错误如下:

Test set: per.chao.lifeshow.LifeshowApplicationTests

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 12.637 s <<< FAILURE! - in per.chao.lifeshow.LifeshowApplicationTests
contextLoads Time elapsed: 0.003 s <<< ERROR!
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userController': Unsatisfied dependency expressed through field 'statService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'statServiceImpl': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'minip.access' in value "${minip.access}"
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'statServiceImpl': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'minip.access' in value "${minip.access}"
Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'minip.access' in value "${minip.access}"

如果可以的话可以修复这个问题吗?

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.