aşağıdaki hatayıHata tipi java.io.File [Belirsiz yapıcı argüman türleri]
org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'fileBean' defined in class path resource [context.xml]:
Unsatisfied dependency expressed through constructor argument with index 0 of type
[java.net.URI]: Ambiguous constructor argument types - did you specify the correct
bean references as constructor arguments?
alıyorum
<bean id="fileBean" class="java.io.File">
<constructor-arg type="java.lang.String"
value="$prop{file.path.property}" />
</bean>
sonraki bahar fasulye yapılandırma yoktur gelmiş olan fasulye oluştururken Sadece tek bir String parametresi ile java.io.File için bir kurucu, bu yüzden neden bu belirsiz emin değilim. Herhangi bir yardım takdir edildi.
Aynı şey benim için de oldu, istisna düzenleme yaptığım başka bir xml dosyasında olduğu ortaya çıktı. –