Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1532

No instances of [WildcardImportResolver when executing scaffold from-entity ~.model.*

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Won't Do
    • Icon: Critical Critical
    • 1.x Future
    • 1.4.4.Final
    • UI - Shell
    • None

      After generating a few entities, I generate REST enpoints with :

      rest endpoint-from-entity ~.model.*
      

      And it's ok. Then, I scaffold the JSF pages but I get the following :

      [forge144] forge144 $ scaffold setup --scaffoldType faces
      ***SUCCESS*** Installed [forge.spec.cdi] successfully.
      ***SUCCESS*** Installed [forge.spec.jsf.api] successfully.
      ***SUCCESS*** Installed [faces] successfully.
      [forge144] forge144 $ scaffold from-entity ~.model.*
      ***INFO*** Skipped non-@Entity Java resource [org.test.model.Language]
      ***INFO*** Skipped non-@Entity Java resource [org.test.model.Person]
      ***INFO*** Using currently installed scaffold [faces]
      ***ERROR*** Exception encountered: No instances of [org.jboss.forge.parser.spi.WildcardImportResolver] were found on the classpath. (type "set VERBOSE true" to enable stack traces)
      

      I get the same if I point to only one entity :

      [forge144] forge144 $ scaffold from-entity ~.model.Author.java
      ***INFO*** Using currently installed scaffold [faces]
      ***ERROR*** Exception encountered: No instances of [org.jboss.forge.parser.spi.WildcardImportResolver] were found on the classpath. (type "set VERBOSE true" to enable stack traces)
      

      And if I add the full path

      [forge144] model $ scaffold from-entity org.test.model.Author.java
      ***INFO*** Using currently installed scaffold [faces]
      ***ERROR*** Exception encountered: No instances of [org.jboss.forge.parser.spi.WildcardImportResolver] were found on the classpath. (type "set VERBOSE true" to enable stack traces)
      

              Unassigned Unassigned
              agoncal Antonio Goncalves (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: