Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-26542

Forge: Cannot generate Scaffold - Faces

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 4.30.x
    • 4.11.0.AM1
    • forge
    • None
    • Hide

      1. create new project
      2. create connection profile (sakila) - https://github.com/maxandersen/sakila-h2.git
      3. create jboss data source
      4. jpa-setup
      5. jpa generate entities from tables (select *)
      6. scaffold generate - faces

      Show
      1. create new project 2. create connection profile (sakila) - https://github.com/maxandersen/sakila-h2.git 3. create jboss data source 4. jpa-setup 5. jpa generate entities from tables (select *) 6. scaffold generate - faces

      During 6. step there is an error, but I am able to generate AngularJS.

      eclipse.buildId=12.11.0.AM1-v20190128-0120-B3931
      java.version=11.0.1
      java.vendor=Oracle Corporation
      BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
      Framework arguments:  -product com.jboss.devstudio.core.product
      Command-line arguments:  -data file:/home/jkopriva/devstudio_B3931_4/maven/ -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product
      
      org.jboss.tools.forge.ui
      Error
      Fri Feb 01 14:49:37 CET 2019
      Error logged from Forge Plugin:
      
      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:3.9.2.Final_1d7dcdcd-c334-4ee1-957b-4905ca1f6dfa//org.jboss.forge.addon.facets.AbstractFaceted.getFacet(AbstractFaceted.java:57)
      	at org.jboss.forge.addon.scaffold-faces:3.9.2.Final_6ce242ce-2f53-4f72-a58d-8de470a375f4//org.jboss.forge.addon.scaffold.faces.FacesScaffoldProvider.generateIndex(FacesScaffoldProvider.java:365)
      	at org.jboss.forge.addon.scaffold-faces:3.9.2.Final_6ce242ce-2f53-4f72-a58d-8de470a375f4//org.jboss.forge.addon.scaffold.faces.FacesScaffoldProvider.setup(FacesScaffoldProvider.java:198)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      	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-faces:3.9.2.Final_6ce242ce-2f53-4f72-a58d-8de470a375f4//org.jboss.forge.addon.scaffold.faces.FacesScaffoldProvider_$$_jvst6e2_18d.setup(FacesScaffoldProvider_$$_jvst6e2_18d.java)
      	at org.jboss.forge.addon.scaffold:3.9.2.Final_e27eb70b-5693-4db5-9200-5b67c233ec2f//org.jboss.forge.addon.scaffold.impl.ui.ScaffoldExecuteGenerationStep.execute(ScaffoldExecuteGenerationStep.java:70)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      	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:3.9.2.Final_e27eb70b-5693-4db5-9200-5b67c233ec2f//org.jboss.forge.addon.scaffold.impl.ui.ScaffoldExecuteGenerationStep_$$_jvst6e2_83.execute(ScaffoldExecuteGenerationStep_$$_jvst6e2_83.java)
      	at org.jboss.forge.addon.ui:3.9.2.Final_db6031e9-2ef8-4f01-993a-921bc96a85e1//org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.execute(WizardCommandControllerImpl.java:168)
      	at org.jboss.forge.addon.ui:3.9.2.Final_db6031e9-2ef8-4f01-993a-921bc96a85e1//org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator.execute(NoUIWizardControllerDecorator.java:157)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      	at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$2.call(ClassLoaderAdapterCallback.java:124)
      	at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
      	at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:97)
      	at org.jboss.forge.addon.ui.controller.CommandController_$$_jvst43d_2a.execute(CommandController_$$_jvst43d_2a.java)
      	at org.jboss.tools.forge.ui.internal.ext.wizards.ForgeWizard$1.run(ForgeWizard.java:113)
      	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
      
      

              rhn-support-ggastald George Gastaldi
              jkopriva@redhat.com Josef Kopriva
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: