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

Strange FacesFacet not installed error when creating new Gradle scaffolding

XMLWordPrintable

      project-new --named gradleTest --buildSystem Gradle
      javaee-setup --javaEEVersion 7
      jpa-new-entity --named Raj
      track-changes
      scaffold-generate --targets org.gradleTest.model.Raj
      
      [Raj.java]$ scaffold-generate --targets org.gradleTest.model.Raj 
      ***ERROR*** Error while executing 'Scaffold: Generate'
      org.jboss.forge.addon.facets.FacetNotFoundException: No Facet of type [interface org.jboss.forge.addon.javaee.faces.FacesFacet] is installed.
      	at org.jboss.forge.addon.facets.AbstractFaceted.getFacet(AbstractFaceted.java:51)
      	at org.jboss.forge.addon.scaffold.faces.FacesAccessStrategy.<init>(FacesAccessStrategy.java:27)
      	at org.jboss.forge.addon.scaffold.faces.FacesScaffoldProvider.getAccessStrategy(FacesScaffoldProvider.java:440)
      	at org.jboss.forge.addon.scaffold.faces.FacesScaffoldProvider.setupWebXML(FacesScaffoldProvider.java:582)
      	at org.jboss.forge.addon.scaffold.faces.FacesScaffoldProvider.setup(FacesScaffoldProvider.java:211)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
      	at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
      	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
      	at org.jboss.forge.addon.scaffold.spi.ScaffoldProvider_$$_javassist_4af7763e-4fcb-46fd-80d7-96b39281ad5e.setup(ScaffoldProvider_$$_javassist_4af7763e-4fcb-46fd-80d7-96b39281ad5e.java)
      	at org.jboss.forge.addon.scaffold.impl.ui.ScaffoldExecuteGenerationStep.execute(ScaffoldExecuteGenerationStep.java:69)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
      	at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
      	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
      	at org.jboss.forge.addon.scaffold.impl.ui.ScaffoldExecuteGenerationStep_$$_javassist_69f2767c-ef84-4499-a7e4-e2744dab8956.execute(ScaffoldExecuteGenerationStep_$$_javassist_69f2767c-ef84-4499-a7e4-e2744dab8956.java)
      	at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.execute(WizardCommandControllerImpl.java:153)
      	at org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator.execute(NoUIWizardControllerDecorator.java:152)
      	at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:74)
      	at org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:325)
      	at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:40)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      ***ERROR*** No Facet of type [interface org.jboss.forge.addon.javaee.faces.FacesFacet] is installed.
      [Raj.java]$ 
      

              Unassigned Unassigned
              lincolnthree Lincoln Baxter III (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: