2

I am installing ThingsBoard on Raspberry Pi by following this guide. It gave me an error when I tend run installation script in second last step:

Run installation script:

sudo /usr/share/thingsboard/bin/install/install.sh --loadDemo

Error creating bean with name entityManagerFactory defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]

ThingsBoard installation failed!

Can anyone tell me how to fix it?

2

Probably you haven't provided your JDBC path correctly.

Check your thingsboard.yml and add correct path inside datasource: block.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.