spring-boot-multitenant
spring-boot-multitenant copied to clipboard
Spring Boot Multi-tenant Sample
Hi, I am getting with below code in conytroller ``` @Autowired private UserRepository userRepository; ``` **here is the exception** org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userController': Injection of autowired dependencies...
Could not open JPA EntityManager for transaction; nested exception is java.lang.NullPointerException
When migrating the example to spring boot 2.0.0.RELEASE have the error while calling the `tenantDataSource.getAll()`. Can you help-me?
HI when i debug into, always the default tenantId is set because the header with tenant is not set/null i call: curl -X POST -H "tenant: secondDS" http://localhost:8181/my-service/runImport ``` HttpServletRequest...
Getting the following issue while starting the app. Archive for required library: 'C:/Users/murmohan/.m2/repository/org/aspectj/aspectjweaver/1.8.8/aspectjweaver-1.8.8.jar' in project 'multitenant' cannot be read or is not a valid ZIP file Could you please help...