PDA

View Full Version : Spring 2.0r1 Unable to locate bridged method for bridge method



pchapman
Jun 29th, 2006, 03:01 PM
I get the following error when trying to initialize my context:

java.lang.IllegalStateException: Unable to locate bridged method for bridge method 'public volatile com.alliancemanaged.simis.domain.CompanyRole com.alliancemanaged.simis.hibernate.CompanyRoleDao Impl.load(long)'
at org.springframework.core.BridgeMethodResolver.find BridgedMethod(BridgeMethodResolver.java:81)
at org.springframework.core.annotation.AnnotationUtil s.getAnnotations(AnnotationUtils.java:41)


The declaration for CompanyRoleService is here:

<bean id="companyRoleService" class="com.alliancemanaged.simis.service.impl.CompanyRole ServiceImpl">
<property name="companyRoleDao" ref="companyRoleDao"/>
<property name="companyRoleGateway" ref="companyRoleGateway"/>
</bean>


The method in question (load(long)) is in the superclass of CompanyRoleServiceImpl.

I have no idea what this error message means. If you can help point me in the right direction, I would be greatful.

Thanks,

sdwr98
Jun 30th, 2006, 03:04 PM
I ran into this issue as well - It looks like it is a known issue, present in RC1 and scheduled for fix in RC2:

http://opensource.atlassian.com/projects/spring/browse/SPR-2208

fabiofalci
Jul 23rd, 2007, 02:56 PM
Hi people..

Any news on this error?

Because i´m getting the very same error on spring 2.0.6:



java.lang.IllegalStateException: Unable to locate bridged method for bridge method 'public volatile java.lang.Object com.quantiza.cf.a.D.update(java.lang.Object)'
at org.springframework.core.BridgeMethodResolver.find BridgedMethod(BridgeMethodResolver.java:91)
at org.springframework.core.annotation.AnnotationUtil s.getAnnotations(AnnotationUtils.java:54)
...


Detail: the code is obfuscate!

Thanks!