IllegalArgumentException: au moins un métamodèle JPA doit être présent

en commençant par le printemps reste, je suis d'erreur suivant que

org.springframework.les haricots.usine.BeanCreationException: Erreur
la création de haricot avec le nom "jpaMappingContext': Invocation de la méthode init
échoué; nested exception java.lang.IllegalArgumentException:
moins une JPA méta-modèle doit être présent!
au org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1595)
~[printemps-haricots-5.0.0.CONSTRUIRE-INSTANTANÉ.jar:5.0.0.CONSTRUIRE-SNAPSHOT]
au org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:566)
~[printemps-haricots-5.0.0.CONSTRUIRE-INSTANTANÉ.jar:5.0.0.CONSTRUIRE-SNAPSHOT]
au org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
~[printemps-haricots-5.0.0.CONSTRUIRE-INSTANTANÉ.jar:5.0.0.CONSTRUIRE-SNAPSHOT]
au org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304)
~[printemps-haricots-5.0.0.CONSTRUIRE-INSTANTANÉ.jar:5.0.0.CONSTRUIRE-SNAPSHOT]
au org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
~[printemps-haricots-5.0.0.CONSTRUIRE-INSTANTANÉ.jar:5.0.0.CONSTRUIRE-SNAPSHOT]
au org.springframework.les haricots.usine.de soutien.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300)
~[printemps-haricots-5.0.0.CONSTRUIRE-INSTANTANÉ.jar:5.0.0.CONSTRUIRE-SNAPSHOT]
au org.springframework.les haricots.usine.de soutien.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195)
~[printemps-haricots-5.0.0.CONSTRUIRE-INSTANTANÉ.jar:5.0.0.CONSTRUIRE-SNAPSHOT]
au org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:725)
~[printemps-haricots-5.0.0.CONSTRUIRE-INSTANTANÉ.jar:5.0.0.CONSTRUIRE-SNAPSHOT]
au org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:866)
~[printemps-contexte-5.0.0.CONSTRUIRE-INSTANTANÉ.jar:5.0.0.CONSTRUIRE-SNAPSHOT]
au org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542)
~[printemps-contexte-5.0.0.CONSTRUIRE-INSTANTANÉ.jar:5.0.0.CONSTRUIRE-SNAPSHOT]
au org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
~[spring-boot-2.0.0.CONSTRUIRE-INSTANTANÉ.jar:2.0.0.CONSTRUIRE-SNAPSHOT]
au org.springframework.de démarrage.SpringApplication.refresh(SpringApplication.java:736)
[spring-boot-2.0.0.CONSTRUIRE-INSTANTANÉ.jar:2.0.0.CONSTRUIRE-SNAPSHOT]
au org.springframework.de démarrage.SpringApplication.refreshContext(SpringApplication.java:369)
[spring-boot-2.0.0.CONSTRUIRE-INSTANTANÉ.jar:2.0.0.CONSTRUIRE-SNAPSHOT]
au org.springframework.de démarrage.SpringApplication.exécuter(SpringApplication.java:313)
[spring-boot-2.0.0.CONSTRUIRE-INSTANTANÉ.jar:2.0.0.CONSTRUIRE-SNAPSHOT]
au org.springframework.de démarrage.SpringApplication.exécuter(SpringApplication.java:1161)
[spring-boot-2.0.0.CONSTRUIRE-INSTANTANÉ.jar:2.0.0.CONSTRUIRE-SNAPSHOT]
au org.springframework.de démarrage.SpringApplication.exécuter(SpringApplication.java:1150)
[spring-boot-2.0.0.CONSTRUIRE-INSTANTANÉ.jar:2.0.0.CONSTRUIRE-SNAPSHOT]
au com.java.app.QuickPollApplication.principale(QuickPollApplication.java:14)
[/catégories:na]
Causés par: java.lang.IllegalArgumentException: Au moins une JPA méta-modèle doit être présent!
au org.springframework.util.Affirmer.notEmpty(Assert.java:438) ~[printemps-core-5.0.0.CONSTRUIRE-INSTANTANÉ.jar:5.0.0.CONSTRUIRE-SNAPSHOT]
au org.springframework.les données.jpa.la cartographie.JpaMetamodelMappingContext.(JpaMetamodelMappingContext.java:52)
~[spring-data-jpa-1.11.0.CONSTRUIRE-INSTANTANÉ.jar:na]
au org.springframework.data.jpa.repository.config.JpaMetamodelMappingContextFactorybean.createInstance(JpaMetamodelMappingContextFactorybean.java:71)
~[spring-data-jpa-1.11.0.CONSTRUIRE-INSTANTANÉ.jar:na]
au org.springframework.data.jpa.repository.config.JpaMetamodelMappingContextFactorybean.createInstance(JpaMetamodelMappingContextFactorybean.java:26)
~[spring-data-jpa-1.11.0.CONSTRUIRE-INSTANTANÉ.jar:na]
au org.springframework.beans.factory.config.AbstractFactoryBean.afterPropertiesSet(AbstractFactoryBean.java:134)
~[printemps-haricots-5.0.0.CONSTRUIRE-INSTANTANÉ.jar:5.0.0.CONSTRUIRE-SNAPSHOT]
au org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1654)
~[printemps-haricots-5.0.0.CONSTRUIRE-INSTANTANÉ.jar:5.0.0.CONSTRUIRE-SNAPSHOT]
au org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1591)
~[printemps-haricots-5.0.0.CONSTRUIRE-INSTANTANÉ.jar:5.0.0.CONSTRUIRE-SNAPSHOT]
... 16 communes cadres omis

avec code suivant

@SpringBootApplication
@RestController
public class QuickPollApplication {

    public static void main(String[] args) {
        SpringApplication.run(QuickPollApplication.class, args);
    }

    @RequestMapping(value = "/test", method = RequestMethod.GET)
    public String testRest() {
        return "rest tested";
    }

et voici mon pom.xml

UTF-8
UTF-8
1.8

    <dependencies>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-data-jpa</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web-services</artifactId>
        </dependency>

        <dependency>
            <groupId>org.hsqldb</groupId>
            <artifactId>hsqldb</artifactId>
            <scope>runtime</scope>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-web</artifactId>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
            </plugin>
        </plugins>
    </build>

    <repositories>
        <repository>
            <id>spring-snapshots</id>
            <name>Spring Snapshots</name>
            <url>https://repo.spring.io/snapshot</url>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
        </repository>
        <repository>
            <id>spring-milestones</id>
            <name>Spring Milestones</name>
            <url>https://repo.spring.io/milestone</url>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
        </repository>
    </repositories>
    <pluginRepositories>
        <pluginRepository>
            <id>spring-snapshots</id>
            <name>Spring Snapshots</name>
            <url>https://repo.spring.io/snapshot</url>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
        </pluginRepository>
        <pluginRepository>
            <id>spring-milestones</id>
            <name>Spring Milestones</name>
            <url>https://repo.spring.io/milestone</url>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
        </pluginRepository>
    </pluginRepositories>

S'il vous plaît aider moi. Je ne sais pas comment résoudre cette erreur

source d'informationauteur user_xyz.LOL