-
Bug
-
Resolution: Done
-
Blocker
-
None
-
None
➜ bin git:(master) ./forge Using Forge at /home/ggastald/workspace/forge-core-2.0/dist/target/forge-distribution-2.3.1-SNAPSHOT _____ | ___|__ _ __ __ _ ___ | |_ / _ \| `__/ _` |/ _ \ \\ | _| (_) | | | (_| | __/ // |_| \___/|_| \__, |\___| |___/ JBoss Forge, version [ 2.3.1-SNAPSHOT ] - JBoss, by Red Hat, Inc. [ http://forge.jboss.org ] [bin]$ cd demo ***ERROR*** demo: No such file or directory [bin]$ project-new --named demo ***SUCCESS*** Project named 'demo' has been created. [demo]$ ls pom.xml src [demo]$ build ***ERROR*** Build failed.
From now on, any command shows the following error:
Exception when parsing/running: ls, No instance of Singleton type [org.jboss.weld.Container] found, for classloader key [ClassRealm[plexus.core, parent: null]]
The log shows this:
00:39:16,051 SEVERE [org.jboss.forge.addon.maven.projects.facets.MavenDependencyFacet] (Aesh Process Loop 1832851867) Could not resolve managed dependencies in project [/usr/local/workspace/forge-core-2.0/dist/pom.xml]. : java.lang.RuntimeException: Could not look up component of type [org.apache.maven.execution.MavenExecutionRequestPopulator] at org.jboss.forge.addon.maven.projects.PlexusContainer.lookup(PlexusContainer.java:45) at org.jboss.forge.addon.maven.projects.MavenBuildManager.getProjectBuildingRequest(MavenBuildManager.java:135) at org.jboss.forge.addon.maven.projects.MavenBuildManager.getProjectBuildingRequest(MavenBuildManager.java:122) at org.jboss.forge.addon.maven.projects.MavenBuildManager.getProjectBuildingResult(MavenBuildManager.java:74) at org.jboss.forge.addon.maven.projects.MavenFacetImpl.getProjectBuildingResult(MavenFacetImpl.java:143) at org.jboss.forge.addon.maven.projects.facets.MavenDependencyFacet.getEffectiveDependencies(MavenDependencyFacet.java:174) at org.jboss.forge.addon.maven.projects.facets.MavenDependencyFacet.getEffectiveDependency(MavenDependencyFacet.java:156) at org.jboss.forge.addon.maven.projects.facets.MavenDependencyFacet.hasEffectiveDependency(MavenDependencyFacet.java:150) at org.jboss.forge.addon.javaee.AbstractJavaEEFacet.dependencyRequirementsMet(AbstractJavaEEFacet.java:97) at org.jboss.forge.addon.javaee.AbstractJavaEEFacet.isInstalled(AbstractJavaEEFacet.java:86) at org.jboss.forge.addon.facets.AbstractFaceted.register(AbstractFaceted.java:96) [facets-api-2.3.1-SNAPSHOT.jar:2.3.1-SNAPSHOT] at org.jboss.forge.addon.facets.FacetFactoryImpl.register(FacetFactoryImpl.java:318) [facets-impl-2.3.1-SNAPSHOT.jar:2.3.1-SNAPSHOT] at org.jboss.forge.addon.facets.FacetFactoryImpl.register(FacetFactoryImpl.java:305) [facets-impl-2.3.1-SNAPSHOT.jar:2.3.1-SNAPSHOT] at org.jboss.forge.addon.facets.FacetFactoryImpl.register(FacetFactoryImpl.java:251) [facets-impl-2.3.1-SNAPSHOT.jar:2.3.1-SNAPSHOT] at org.jboss.forge.addon.projects.impl.ProjectFactoryImpl.registerAvailableFacets(ProjectFactoryImpl.java:375) at org.jboss.forge.addon.projects.impl.ProjectFactoryImpl.findProjectInDirectory(ProjectFactoryImpl.java:227) at org.jboss.forge.addon.projects.impl.ProjectFactoryImpl.findProject(ProjectFactoryImpl.java:130) at org.jboss.forge.addon.projects.impl.ProjectFactoryImpl.findProject(ProjectFactoryImpl.java:104) at org.jboss.forge.addon.projects.Projects.getSelectedProject(Projects.java:37) at org.jboss.forge.addon.projects.Projects.getSelectedProject(Projects.java:26) at org.jboss.forge.addon.projects.ui.AbstractProjectCommand.getSelectedProject(AbstractProjectCommand.java:67) at org.jboss.forge.addon.projects.ui.AbstractProjectCommand.constraintsSatisfied(AbstractProjectCommand.java:43) at org.jboss.forge.addon.projects.ui.AbstractProjectCommand.isEnabled(AbstractProjectCommand.java:36) at org.jboss.forge.addon.ui.util.Commands.isEnabled(Commands.java:54) [ui-api-2.3.1-SNAPSHOT.jar:2.3.1-SNAPSHOT] at org.jboss.forge.addon.ui.impl.command.CommandFactoryImpl.getEnabledCommandNames(CommandFactoryImpl.java:70) [ui-impl-2.3.1-SNAPSHOT.jar:2.3.1-SNAPSHOT] at org.jboss.forge.addon.shell.aesh.ForgeCommandRegistry.getForgeCommandNames(ForgeCommandRegistry.java:171) [shell-impl-2.3.1-SNAPSHOT.jar:2.3.1-SNAPSHOT] at org.jboss.forge.addon.shell.aesh.ForgeCommandRegistry.getAllCommandNames(ForgeCommandRegistry.java:162) [shell-impl-2.3.1-SNAPSHOT.jar:2.3.1-SNAPSHOT] at org.jboss.aesh.console.AeshConsoleImpl.completeCommandName(AeshConsoleImpl.java:180) [aesh-0.52-SNAPSHOT.jar:0.52-SNAPSHOT] at org.jboss.aesh.console.AeshConsoleImpl.access$000(AeshConsoleImpl.java:48) [aesh-0.52-SNAPSHOT.jar:0.52-SNAPSHOT] at org.jboss.aesh.console.AeshConsoleImpl$AeshCompletion.complete(AeshConsoleImpl.java:227) [aesh-0.52-SNAPSHOT.jar:0.52-SNAPSHOT] at org.jboss.aesh.console.AeshCompletionHandler.complete(AeshCompletionHandler.java:124) [aesh-0.52-SNAPSHOT.jar:0.52-SNAPSHOT] at org.jboss.aesh.console.AeshInputProcessor.complete(AeshInputProcessor.java:354) [aesh-0.52-SNAPSHOT.jar:0.52-SNAPSHOT] at org.jboss.aesh.console.AeshInputProcessor.parseOperation(AeshInputProcessor.java:147) [aesh-0.52-SNAPSHOT.jar:0.52-SNAPSHOT] at org.jboss.aesh.console.Console.processInternalOperation(Console.java:590) [aesh-0.52-SNAPSHOT.jar:0.52-SNAPSHOT] at org.jboss.aesh.console.Console.execute(Console.java:580) [aesh-0.52-SNAPSHOT.jar:0.52-SNAPSHOT] at org.jboss.aesh.console.Console.access$700(Console.java:60) [aesh-0.52-SNAPSHOT.jar:0.52-SNAPSHOT] at org.jboss.aesh.console.Console$6.run(Console.java:499) [aesh-0.52-SNAPSHOT.jar:0.52-SNAPSHOT] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51] at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51] Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException role: org.apache.maven.execution.MavenExecutionRequestPopulator roleHint: at org.jboss.forge.addon.maven.projects.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:264) at org.jboss.forge.addon.maven.projects.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:251) at org.jboss.forge.addon.maven.projects.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:244) at org.jboss.forge.addon.maven.projects.PlexusContainer$1.call(PlexusContainer.java:39) at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34) [furnace-api-2.3.1-SNAPSHOT.jar:2.3.1-SNAPSHOT] at org.jboss.forge.addon.maven.projects.PlexusContainer.lookup(PlexusContainer.java:34) ... 39 more Caused by: java.util.NoSuchElementException at org.eclipse.sisu.inject.LocatedBeans$Itr.next(LocatedBeans.java:141) at org.eclipse.sisu.inject.LocatedBeans$Itr.next(LocatedBeans.java:1) at org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:76) at org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:1) at org.jboss.forge.addon.maven.projects.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:260) ... 44 more