If I replace ognl-2.6.11.jar with ognl-2.7.jar, I get the following error
when Struts starts up:

Exception starting filter struts2
java.lang.NoClassDefFoundError: javassist/ClassPath
        at ognl.OgnlRuntime.<clinit>(OgnlRuntime.java:140)
        at
com.opensymphony.xwork2.util.OgnlValueStack.reset(OgnlValueStack.java:42)
        at
com.opensymphony.xwork2.util.OgnlValueStack.<clinit>(OgnlValueStack.java:37)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:288)
        at
com.opensymphony.xwork2.inject.ContainerImpl$2.call(ContainerImpl.java:117)
        at
com.opensymphony.xwork2.inject.ContainerImpl$2.call(ContainerImpl.java:115)
        at
com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:542)
        at
com.opensymphony.xwork2.inject.ContainerImpl.injectStatics(ContainerImpl.java:114)
        at
com.opensymphony.xwork2.inject.ContainerBuilder.create(ContainerBuilder.java:494)
        at
com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:145)
        at
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:52)
        at
org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:395)
        at
org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:452)
        at
org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:201)


DNewfield wrote:
> 
> mraible wrote:
>> There doesn't seem to be much activity on this as of late. Is upgrading
>> to
>> OGNL 2.7 on the roadmap? I tried to upgrade 2.0.9 to use 2.7 and it
>> didn't
>> work.
> 
> What didn't work?  I dropped this in as a replacement a while back, and 
> have not found any issues...
> 
> -Dale
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-s2--OGNL-Version-2.7-tf4012809.html#a12281828
Sent from the Struts - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to