For what it is worth I have found the same problem when trying to obtain Spring beans which worked in the previous release.

Similar error: Unable to lookup $Proxy1: $Proxy1

This is looking up a Spring DAO which uses hibernate 3.

Although a simple Spring bean with a property set to a value works fine.

Paul

Hello,
After upgrading from Tapestry 4.0 alpha-2 to alpha-3 ive found a problem
with enhancement.

Im using Spring with Acegi in my application and some beans are proxyed
(config example is attached). When im trying to access those beans from
tapestry by adding "inject" tag in page or component spacification, im
getting an exception org.apache.hivemind.ApplicationRuntimeException
with message "Error adding property 'configurationService' to class
com.ensist.tapestry.pages.site.Home: Unable to lookup $Proxy2: $Proxy2"

Also i have my own InjectWorker (for own bindings like "config:") and
got the same error during adding field with initial value. Looks like
EnhancementOperationImpl.addInjectedField(String, Object) cant determine
required interface for proxyed spring bean, because in alpha-2
EnhancementOperationImpl.addField(String, Class, Object) works
correctly.

Stack trase is also attached

--
Roman Krutyakov



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



Reply via email to