Giter VIP home page Giter VIP logo

Comments (1)

zuihou avatar zuihou commented on May 18, 2024 2
  • 检查 src/main/filters/config-dev.properties 里 nacos.namespace 中的值,是否跟自己在naocs中新建的命名空间id一致
  • 检查 nacos 中的 的配置列表 -> 切换到命名空间 zuihou 下是否有配置文件
    image
  • 检查 nacos、 nacos、 nacos(重要的事情说3遍) 中的 的配置列表 -> 切换到命名空间 zuihou -> 查看 mysql.yml 里面关于数据库的配置,是否正确.
    image
  • 启动项目先一定要使用Maven执行编译:mvn clean insatll -P dev 编译命令! (命令行或者idea中执行都行)
    image
  • 如果是生产环境jar运行,请在命令行执行 mvn clean insatll -P prod, 并且修改第一步的src/main/filters/config-prod.properties文件
  • 打开zuihou-authority/zuihou-authority-server/target/classes/bootstrap.yml 文件,检查一下 @nacos.ip@ 、@nacos.port@ 、@nacos.namespace@ 、@nacos.username@ 、@nacos.password@ 等 @XX@ 相关的表达式是否替换成具体的值了。 (如果是jar运行,解压工具解压开看bootstrap.yml文件)
  • 确认一下nacos中,zuihou命名空间下,mysql.yml 、redis.yml中,mysql 和 redis的账号密码等信息是否正确。
  • redis.yml 中配置的密码就是明文密码, 无需加密!!!
  • 请注意:配置文件一定是导入新建的 zuihou 命名空间!!!
  • 请一定注意:配置文件一定是导入新建的 zuihou 命名空间!!!
  • 请务必注意:配置文件一定是导入新建的 zuihou 命名空间!!!

from lamp-cloud.

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.