[jboss-as7-dev] Exploded Oddity with that Spring/Hibernate Example
Jaikiran Pai
jpai at redhat.com
Wed Jul 13 14:01:34 EDT 2011
On Friday 08 July 2011 10:14 PM, Jim Tyrrell wrote:
> Team,
>
>
> I have an exploded war file (spring/hibernate) that I made changes to
> based on Marius (THANK YOU!!!!!!!!!) feedback. The application
> deploys, but does not run when executed with the following errors:
> 10:08:12,829 ERROR
> [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/BRMSPoc].[brmsDispatcher]]
> (http--127.0.0.1-8080-1) Servlet.service() for servlet brmsDispatcher
> threw exception: java.lang.IllegalAccessException: Class
> org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer can not
> access a member of class
> org.jboss.stdio.StdioContext$DelegatingPrintStream with modifiers "public"
> at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65)
> [:1.6.0_24]
> at java.lang.reflect.Method.invoke(Method.java:588) [:1.6.0_24]
> at
> org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:957)
> [mvel2-2.0.16.jar:]
> at
> org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:314)
> [mvel2-2.0.16.jar:]
> at
> org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.optimizeAccessor(ReflectiveAccessorOptimizer.java:137)
> [mvel2-2.0.16.jar:]
> at org.mvel2.ast.ASTNode.getReducedValueAccelerated(ASTNode.java:137)
> [mvel2-2.0.16.jar:]
> at org.mvel2.MVELRuntime.execute(MVELRuntime.java:85) [mvel2-2.0.16.jar:]
We discussed this over IRC and this appears to be a bug in mvel2. The
application uses 2.0.16 of mvel2 (as shown in those logs). This bug
might have been fixed in 2.0.18 version. Could you please try that or a
higher version to see if it fixes this problem? Let us know how it goes.
-Jaikiran
More information about the jboss-as7-dev
mailing list