We just tested and it works on JDK 8 too. In 2.5.0.Final we fixed the
"Api Version" information in the installed.xml descriptor, so Furnace
may ignore incompatible addon versions.
Does 2.5.0.Final works with a clean ~/.forge?
On 28-04-2014 11:34, forge-users(a)lists.jboss.org wrote:
Hi George,
I was indeed running on Java8, but Java 1.7.0_45 shows the same error.
I also get the same error with 2.4.1.Final.
2.3.0.Final starts when I delete ~/.forge/addons before. Does it use newer modules if
available?
Kind regards,
Robert
16:34:12,771 SEVERE [org.jboss.forge.furnace.impl.addons.AddonRunnable]
(org.jboss.forge.addon:addons,2.5.0.Final) Failed to start addon
[org.jboss.forge.addon:addons,2.5.0.Final] with classloader [ModuleClassLoader for Module
"org.jboss.forge.addon.addons:2.5.0.Final_a64f724d-b9ac-468e-9565-5c8a8d54cca6"
from AddonModuleLoader]: java.util.ServiceConfigurationError:
org.jboss.forge.furnace.lifecycle.AddonLifecycleProvider: Provider
org.jboss.forge.furnace.container.cdi.lifecycle.WeldAddonLifecycleProvider could not be
instantiated: java.lang.LinkageError: Failed to link
org/jboss/weld/resources/spi/ResourceLoader (Module
"org.jboss.forge.furnace.container.cdi:2.5.0.Final_6e6de87b-ab39-4622-8cef-208ab846f403"
from AddonModuleLoader)
at java.util.ServiceLoader.fail(ServiceLoader.java:224) [rt.jar:1.7.0_45]
at java.util.ServiceLoader.access$100(ServiceLoader.java:181) [rt.jar:1.7.0_45]
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:377)
[rt.jar:1.7.0_45]
at java.util.ServiceLoader$1.next(ServiceLoader.java:445) [rt.jar:1.7.0_45]
at org.jboss.forge.furnace.impl.addons.AddonRunnable$4.call(AddonRunnable.java:230)
[furnace-2.5.0.Final.jar:2.5.0.Final]
at org.jboss.forge.furnace.impl.addons.AddonRunnable$4.call(AddonRunnable.java:218)
[furnace-2.5.0.Final.jar:2.5.0.Final]
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
[furnace-api-2.5.0.Final.jar:2.5.0.Final]
at
org.jboss.forge.furnace.impl.addons.AddonRunnable.detectLifecycleProviderLocal(AddonRunnable.java:217)
[furnace-2.5.0.Final.jar:2.5.0.Final]
at
org.jboss.forge.furnace.impl.addons.AddonRunnable.detectLifecycleProvider(AddonRunnable.java:205)
[furnace-2.5.0.Final.jar:2.5.0.Final]
at org.jboss.forge.furnace.impl.addons.AddonRunnable.run(AddonRunnable.java:80)
[furnace-2.5.0.Final.jar:2.5.0.Final]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
[rt.jar:1.7.0_45]
at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_45]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_45]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
Caused by: java.lang.LinkageError: Failed to link
org/jboss/weld/resources/spi/ResourceLoader (Module
"org.jboss.forge.furnace.container.cdi:2.5.0.Final_6e6de87b-ab39-4622-8cef-208ab846f403"
from AddonModuleLoader)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:428)
[jboss-modules-1.3.0.Final-forge.jar:1.3.0.Final-forge]
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:261)
[jboss-modules-1.3.0.Final-forge.jar:1.3.0.Final-forge]
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:76)
[jboss-modules-1.3.0.Final-forge.jar:1.3.0.Final-forge]
at org.jboss.modules.Module.loadModuleClass(Module.java:545)
[jboss-modules-1.3.0.Final-forge.jar:1.3.0.Final-forge]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:189)
[jboss-modules-1.3.0.Final-forge.jar:1.3.0.Final-forge]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443)
[jboss-modules-1.3.0.Final-forge.jar:1.3.0.Final-forge]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431)
[jboss-modules-1.3.0.Final-forge.jar:1.3.0.Final-forge]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373)
[jboss-modules-1.3.0.Final-forge.jar:1.3.0.Final-forge]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118)
[jboss-modules-1.3.0.Final-forge.jar:1.3.0.Final-forge]
at java.lang.Class.getDeclaredConstructors0(Native Method) [rt.jar:1.7.0_45]
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2493) [rt.jar:1.7.0_45]
at java.lang.Class.getConstructor0(Class.java:2803) [rt.jar:1.7.0_45]
at java.lang.Class.newInstance(Class.java:345) [rt.jar:1.7.0_45]
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:373)
[rt.jar:1.7.0_45]
... 12 more
Caused by: java.lang.NoClassDefFoundError: org/jboss/weld/bootstrap/api/Service
at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.7.0_45]
at java.lang.ClassLoader.defineClass(ClassLoader.java:800) [rt.jar:1.7.0_45]
at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:345)
[jboss-modules-1.3.0.Final-forge.jar:1.3.0.Final-forge]
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:423)
[jboss-modules-1.3.0.Final-forge.jar:1.3.0.Final-forge]
... 25 more
Caused by: java.lang.ClassNotFoundException: org.jboss.weld.bootstrap.api.Service from
[Module
"org.jboss.forge.furnace.container.cdi:2.5.0.Final_6e6de87b-ab39-4622-8cef-208ab846f403"
from AddonModuleLoader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197)
[jboss-modules-1.3.0.Final-forge.jar:1.3.0.Final-forge]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443)
[jboss-modules-1.3.0.Final-forge.jar:1.3.0.Final-forge]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431)
[jboss-modules-1.3.0.Final-forge.jar:1.3.0.Final-forge]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373)
[jboss-modules-1.3.0.Final-forge.jar:1.3.0.Final-forge]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118)
[jboss-modules-1.3.0.Final-forge.jar:1.3.0.Final-forge]
... 29 more
Posted by forums
Original post:
https://community.jboss.org/message/871242#871242
_______________________________________________
forge-users mailing list
forge-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-users