Spring boot, Spring Data Jpa, Problem with JpaRepository

01. марта 2017 Spring 0
When Spring boot start I have a problem «…Cannot create inner bean…» The problem depends with JpaRepository I have configuration class JpaConfig For resolve problem I did: 1 for bean entityManagerFactory in annotation I add name «emf» @Bean(name = \"emf\") public LocalContainerEntityManagerFactoryBean configureEntityManager() 2 in annotation «EnableJpaRepositories»  for JpaConfig I add property «entityManagerFactoryRef» @EnableJpaRepositories(basePackages = ...

Hot change frontend when use Spring Boot

16. февраля 2017 JAVA, Spring 0
It need when you want edit frontend (html, jsp and other) and show this changes without restarting app. add spring-boot-devtools in dependencies In maven: <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> </dependency> </dependencies>