: Failed to convert property value of type [$Proxy8 implementing

时间:2025-02-17 20:54:05
Unable to instantiate Action, ,  defined for 'toUserSavePage' in namespace '/admin/user'Failed to convert property value of type [$Proxy8 implementing ,,] to required type [] for property 'is'; nested exception is : Cannot convert value of type [$Proxy8 implementing ,,] to required type [] for property 'is': no matching editors or conversion strategy found
	.(:307)
	.(:388)
	.(:187)
	.(:61)
	.(:39)
	.(:47)
	.(:478)
: Failed to convert property value of type [$Proxy8 implementing ,,] to required type [] for property 'is'; nested exception is : Cannot convert value of type [$Proxy8 implementing ,,] to required type [] for property 'is': no matching editors or conversion strategy found
	(:391)
	(:1289)
	(:1250)
	(:1010)
	(:329)
	.(:182)
	.(:162)
	.(:133)
	.(:139)
	.(:109)
	.(:288)
	.(:388)
	.(:187)
	.(:61)
	.(:39)
	.(:47)
	.(:478)
	.(:395)
.(:395)
出现这样的异常,是由于你声明类型是,没有用接口,而是直接采用了实现类!而根据我对这个得分析,最终导致这样的异常的原因给动态代
理有关,因为动态代理是根据接口生成代理类滴,但是你却定义了一个他的子类,这样就相当于是将一个父类强转为一个实现类,因此不行。
就像上面异常提示这样:[$Proxy8 implementing ,,
] to required type []
有什么不对希望大家指导,一起共同进步!