问题描述:在做spring注入的时候出现Bean property 'url' is not writable or has an invalid setter method。 解决方案:给url设置set方法。