deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John D. Ament" <john.d.am...@gmail.com>
Subject Re: NoSuchMethodError: org.apache.deltaspike.core.api.config.ConfigResolver.resolve
Date Sat, 20 Jun 2015 01:41:45 GMT
Is it possible your application has two versions of DeltaSpike in it?  This
method is fairly new.

On Fri, Jun 19, 2015 at 5:51 PM Anton Hughes <kurrent93@gmail.com> wrote:

> HI all
>
> I'm trying to use Delta Spike Data. I have have added the core and data
> maven dependencies, yet when I run my application I get the following
> error.
> I am trying to deploy to jboss as 7.1.
> Does anyone know how to resolve this?
>
> Thanks
>
> AS014777:   Services which failed to start:      service
> jboss.deployment.unit."api.war".WeldService:
> org.jboss.msc.service.StartException in service
> jboss.deployment.unit."api.war".WeldService:
> org.jboss.weld.exceptions.DefinitionException: Exception List with 1
> exceptions:
> Exception 0 :
> javax.enterprise.event.ObserverException
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at
>
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> at
>
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
> at java.lang.Class.newInstance(Class.java:379)
> at
>
> org.jboss.weld.util.reflection.SecureReflections$16.work(SecureReflections.java:343)
> at
>
> org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)
> at
>
> org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInstantiation(SecureReflectionAccess.java:173)
> at
>
> org.jboss.weld.util.reflection.SecureReflections.newInstance(SecureReflections.java:340)
> at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:33)
> at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:73)
> at
>
> org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:162)
> at
>
> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:241)
> at
>
> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:229)
> at
> org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:207)
> at
>
> org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:75)
> at
>
> org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent.fire(AbstractDefinitionContainerEvent.java:46)
> at
>
> org.jboss.weld.bootstrap.events.BeforeBeanDiscoveryImpl.fire(BeforeBeanDiscoveryImpl.java:46)
> at
>
> org.jboss.weld.bootstrap.WeldBootstrap.startInitialization(WeldBootstrap.java:322)
> at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:81)
> at org.jboss.as.weld.services.WeldService.start(WeldService.java:76)
> at
>
> org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at
>
> org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.NoSuchMethodError:
>
> org.apache.deltaspike.core.api.config.ConfigResolver.resolve(Ljava/lang/String;)Lorg/apache/deltaspike/core/api/config/ConfigResolver$UntypedResolver;
> at
>
> org.apache.deltaspike.core.api.config.base.CoreBaseConfig$InterceptorCustomization.<clinit>(CoreBaseConfig.java:37)
> at
>
> org.apache.deltaspike.core.impl.interceptor.GlobalInterceptorExtension.init(GlobalInterceptorExtension.java:50)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at
>
> org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:264)
> at
>
> org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)
> at
>
> org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137)
> at
>
> org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:260)
> at
>
> org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:170)
> at
>
> org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:51)
> at
>
> org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:154)
> ... 14 more
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message