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: Deltaspike 1.3.0 with Weld 2.2.5
Date Fri, 01 May 2015 02:55:29 GMT
What java version?  I've had better luck with weld 2.2.6 and up if you can
upgrade.
On Apr 30, 2015 10:26 PM, "jason zhang" <jasonzhang2002@gmail.com> wrote:

> I have an application running under jetty-distribution-9.2.10.v20150310. I
> am using CDI module from jetty which is weld 2.2.5 final.
>
> I have deltaspike 1.30 in my war.
>  When I start my application, I got this error
>
> java.lang.InternalError: Enclosing method not found
> at java.lang.Class.getEnclosingMethod(Class.java:1065)
> at
>
> sun.reflect.generics.scope.ClassScope.computeEnclosingScope(ClassScope.java:50)
> at
>
> sun.reflect.generics.scope.AbstractScope.getEnclosingScope(AbstractScope.java:76)
> at sun.reflect.generics.scope.AbstractScope.lookup(AbstractScope.java:94)
> at sun.reflect.generics.scope.AbstractScope.lookup(AbstractScope.java:94)
> at
>
> sun.reflect.generics.factory.CoreReflectionFactory.findTypeVariable(CoreReflectionFactory.java:110)
> at
>
> sun.reflect.generics.visitor.Reifier.visitTypeVariableSignature(Reifier.java:165)
> at
>
> sun.reflect.generics.tree.TypeVariableSignature.accept(TypeVariableSignature.java:43)
> at
>
> sun.reflect.generics.repository.MethodRepository.getReturnType(MethodRepository.java:68)
> at java.lang.reflect.Method.getGenericReturnType(Method.java:255)
> at
>
> org.jboss.weld.annotated.slim.backed.BackedAnnotatedMethod.<init>(BackedAnnotatedMethod.java:38)
> at
>
> org.jboss.weld.annotated.slim.backed.BackedAnnotatedMethod.of(BackedAnnotatedMethod.java:32)
> at
>
> org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$BackedAnnotatedMethods.computeValue(BackedAnnotatedType.java:199)
> at
>
> org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$BackedAnnotatedMethods.computeValue(BackedAnnotatedType.java:192)
> at org.jboss.weld.util.LazyValueHolder.get(LazyValueHolder.java:35)
> at
>
> org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$EagerlyInitializedLazyValueHolder.<init>(BackedAnnotatedType.java:160)
> at
>
> org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$BackedAnnotatedMethods.<init>(BackedAnnotatedType.java:192)
> at
>
> org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$BackedAnnotatedMethods.<init>(BackedAnnotatedType.java:192)
> at
>
> org.jboss.weld.annotated.slim.backed.BackedAnnotatedType.<init>(BackedAnnotatedType.java:67)
> at
>
> org.jboss.weld.annotated.slim.backed.BackedAnnotatedType.of(BackedAnnotatedType.java:48)
> at
>
> org.jboss.weld.resources.ClassTransformer$TransformClassToBackedAnnotatedType.load(ClassTransformer.java:83)
> at
>
> org.jboss.weld.resources.ClassTransformer$TransformClassToBackedAnnotatedType.load(ClassTransformer.java:80)
>
>
> I traced down to the problematic class  which
> is org.apache.deltaspike.core.impl.message.MessageBundleExtension$1$1.
>
> Any suggestion?
>
>
> --
> -jiesheng
>

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