IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Autres Java Discussion :

Génération de projet avec Jhipster


Sujet :

Autres Java

  1. #1
    Membre à l'essai
    Homme Profil pro
    Développeur Web
    Inscrit en
    Mars 2016
    Messages
    28
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Puy de Dôme (Auvergne)

    Informations professionnelles :
    Activité : Développeur Web

    Informations forums :
    Inscription : Mars 2016
    Messages : 28
    Points : 19
    Points
    19
    Par défaut Génération de projet avec Jhipster
    Bonjour,

    J'ai essayé de générer un projet avec Jhipster, mais au lancement du projet j'ai quelques erreurs :

    org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'swagger2Controller': Unsatisfied dependency expressed through field 'mapper'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'serviceModelToSwagger2MapperImpl': Unsatisfied dependency expressed through field 'securityMapper'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityMapperImpl' defined in URL [jar:file:/C:/.../.m2/repository/io/springfox/springfox-swagger2/2.6.1/springfox-swagger2-2.6.1.jar!/springfox/documentation/swagger2/mappers/SecurityMapperImpl.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [springfox.documentation.swagger2.mappers.SecurityMapperImpl]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableMapEntrySet
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:588)

    Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'serviceModelToSwagger2MapperImpl': Unsatisfied dependency expressed through field 'securityMapper'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityMapperImpl' defined in URL [jar:file:/C:/.../.m2/repository/io/springfox/springfox-swagger2/2.6.1/springfox-swagger2-2.6.1.jar!/springfox/documentation/swagger2/mappers/SecurityMapperImpl.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [springfox.documentation.swagger2.mappers.SecurityMapperImpl]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableMapEntrySet
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:588)

    used by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [springfox.documentation.swagger2.mappers.SecurityMapperImpl]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableMapEntrySet
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:154)
    Caused by: java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableMapEntrySet
    at java.lang.ClassLoader.defineClass1(Native Method)
    Caused by: java.lang.ClassNotFoundException: com.google.common.collect.ImmutableMapEntrySet
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    D'ou ça peut venir selon vous ? J'ai fait un maven clean install et essayé de lancer le projet avec spring boot.

  2. #2
    Candidat au Club
    Homme Profil pro
    Administrateur de base de données
    Inscrit en
    Septembre 2015
    Messages
    2
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 31
    Localisation : Burkina Faso

    Informations professionnelles :
    Activité : Administrateur de base de données
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Septembre 2015
    Messages : 2
    Points : 3
    Points
    3
    Par défaut
    Salut.je sais que sa fait longtemps mais je veux savoir si tu t'est enssorti pour la génération de projet?

Discussions similaires

  1. Générations multiple de beans de plusieurs projets avec jaxb
    Par thierryler dans le forum Services Web
    Réponses: 0
    Dernier message: 29/09/2014, 15h24
  2. Génération de Doc avec VS2005 et NDOC pour un projet en couches
    Par elmoustamide dans le forum Visual Studio
    Réponses: 1
    Dernier message: 28/08/2007, 14h01
  3. Créer un projet avec TurboC++
    Par Thrystan dans le forum Autres éditeurs
    Réponses: 16
    Dernier message: 06/09/2003, 17h32
  4. Réponses: 4
    Dernier message: 25/08/2003, 09h02
  5. [Kylix] Projet avec fenetre marche pas
    Par Therich dans le forum EDI
    Réponses: 1
    Dernier message: 11/07/2003, 12h34

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo