Those errors are fine, actually, although it is true they should be cleaned up to minimize confusion. Do you get the OGNL console popup? If not, I'm guessing you are using sitemesh? We did the demo at ApacheCon with the starter archetype app, which also uses Sitemesh, so it can work.

Also, check that Struts 2 has devMode=true set in struts.properties in WEB-INF/classes. The debugging and profiling support are only enabled in dev mode.

Don

Matt Raible wrote:
I'm trying to use some features I found in Don Brown's presentation on
Struts 2.0 at ApacheCon.  Using debug=console and profiling=yes
doesn't seem to work.

When I use debug=console, I get:

ERROR - ParametersInterceptor.setParameters(180) | Developer
Notification (set webwork.devMode to false to disable this message):
No object in the CompoundRoot has a publicly accessible property named
'debug' (no setter could be found).
ERROR - CompoundRootAccessor.setProperty(66) | No object in the
CompoundRoot has a publicly accessible property named 'debug' (no
setter could be found).
ERROR - OgnlValueStack.setValue(176) | Error setting expr 'debug' with
value '[Ljava.lang.String;@74997a'
java.lang.RuntimeException: No object in the CompoundRoot has a
publicly accessible property named 'debug' (no setter could be found).

Any ideas?

Thanks,

Matt

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




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

Reply via email to