todd-ncar ha scritto:
......
>> org.springframework.beans.factory.UnsatisfiedDependencyException: Error
>> creating bean with name 'secureCatalog' defined in URL
>> [jar:file:/C:/cygwin/o
>> pt/apache-tomcat-6.0.16/webapps/geoserver/WEB-INF/lib/main-1.7.0-SNAPSHOT.jar!/applicationContext.xml]:
>> Unsatisfied dependency expressed through constructor argumen
>> t with index 1 of type [org.geoserver.security.DataAccessManager]:
>> Ambiguous
>> constructor argument types - did you specify the correct bean references
>> as
>> constructor
>> arguments?
This is strange, it seems Spring is picking up the wrong constructor.
There are two in that class, one takes just a catalog reference, the
other a catalog reference and a data access manager.
The Spring declaration is:
<bean id="rawCatalog" class="org.geoserver.catalog.impl.CatalogImpl"/>
<bean id="secureCatalog" class="org.geoserver.security.SecureCatalogImpl">
<constructor-arg index="0" ref="rawCatalog" />
</bean>
Why in your case Spring is trying to use the other constructor is
something I don't know... anyone with a clue?
Cheers
Andrea
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel