Solucionado (ver solução)
Solucionado
(ver solução)
9
respostas

Problemas ao executar o Forge

Estou com problemas para executar o Forge no meu Windows. Baixei conforme o link passado na aula, porém no momento que vou executar ele aparece uma série de erros e não libera a linha de comando para a criação do workspace.

C:\forge\bin>forge Using Forge at C:\forge\bin..

_____

| _| _ _ __ _ ___ | | / _ | __/ _ |/ _ \ \ | | () | | | (| | __/ // || _/|_| \, |_| |/

JBoss Forge, version [ 3.9.1.Final ] - JBoss, by Red Hat, Inc. [ http://forge.jboss.org ] Hit '' for a list of available commands and 'man [cmd]' for help on a specific command.

To quit the shell, type 'exit'.

|org.jboss.forge.furnace.exception.ContainerException: Failed to load addon [org.jboss.forge.furnace.container:simple,2.28.1.Final]

9 respostas

Fala Alan,

tem mais detalhes do erro no log?

E ai Otávio... blz?

Tem sim... deixa eu ver se consigo colar toda a mensagem aqui. Using Forge at C:\Users\alan.fuentes\forge\bin..

_____

| _| _ _ __ _ ___ | | / _ | __/ _ |/ _ \ \ | | () | | | (| | __/ // || _/|_| \, |_| |/

JBoss Forge, version [ 3.9.1.Final ] - JBoss, by Red Hat, Inc. [ http://forge.jboss.org ] Hit '' for a list of available commands and 'man [cmd]' for help on a specific command.

To quit the shell, type 'exit'.

\org.jboss.forge.furnace.exception.ContainerException: Failed to load addon [org.jboss.forge.furnace.container:simple,2.28.1.Final] at org.jboss.forge.furnace.impl.addons.AddonLoader.loadAddon(AddonLoader.java:108) at org.jboss.forge.furnace.impl.addons.AddonLifecycleManager.loadAddon(AddonLifecycleManager.java:247) at org.jboss.forge.furnace.impl.graph.MasterGraphChangeHandler$7.vertexFinished(MasterGraphChangeHandler.java:296) at org.jgrapht.traverse.AbstractGraphIterator.fireVertexFinished(Unknown Source) at org.jgrapht.traverse.CrossComponentIterator.finishVertex(Unknown Source) at org.jgrapht.traverse.DepthFirstIterator.recordFinish(Unknown Source) at org.jgrapht.traverse.DepthFirstIterator.isConnectedComponentExhausted(Unknown Source) at org.jgrapht.traverse.CrossComponentIterator.hasNext(Unknown Source) at org.jboss.forge.furnace.impl.graph.MasterGraphChangeHandler.loadAddons(MasterGraphChangeHandler.java:300) at org.jboss.forge.furnace.impl.graph.MasterGraphChangeHandler.hotSwapChanges(MasterGraphChangeHandler.java:41) at org.jboss.forge.furnace.impl.addons.AddonLifecycleManager$4.call(AddonLifecycleManager.java:236) at org.jboss.forge.furnace.impl.addons.AddonLifecycleManager$4.call(AddonLifecycleManager.java:205) at org.jboss.forge.furnace.impl.lock.LockManagerImpl.performLocked(LockManagerImpl.java:55) at org.jboss.forge.furnace.impl.addons.AddonLifecycleManager.forceUpdate(AddonLifecycleManager.java:204) at org.jboss.forge.furnace.impl.FurnaceImpl$3.call(FurnaceImpl.java:348) at org.jboss.forge.furnace.impl.FurnaceImpl$3.call(FurnaceImpl.java:330) at org.jboss.forge.furnace.impl.lock.LockManagerImpl.performLocked(LockManagerImpl.java:55) at org.jboss.forge.furnace.impl.FurnaceImpl.getAddonRegistry(FurnaceImpl.java:329) at org.jboss.forge.furnace.impl.FurnaceImpl.start(FurnaceImpl.java:225) at org.jboss.forge.furnace.impl.FurnaceImpl.start(FurnaceImpl.java:203) at org.jboss.forge.bootstrap.Bootstrap.start(Bootstrap.java:317) at org.jboss.forge.bootstrap.Bootstrap.main(Bootstrap.java:95) Caused by: org.jboss.modules.ModuleNotFoundException: java.se at org.jboss.modules.Module.addPaths(Module.java:1266) at org.jboss.modules.Module.link(Module.java:1622) at org.jboss.modules.Module.relinkIfNecessary(Module.java:1650) at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:296) at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:280) at org.jboss.forge.furnace.impl.modules.AddonModuleLoader.loadAddonModule(AddonModuleLoader.java:91) at org.jboss.forge.furnace.impl.addons.AddonLoader.loadAddon(AddonLoader.java:97) ... 21 more

|org.jboss.forge.furnace.exception.ContainerException: Failed to load addon [org.jboss.forge.addon:facets,3.9.1.Final] at org.jboss.forge.furnace.impl.addons.AddonLoader.loadAddon(AddonLoader.java:108) at org.jboss.forge.furnace.impl.addons.AddonLifecycleManager.loadAddon(AddonLifecycleManager.java:247) at org.jboss.forge.furnace.impl.graph.MasterGraphChangeHandler$7.vertexFinished(MasterGraphChangeHandler.java:296) at org.jgrapht.traverse.AbstractGraphIterator.fireVertexFinished(Unknown Source) at org.jgrapht.traverse.CrossComponentIterator.finishVertex(Unknown Source) at org.jgrapht.traverse.DepthFirstIterator.recordFinish(Unknown Source) at org.jgrapht.traverse.DepthFirstIterator.isConnectedComponentExhausted(Unknown Source) at org.jgrapht.traverse.CrossComponentIterator.hasNext(Unknown Source) at org.jboss.forge.furnace.impl.graph.MasterGraphChangeHandler.loadAddons(MasterGraphChangeHandler.java:300) at org.jboss.forge.furnace.impl.graph.MasterGraphChangeHandler.hotSwapChanges(MasterGraphChangeHandler.java:41) at org.jboss.forge.furnace.impl.addons.AddonLifecycleManager$4.call(AddonLifecycleManager.java:236) at org.jboss.forge.furnace.impl.addons.AddonLifecycleManager$4.call(AddonLifecycleManager.java:205) at org.jboss.forge.furnace.impl.lock.LockManagerImpl.performLocked(LockManagerImpl.java:55) at org.jboss.forge.furnace.impl.addons.AddonLifecycleManager.forceUpdate(AddonLifecycleManager.java:204) at org.jboss.forge.furnace.impl.FurnaceImpl$3.call(FurnaceImpl.java:348) at org.jboss.forge.furnace.impl.FurnaceImpl$3.call(FurnaceImpl.java:330) at org.jboss.forge.furnace.impl.lock.LockManagerImpl.performLocked(LockManagerImpl.java:55) at org.jboss.forge.furnace.impl.FurnaceImpl.getAddonRegistry(FurnaceImpl.java:329) at org.jboss.forge.furnace.impl.FurnaceImpl.start(FurnaceImpl.java:225) at org.jboss.forge.furnace.impl.FurnaceImpl.start(FurnaceImpl.java:203) / at org.jboss.forge.bootstrap.Bootstrap.start(Bootstrap.java:317) at org.jboss.forge.bootstrap.Bootstrap.main(Bootstrap.java:95) Caused by: org.jboss.modules.ModuleNotFoundException: java.se at org.jboss.modules.Module.addPaths(Module.java:1266) at org.jboss.modules.Module.link(Module.java:1622) at org.jboss.modules.Module.relinkIfNecessary(Module.java:1650) at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:296) at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:280) at org.jboss.forge.furnace.impl.modules.AddonModuleLoader.loadAddonModule(AddonModuleLoader.java:91) at org.jboss.forge.furnace.impl.addons.AddonLoader.loadAddon(AddonLoader.java:97) ... 21 more

org.jboss.forge.furnace.exception.ContainerException: Failed to load addon [org.jboss.forge.addon:environment,3.9.1.Final] at org.jboss.forge.furnace.impl.addons.AddonLoader.loadAddon(AddonLoader.java:108) at org.jboss.forge.furnace.impl.addons.AddonLifecycleManager.loadAddon(AddonLifecycleManager.java:247) at org.jboss.forge.furnace.impl.graph.MasterGraphChangeHandler$7.vertexFinished(MasterGraphChangeHandler.java:296) at org.jgrapht.traverse.AbstractGraphIterator.fireVertexFinished(Unknown Source) at org.jgrapht.traverse.CrossComponentIterator.finishVertex(Unknown Source) at org.jgrapht.traverse.DepthFirstIterator.recordFinish(Unknown Source) at org.jgrapht.traverse.DepthFirstIterator.isConnectedComponentExhausted(Unknown Source) at org.jgrapht.traverse.CrossComponentIterator.hasNext(Unknown Source) at org.jboss.forge.furnace.impl.graph.MasterGraphChangeHandler.loadAddons(MasterGraphChangeHandler.java:300) at org.jboss.forge.furnace.impl.graph.MasterGraphChangeHandler.hotSwapChanges(MasterGraphChangeHandler.java:41) at org.jboss.forge.furnace.impl.addons.AddonLifecycleManager$4.call(AddonLifecycleManager.java:236) at org.jboss.forge.furnace.impl.addons.AddonLifecycleManager$4.call(AddonLifecycleManager.java:205) at org.jboss.forge.furnace.impl.lock.LockManagerImpl.performLocked(LockManagerImpl.java:55) at org.jboss.forge.furnace.impl.addons.AddonLifecycleManager.forceUpdate(AddonLifecycleManager.java:204)

  • at org.jboss.forge.furnace.impl.FurnaceImpl$3.call(FurnaceImpl.java:348) at org.jboss.forge.furnace.impl.FurnaceImpl$3.call(FurnaceImpl.java:330) at org.jboss.forge.furnace.impl.lock.LockManagerImpl.performLocked(LockManagerImpl.java:55) at org.jboss.forge.furnace.impl.FurnaceImpl.getAddonRegistry(FurnaceImpl.java:329) at org.jboss.forge.furnace.impl.FurnaceImpl.start(FurnaceImpl.java:225) at org.jboss.forge.furnace.impl.FurnaceImpl.start(FurnaceImpl.java:203) at org.jboss.forge.bootstrap.Bootstrap.start(Bootstrap.java:317) at org.jboss.forge.bootstrap.Bootstrap.main(Bootstrap.java:95) Caused by: org.jboss.modules.ModuleNotFoundException: java.se at org.jboss.modules.Module.addPaths(Module.java:1266) at org.jboss.modules.Module.link(Module.java:1622) at org.jboss.modules.Module.relinkIfNecessary(Module.java:1650) at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:296) at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:280) at org.jboss.forge.furnace.impl.modules.AddonModuleLoader.loadAddonModule(AddonModuleLoader.java:91) at org.jboss.forge.furnace.impl.addons.AddonLoader.loadAddon(AddonLoader.java:97) ... 21 more

\org.jboss.forge.furnace.exception.ContainerException: Failed to load addon [org.jboss.forge.addon:ui-spi,3.9.1.Final] at org.jboss.forge.furnace.impl.addons.AddonLoader.loadAddon(AddonLoader.java:108) at org.jboss.forge.furnace.impl.addons.AddonLifecycleManager.loadAddon(AddonLifecycleManager.java:247) at org.jboss.forge.furnace.impl.graph.MasterGraphChangeHandler$7.vertexFinished(MasterGraphChangeHandler.java:296) at org.jgrapht.traverse.AbstractGraphIterator.fireVertexFinished(Unknown Source) at org.jgrapht.traverse.CrossComponentIterator.finishVertex(Unknown Source) at org.jgrapht.traverse.DepthFirstIterator.recordFinish(Unknown Source) at org.jgrapht.traverse.DepthFirstIterator.isConnectedComponentExhausted(Unknown Source) at org.jgrapht.traverse.CrossComponentIterator.hasNext(Unknown Source) at org.jboss.forge.furnace.impl.graph.MasterGraphChangeHandler.loadAddons(MasterGraphChangeHandler.java:300) at org.jboss.forge.furnace.impl.graph.MasterGraphChangeHandler.hotSwapChanges(MasterGraphChangeHandler.java:41) at org.jboss.forge.furnace.impl.addons.AddonLifecycleManager$4.call(AddonLifecycleManager.java:236) at org.jboss.forge.furnace.impl.addons.AddonLifecycleManager$4.call(AddonLifecycleManager.java:205) at org.jboss.forge.furnace.impl.lock.LockManagerImpl.performLocked(LockManagerImpl.java:55) at org.jboss.forge.furnace.impl.addons.AddonLifecycleManager.forceUpdate(AddonLifecycleManager.java:204) at org.jboss.forge.furnace.impl.FurnaceImpl$3.call(FurnaceImpl.java:348) at org.jboss.forge.furnace.impl.FurnaceImpl$3.call(FurnaceImpl.java:330) at org.jboss.forge.furnace.impl.lock.LockManagerImpl.performLocked(LockManagerImpl.java:55) at org.jboss.forge.furnace.impl.FurnaceImpl.getAddonRegistry(FurnaceImpl.java:329) at org.jboss.forge.furnace.impl.FurnaceImpl.start(FurnaceImpl.java:225) at org.jboss.forge.furnace.impl.FurnaceImpl.start(FurnaceImpl.java:203) at org.jboss.forge.bootstrap.Bootstrap.start(Bootstrap.java:317) at org.jboss.forge.bootstrap.Bootstrap.main(Bootstrap.java:95) Caused by: org.jboss.modules.ModuleNotFoundException: java.se at org.jboss.modules.Module.addPaths(Module.java:1266) at org.jboss.modules.Module.link(Module.java:1622) at org.jboss.modules.Module.relinkIfNecessary(Module.java:1650) at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:296) at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:280) at org.jboss.forge.furnace.impl.modules.AddonModuleLoader.loadAddonModule(AddonModuleLoader.java:91) at org.jboss.forge.furnace.impl.addons.AddonLoader.loadAddon(AddonLoader.java:97) ... 21 more

|org.jboss.forge.furnace.exception.ContainerException: Failed to load addon [org.jboss.forge.furnace.container:cdi,2.28.1.Final] at org.jboss.forge.furnace.impl.addons.AddonLoader.loadAddon(AddonLoader.java:108) at org.jboss.forge.furnace.impl.addons.AddonLifecycleManager.loadAddon(AddonLifecycleManager.java:247) at org.jboss.forge.furnace.impl.graph.MasterGraphChangeHandler$7.vertexFinished(MasterGraphChangeHandler.java:296) at org.jgrapht.traverse.AbstractGraphIterator.fireVertexFinished(Unknown Source) at org.jgrapht.traverse.CrossComponentIterator.finishVertex(Unknown Source) at org.jgrapht.traverse.DepthFirstIterator.recordFinish(Unknown Source) at org.jgrapht.traverse.DepthFirstIterator.isConnectedComponentExhausted(Unknown Source) at org.jgrapht.traverse.CrossComponentIterator.hasNext(Unknown Source) at org.jboss.forge.furnace.impl.graph.MasterGraphChangeHandler.loadAddons(MasterGraphChangeHandler.java:300) at org.jboss.forge.furnace.impl.graph.MasterGraphChangeHandler.hotSwapChanges(MasterGraphChangeHandler.java:41) at org.jboss.forge.furnace.impl.addons.AddonLifecycleManager$4.call(AddonLifecycleManager.java:236) at org.jboss.forge.furnace.impl.addons.AddonLifecycleManager$4.call(AddonLifecycleManager.java:205) at org.jboss.forge.furnace.impl.lock.LockManagerImpl.performLocked(LockManagerImpl.java:55) at org.jboss.forge.furnace.impl.addons.AddonLifecycleManager.forceUpdate(AddonLifecycleManager.java:204) at org.jboss.forge.furnace.impl.FurnaceImpl$3.call(FurnaceImpl.java:348) at org.jboss.forge.furnace.impl.FurnaceImpl$3.call(FurnaceImpl.java:330) at org.jboss.forge.furnace.impl.lock.LockManagerImpl.performLocked(LockManagerImpl.java:55) at org.jboss.forge.furnace.impl.FurnaceImpl.getAddonRegistry(FurnaceImpl.java:329) at org.jboss.forge.furnace.impl.FurnaceImpl.start(FurnaceImpl.java:225) at org.jboss.forge.furnace.impl.FurnaceImpl.start(FurnaceImpl.java:203) at org.jboss.forge.bootstrap.Bootstrap.start(Bootstrap.java:317) at org.jboss.forge.bootstrap.Bootstrap.main(Bootstrap.java:95) Caused by: org.jboss.modules.ModuleNotFoundException: java.se at org.jboss.modules.Module.addPaths(Module.java:1266) at org.jboss.modules.Module.link(Module.java:1622) at org.jboss.modules.Module.relinkIfNecessary(Module.java:1650) at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:296) at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:280) at org.jboss.forge.furnace.impl.modules.AddonModuleLoader.loadAddonModule(AddonModuleLoader.java:91) at org.jboss.forge.furnace.impl.addons.AddonLoader.loadAddon(AddonLoader.java:97) ... 21 more

Essas são só algumas, pq tem mta mensagem...

Estou com o Java 11 na maquina e o Eclipse IDE for Java Developers 4.9.0

java version "11.0.1" 2018-10-16 LTS Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS) Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)

solução!

Tb tive esse problema,e ele é um problema conhecido do jboss-forge com o JDK11 (https://issues.jboss.org/browse/MODULES-372).

Ele é causado porque o JDK 11 não carrega mais por padrão o java.se (se vc analisar a saida das exception vai achar um Caused by: org.jboss.modules.ModuleNotFoundException: java.se).

Eu pessoalmente resolvi isso deixando de usar o JDK11 e migrando para o JDK8, mas tem uma solução de contorno para continuar usando o JDK11, que é executar o JDK com o paremetro --add-modules java.se (sou noob e não faço a menor ideia de como fazer isso, por isso fui para o JDK8).

Gustavo.... muito obrigado pelo retorno.

Fiz o teste aqui de instalar a versão do JDK 8 e agora funcionou!

Vlw