
com.giffing.wicket.spring.boot.example.WicketApplication Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wicket-spring-boot-starter-example Show documentation
Show all versions of wicket-spring-boot-starter-example Show documentation
An example project which uses the wicket-spring-boot-starter autoconfiguration project
package com.giffing.wicket.spring.boot.example;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import com.giffing.wicket.spring.boot.example.repository.jpa.support.CustomSimpleJpaRepository;
import com.giffing.wicket.spring.boot.example.repository.services.DefaultRepositoryService;
@SpringBootApplication
@EnableJpaRepositories(basePackageClasses={DefaultRepositoryService.class}, repositoryBaseClass = CustomSimpleJpaRepository.class)
public class WicketApplication {
public static void main(String[] args) throws Exception {
new SpringApplicationBuilder()
.sources(WicketApplication.class)
.run(args);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy