简体   繁体   English

Bean属性“ bagBisDomainService”不可写或具有无效的setter方法

[英]Bean property 'bagBisDomainService' is not writable or has an invalid setter method

I have a "Bean property 'bagBisDomainService' is not writable or has an invalid setter method" error when I execute my spring web application. 执行我的spring Web应用程序时,出现“ Bean属性'bagBisDomainService'不可写或无效的setter方法”错误。 Below is my code : 下面是我的代码:

public class StatusSynthesisFlightsAction extends WDispatchAction {

protected FlightListeCritereForm criteriaForm = null;

/**
 * Reference sur le domain service
 */
private BagDS bagBisDomainService;

/**
 * Reference sur le domain service
 */
 private FlightDS flightBisDomainService;

 /**
  * @return the bagBisDomainService
  */
 public BagDS getBagBisDomainService() {
     return bagBisDomainService;
 }


 /**
  * @param bagBisDomainService the bagBisDomainService to set
  */
 public void setBagBisDomainService(BagDS bagBisDomainService) {
     this.bagBisDomainService = bagBisDomainService;
 }


 /**
  * @return the flightDomainService
  */
 public FlightDS getFlightBisDomainService() {
     return flightBisDomainService;
 }

} }

<bean name="/statusSynthesisFlights" class="com.afklm.srbview.applicationlayer.action.flight.StatusSynthesisFlightsAction" scope="singleton">
    <property name="bagBisDomainService" ref="bagDSImpl"/>
    <property name="flightBisDomainService" ref="flightDSImpl"/>
</bean>

Any Idea ? 任何想法 ?

Thanks in advance 提前致谢

1) Re build after clean and try. 1)清洁后重新构建,然后尝试。 2) public class StatusSynthesisFlightsAction extends WDispatchAction implements serializable if 1) fails. 2)公共类StatusSynthesisFlightsAction扩展了WDispatchAction如果1)失败则实现可序列化。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 春季:Bean属性不可写或具有无效的setter方法 - Spring: Bean property is not writable or has an invalid setter method NotWritablePropertyException:Bean属性“ dataSource”不可写或具有无效的setter方法 - NotWritablePropertyException: Bean property 'dataSource' is not writable or has an invalid setter method Bean属性“transactionManagerBeanName”不可写或具有无效的setter方法 - Bean property 'transactionManagerBeanName' is not writable or has an invalid setter method Bean属性xxxDAO无法写或具有无效的setter方法 - Bean property xxxDAO is not writable or has an invalid setter method Bean属性“ channelIdentifierMap”不可写或具有无效的setter方法 - Bean property 'channelIdentifierMap' is not writable or has an invalid setter method Spring Bean属性'xxx'不可写或具有无效的setter方法 - Spring Bean property 'xxx' is not writable or has an invalid setter method Bean 属性“sessionFactory”不可写或具有无效的 setter 方法 - Bean property 'sessionFactory' is not writable or has an invalid setter method bean类的属性&#39;profileManager&#39;无效。 Bean属性“profileManager”不可写或具有无效的setter方法 - Invalid property 'profileManager' of bean class. Bean property 'profileManager' is not writable or has an invalid setter method Bean类的无效属性不可写或无效的setter方法 - Invalid property of bean class is not writable or an invalid setter method bean class [Country] 的无效属性“名称”:Bean 属性“名称”不可写或设置方法无效。 您指的是 'cname' 吗? - Invalid property 'name' of bean class [Country]: Bean property 'name' is not writable or has an invalid setter method. Did you mean 'cname'?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM