Skip to content
Snippets Groups Projects
Commit 34d98e30 authored by Thomas's avatar Thomas
Browse files

ContentStore mini fix

parent 9b89833b
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.github.paulcwarren</groupId> <groupId>com.github.paulcwarren</groupId>
<artifactId>spring-content-fs-boot-starter</artifactId> <artifactId>spring-content-jpa-boot-starter</artifactId>
<version>1.0.0.M10</version> <version>1.0.0.M10</version>
</dependency> </dependency>
......
...@@ -3,6 +3,7 @@ package mozen; ...@@ -3,6 +3,7 @@ package mozen;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan; import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.content.jpa.config.EnableJpaStores;
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.PropertySource; import org.springframework.context.annotation.PropertySource;
...@@ -14,6 +15,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement; ...@@ -14,6 +15,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
@EnableJpaRepositories(basePackageClasses = MozenApplication.class) @EnableJpaRepositories(basePackageClasses = MozenApplication.class)
@EntityScan(basePackages = "mozen.model") @EntityScan(basePackages = "mozen.model")
@ComponentScan(basePackages = "mozen") @ComponentScan(basePackages = "mozen")
@EnableJpaStores
@EnableTransactionManagement @EnableTransactionManagement
@PropertySource("classpath:application.properties") @PropertySource("classpath:application.properties")
public class MozenApplication { public class MozenApplication {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment