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

FacetNotFoundException: No Facet of type [interface org.jboss.forge.addon.javaee.servlet.ServletFacet] is installed. when scaffold-setup is executed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.8.0.Final
    • 2.7.2.Final
    • Scaffold
    • None
    • Hide
      project-new --named demo
      jpa-new-entity --named Customer
      jpa-new-field --named firstName
      scaffold-setup
      
      Show
      project- new --named demo jpa- new -entity --named Customer jpa- new -field --named firstName scaffold-setup
    • Workaround Exists
    • Hide

      Run scaffold-setup again

      Show
      Run scaffold-setup again

      12:49:43,797 SEVERE [org.jboss.forge.addon.shell.aesh.CommandAdapter] (AeshProcess: 4) No Facet of type [interface org.jboss.forge.addon.javaee.servlet.ServletFacet] is installed.: org.jboss.forge.addon.facets.FacetNotFoundException: No Facet of type [interface org.jboss.forge.addon.javaee.servlet.ServletFacet] is installed.
      	at org.jboss.forge.addon.facets.AbstractFaceted.getFacet(AbstractFaceted.java:51) [facets-api-2.7.3-SNAPSHOT.jar:2.7.3-SNAPSHOT]
      	at org.jboss.forge.addon.scaffold.faces.FacesScaffoldProvider.generateIndex(FacesScaffoldProvider.java:374)
      	at org.jboss.forge.addon.scaffold.faces.FacesScaffoldProvider.setup(FacesScaffoldProvider.java:210)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_11]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_11]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_11]
      	at java.lang.reflect.Method.invoke(Method.java:483) [rt.jar:1.8.0_11]
      	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87) [furnace-proxy-2.7.3-SNAPSHOT.jar:2.7.3-SNAPSHOT]
      	at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:40) [furnace-api-2.7.3-SNAPSHOT.jar:2.7.3-SNAPSHOT]
      	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103) [furnace-proxy-2.7.3-SNAPSHOT.jar:2.7.3-SNAPSHOT]
      	at org.jboss.forge.addon.scaffold.spi.ScaffoldProvider_$$_javassist_8a93a4a0-975b-4983-a86e-dd9080469182.setup(ScaffoldProvider_$$_javassist_8a93a4a0-975b-4983-a86e-dd9080469182.java)
      	at org.jboss.forge.addon.scaffold.impl.ui.ScaffoldExecuteSetupStep.execute(ScaffoldExecuteSetupStep.java:62)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_11]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_11]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_11]
      	at java.lang.reflect.Method.invoke(Method.java:483) [rt.jar:1.8.0_11]
      	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87) [furnace-proxy-2.7.3-SNAPSHOT.jar:2.7.3-SNAPSHOT]
      	at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:40) [furnace-api-2.7.3-SNAPSHOT.jar:2.7.3-SNAPSHOT]
      	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103) [furnace-proxy-2.7.3-SNAPSHOT.jar:2.7.3-SNAPSHOT]
      	at org.jboss.forge.addon.scaffold.impl.ui.ScaffoldExecuteSetupStep_$$_javassist_183e3256-0e60-4ae7-a829-1f88435a45d0.execute(ScaffoldExecuteSetupStep_$$_javassist_183e3256-0e60-4ae7-a829-1f88435a45d0.java)
      	at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.execute(WizardCommandControllerImpl.java:153) [ui-impl-2.7.3-SNAPSHOT.jar:2.7.3-SNAPSHOT]
      	at org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator.execute(NoUIWizardControllerDecorator.java:152) [ui-impl-2.7.3-SNAPSHOT.jar:2.7.3-SNAPSHOT]
      	at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:74) [shell-impl-2.7.3-SNAPSHOT.jar:2.7.3-SNAPSHOT]
      	at org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:325) [aesh-0.56.jar:0.56]
      	at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:40) [aesh-0.56.jar:0.56]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]
      

              rhn-support-ggastald George Gastaldi
              rhn-support-ggastald George Gastaldi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: