alibaba / nacos

an easy-to-use dynamic service discovery, configuration and service management platform for building cloud native applications.
https://nacos.io
Apache License 2.0
30.2k stars 12.83k forks source link

cmdb project can't start alone #1448

Closed Luckylau closed 5 years ago

Luckylau commented 5 years ago

the SpringBoot cmdb project can't start alone ,because of maven resource excludes application.properties it should be canceled.

nkorange commented 5 years ago

Which exact project did you find error? Please paste the link of it.

Luckylau commented 5 years ago

the project nacas-cmdb

nkorange commented 5 years ago

the project nacas-cmdb

What error did you encounter? I can run this project in my local computer.

Luckylau commented 5 years ago

when I start CmdbApp alone, because the pom.xml of nachos-cmdb project excludes application.properties ,it cause "Could not resolve placeholder 'nacos.cmdb.dumpTaskInterval' in value ${nacos.cmdb.dumpTaskInterval}". By the way , I can start NamingApp alone, because the pom.xml of nacos-naming project do not exclude application.properties.

nkorange commented 5 years ago

when I start CmdbApp alone, because the pom.xml of nachos-cmdb project excludes application.properties ,it cause "Could not resolve placeholder 'nacos.cmdb.dumpTaskInterval' in value ${nacos.cmdb.dumpTaskInterval}". By the way , I can start NamingApp alone, because the pom.xml of nacos-naming project do not exclude application.properties.

Which version of Nacos are you using?

Luckylau commented 5 years ago

when I start CmdbApp alone, because the pom.xml of nachos-cmdb project excludes application.properties ,it cause "Could not resolve placeholder 'nacos.cmdb.dumpTaskInterval' in value ${nacos.cmdb.dumpTaskInterval}". By the way , I can start NamingApp alone, because the pom.xml of nacos-naming project do not exclude application.properties.

Which version of Nacos are you using?

master, the newest.

nkorange commented 5 years ago

Set the property:

nacos.cmdb.dumpTaskInterval=3600

and retry.