-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu 启动nacos报错 #2
Comments
看看插件jar包是否放到了plugins目录下了,同时在看看打包出来的jar是否存在postgresql的JDBC驱动 |
我也是一样的源码启动是可以,但是docker启动nacos-server不行 |
@guanxiangkai @wuchubuzai2018 |
@guanxiangkai 然后我重新创建的镜像命令如下: #ARG JAVA_OPT="${JAVA_OPT} -Dloader.path=${BASE_DIR}/plugins,${BASE_DIR}/plugins/health,${BASE_DIR}/plugins/cmdb,${BASE_DIR}/plugins/selector" |
@linht12 谢谢 |
我看最新版的nacos中的startup.sh 已经有plugins的路径了,为什么启动的时候 还是报这个错误呢?? |
你是docker启动的吗? |
不是的 官网下载的nacos-server |
你插件有放在plugins目录下吗?官网上的我这边启动时没问题,只有在docker上才会出现这个问题,因为docker打包的没有这个路径 |
2023-01-28 18:18:02,933 ERROR
APPLICATION FAILED TO START
Description:
Failed to bind properties under 'db.pool.config' to com.zaxxer.hikari.HikariDataSource:
Action:
Update your application's configuration
配置文件如下
MODE=standalone
PREFER_HOST_MODE=hostname
spring.datasource.platform=postgresql
db.url.0=jdbc:postgresql://127.0.0.1:5432/nacos_config?tcpKeepAlive=true&reWriteBatchedInserts=true&ApplicationName=nacos_java
db.user=postgres
db.password=Guan1014
The text was updated successfully, but these errors were encountered: