2 Replies Latest reply on Jul 18, 2014 11:37 AM by James Perkins

    The requested facet of type [org.jboss.forge.project.facets.ResourceFacet] was not found

    Flemming Harms Novice

      Hi

       

      When I'm running this command from the forge-console 1.4.4.Final "arquillian setup --containerType MANAGED --containerName JBOSS_AS_MANAGED_7", on existing project it fails with the error below :

       

      Based on the few lira's I found there is any work around or solution, so any help will be appreciated

       

      Thanks!

       

      /Flemming

       

      My selection :

      What version of jboss-as-arquillian-container-managed do you want to use?

       

        1 - [org.jboss.as:jboss-as-arquillian-container-managed:::7.0.0.Beta1]

        2 - [org.jboss.as:jboss-as-arquillian-container-managed:::7.0.0.Beta2]

        3 - [org.jboss.as:jboss-as-arquillian-container-managed:::7.0.0.Beta3]

        4 - [org.jboss.as:jboss-as-arquillian-container-managed:::7.0.0.CR1]

        5 - [org.jboss.as:jboss-as-arquillian-container-managed:::7.0.0.Final]

        6 - [org.jboss.as:jboss-as-arquillian-container-managed:::7.0.1.Final]

        7 - [org.jboss.as:jboss-as-arquillian-container-managed:::7.0.2.Final]

        8 - [org.jboss.as:jboss-as-arquillian-container-managed:::7.1.0-alrwebinar-SNAPSHOT]

        9 - [org.jboss.as:jboss-as-arquillian-container-managed:::7.1.0.Alpha1-SNAPSHOT]

        10 - [org.jboss.as:jboss-as-arquillian-container-managed:::7.1.0.Beta1]

        11 - [org.jboss.as:jboss-as-arquillian-container-managed:::7.1.0.Beta1b]

        12 - [org.jboss.as:jboss-as-arquillian-container-managed:::7.1.0.CR1]

        13 - [org.jboss.as:jboss-as-arquillian-container-managed:::7.1.0.CR1b]

        14 - [org.jboss.as:jboss-as-arquillian-container-managed:::7.1.0.Final]

        15 - [org.jboss.as:jboss-as-arquillian-container-managed:::7.1.1.Final]

        16 - [org.jboss.as:jboss-as-arquillian-container-managed:::7.1.2.Final]

        17 - [org.jboss.as:jboss-as-arquillian-container-managed:::7.1.3.Final]

        18 - [org.jboss.as:jboss-as-arquillian-container-managed:::7.2.0.Final]*

       

      ? Choose an option by typing the number of the selection [*-default]  [0]

      ? Do you want Arquillian to install the container? [y/N] y

      Which version of the container do you want to install?

       

        1 - [org.jboss.as:jboss-as-dist:::7.0.0.CR1]

        2 - [org.jboss.as:jboss-as-dist:::7.0.0.Final]

        3 - [org.jboss.as:jboss-as-dist:::7.0.1.Final]

        4 - [org.jboss.as:jboss-as-dist:::7.0.2.Final]

        5 - [org.jboss.as:jboss-as-dist:::7.1.0-alrwebinar-SNAPSHOT]

        6 - [org.jboss.as:jboss-as-dist:::7.1.0.Alpha1-SNAPSHOT]

        7 - [org.jboss.as:jboss-as-dist:::7.1.0.Beta1]

        8 - [org.jboss.as:jboss-as-dist:::7.1.0.Beta1b]

        9 - [org.jboss.as:jboss-as-dist:::7.1.0.CR1]

        10 - [org.jboss.as:jboss-as-dist:::7.1.0.CR1b]

        11 - [org.jboss.as:jboss-as-dist:::7.1.0.Final]

        12 - [org.jboss.as:jboss-as-dist:::7.1.1.Final]

        13 - [org.jboss.as:jboss-as-dist:::7.1.3.Final]

        14 - [org.jboss.as:jboss-as-dist:::7.2.0.Final]*

       

      ? Choose an option by typing the number of the selection [*-default]  [0]

      ? Where do you want to install the container? [jbossas-managed-7]

       

      org.jboss.forge.project.facets.FacetNotFoundException: The requested facet of type [org.jboss.forge.project.facets.ResourceFacet] was not found. The facet is not installed.

      Wrote /Users/fharms/work/db-bootstrap/pom.xml

      ***ERROR*** Exception encountered: (type "set VERBOSE false" to disable stack traces)

      [db-bootstrap-subsystem-parent] db-bootstrap $  at org.jboss.forge.project.BaseProject.getFacet(BaseProject.java:103)

        at org.jboss.forge.maven.ProjectImpl.getFacet(ProjectImpl.java:43)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)

        at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)

        at org.jboss.weld.proxies.Project$-1946286523$Proxy$_$$_WeldClientProxy.getFacet(Project$-1946286523$Proxy$_$$_WeldClientProxy.java)

        at org.jboss.forge.arquillian.ArquillianPlugin.configureSelectedContainer(ArquillianPlugin.java:164)

        at org.jboss.forge.arquillian.ArquillianPlugin.installContainer(ArquillianPlugin.java:127)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.jboss.forge.shell.command.Execution.perform(Execution.java:160)

        at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)

        at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)

        at org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:796)

        at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:819)

        at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:609)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)

        at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)

        at org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)

        at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)

        at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)

        at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)

        at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)

        at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)

        at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)

        at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)

        at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)

        at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)

        at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)

        at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)

        at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)

        at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186)

        at java.lang.Thread.run(Thread.java:695)