java: name clash
754 ワード
protected void foo(Map map) throws Exception {
protected void foo(Map<String, Object> model) throws Exception {
Error:(19, 8) java: com.yourdomain.controller.JsonpView is not abstract and does not override abstract method
renderMergedOutputModel(java.util.Map) in org.springframework.web.servlet.view.AbstractView
Error:(29, 24) java: name clash:
renderMergedOutputModel(java.util.Map<java.lang.String)
in com.yourdomain.controller.JsonpView
and
renderMergedOutputModel(java.util.Map)
in org.springframework.web.servlet.view.AbstractView
have the same erasure, yet neither overrides the other
Error:(28, 9) java: method does not override or implement a method from a supertype
今日はまた難しい問題にぶつかったので,後で討論します.