报错处理java.lang.IllegalStateException: Cannot map handler 'operatorController' to URL path [/update]:
2015-03-18 11:15
597 查看
严重: Servlet /HealthManage threw load() exception
java.lang.IllegalStateException: Cannot map handler 'operatorController' to URL path [/update]: There is already handler of type [class com.enn.hm.controller.BaseController] mapped.
此报错是因为在工程中,存在同名的地址映射@RequestMapping("update"),讲每个地址改成不同的名字即可以解决问题。
java.lang.IllegalStateException: Cannot map handler 'operatorController' to URL path [/update]: There is already handler of type [class com.enn.hm.controller.BaseController] mapped.
此报错是因为在工程中,存在同名的地址映射@RequestMapping("update"),讲每个地址改成不同的名字即可以解决问题。
相关文章推荐
- Cannot map handler 'algorithmPlatform' to URL path [/execute.do]: There is already handler of type
- java.lang.Integer cannot be cast to java.lang.Long异常处理
- java.lang.IllegalStateException: Ambiguous mapping found. Cannot map 'itemController' bean method
- java.lang.ClassCastException: sun.net.www.protocol.http.HttpURLConnection cannot be cast to javax.n
- java.lang.IllegalArgumentException: node to traverse cannot be null! 处理方法
- java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to java.util.Map
- spark提示Caused by: java.lang.ClassCastException: scala.collection.mutable.WrappedArray$ofRef cannot be cast to [Lscala.collection.immutable.Map;
- Ljava.lang.Object; cannot be cast to java.util.Map
- Json解析异常处理方式(JSONException: Value of type java.lang.String cannot be converted to JSONObject)
- java.lang.IllegalStateException: Ambiguous mapping found. Cannot map 'occupationalHistoryController'
- java.lang.IllegalArgumentException: node to traverse cannot be null! 处理方法
- java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.util.Map
- java.lang.IllegalStateException: Ambiguous mapping found. Cannot map 'cityController' bean method
- java.lang.IllegalStateException: Cannot map handler
- java.lang.IllegalStateException: Ambiguous mapping found. Cannot map 'itemsController' bean method
- java.lang.IllegalStateException: Ambiguous mapping found. Cannot map 'itemCatController' bean method
- Json解析异常处理方式(JSONException: Value of type java.lang.String cannot be converted to JSONObject)
- java.lang.ClassCastException: libcore.net.http.HttpURLConnectionImpl cannot be cast to javax.net.ssl
- Gson解析报错 java.lang.ClassCastException: com.google.gson.internal.StringMap cannot be cast to XXX
- Json解析异常处理方式(JSONException: Value of type java.lang.String cannot be converted to JSONObject)