thingsboard icon indicating copy to clipboard operation
thingsboard copied to clipboard

can not find the file “install_dev_db.bat”

Open mybaby1 opened this issue 9 years ago • 2 comments

Hi: My thingsboard's version is 1.3. I contribute the project as the document of "Contribution Guide _ thingsboard.github.pdf" says,When I create database schema and populate demo data,I cant't find the file "install_dev_db.bat" at location "application/target/windows".But I find the file "install.bat",I run it ,but it occurs some error as following: Detecting Java version installed. Detecting if it is 64 bit machine CurrentVersion Detecting if it is 32 bit machine CurrentVersion 1.8 Java 1.8 found! Installing thingsboard ... Error: cannot find or cannot load primary class: Files\Git\bin\thingsboard\application\target\windows
\lib\thingsboard.jar ThingsBoard installation failed!

Can anybody help me? Thanks.

mybaby1 avatar Sep 12 '17 03:09 mybaby1

Hi @mybaby1 I've merged the PR that contains those files. I would ask you to pull the changes from Git, run mvn clean install again and see if the install_dev_db.bat script appears in the target folder.

mp-loki avatar Sep 12 '17 15:09 mp-loki

Yes,I pull it and run mvn clean install,It is ok ,Thanks

mybaby1 avatar Sep 13 '17 07:09 mybaby1