弃用的全局PropertyEditorManager后备警告

时间:2018-10-12 08:07:07

标签: java spring warnings propertyeditor

在运行我的应用程序时,我收到许多警告:

TypeConverterDelegate.findDefaultEditor(271) >> PropertyEditor [com.sun.beans.editors.EnumEditor] found through deprecated global PropertyEditorManager fallback - consider using a more isolated form of registration, e.g. on the BeanWrapper/BeanFactory!

根据similar question,我创建了自定义EnumPropertyEditor,如对该问题的回答所述。不幸的是,它没有任何改变-警告仍然存在。知道为什么它不起作用以及如何解决吗?

春季版:2.5.6

0 个答案:

没有答案