org.springframework.web.bind.MissingServletRequestParameterException: Required Long parameter 'label

来源:互联网 发布:画电路板的软件 编辑:程序博客网 时间:2024/06/06 02:56

 at java.lang.Thread.run(Thread.java:662)
Caused by: org.springframework.web.bind.MissingServletRequestParameterException: Required Long parameter 'suiteId' is not present
        at org.springframework.web.method.annotation.RequestParamMethodArgumentResolver.handleMissingValue(RequestParamMethodArgumentResolver.java:208)
        at org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver.resolveArgument(AbstractNamedValueMethodArgumentResolver.java:89)
        at org.springframework.web.method.support.HandlerMethodArgumentResolverComposite.resolveArgument(HandlerMethodArgumentResolverComposite.java:74)
        at org.springframework.web.method.support.InvocableHandlerMethod.getMethodArgumentValues(InvocableHandlerMethod.java:155)
        at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:117)
        at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96)
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617)
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578)
        at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:900)
        ... 27 more
org.springframework.web.bind.MissingServletRequestParameterException: Required Long parameter 'suiteId' is not present
        at org.springframework.web.method.annotation.RequestParamMethodArgumentResolver.handleMissingValue(RequestParamMethodArgumentResolver.java:208)
        at org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver.resolveArgument(AbstractNamedValueMethodArgumentResolver.java:89)
        at org.springframework.web.method.support.HandlerMethodArgumentResolverComposite.resolveArgument(HandlerMethodArgumentResolverComposite.java:74)
        at org.springframework.web.method.support.InvocableHandlerMethod.getMethodArgumentValues(InvocableHandlerMethod.java:155)
        at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:117)
        at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96)
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617)
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578)
        at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:900)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:827)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
        at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  • <iframe id="cproIframe_u1636200_4" width="200" height="22" src="http://pos.baidu.com/acom?adn=0&amp;at=128&amp;aurl=&amp;cad=1&amp;ccd=24&amp;cec=UTF-8&amp;cfv=16&amp;ch=0&amp;col=zh-CN&amp;conBW=0&amp;conOP=1&amp;cpa=1&amp;dai=4&amp;dis=0&amp;hn=0&amp;layout_filter=tabcloud%2Cimage&amp;ltr=https%3A%2F%2Fwww.baidu.com%2Flink%3Furl%3DFbua3vdkA8oEr4JTUDG-Hqpr054hxft2dyNQ-iY_40bKveLyOF3eIW2xIkazNM18%26wd%3D%26eqid%3Df10ac6ef0000791f000000055636d86f&amp;ltu=http%3A%2F%2Fbbs.csdn.net%2Ftopics%2F390072249&amp;lu_161=2&amp;lunum=6&amp;n=csdnbaidu_cpr&amp;pcs=1051x532&amp;pis=10000x10000&amp;ps=1713x595&amp;psr=1366x768&amp;pss=1051x1743&amp;qn=83e550add33c637a&amp;rad=&amp;rsi0=200&amp;rsi1=22&amp;rsi5=4&amp;rss0=%23FFFFFF&amp;rss1=%23FFFFFF&amp;rss2=%23000000&amp;rss3=&amp;rss4=&amp;rss5=&amp;rss6=%23000000&amp;rss7=&amp;scale=&amp;skin=&amp;td_id=1636200&amp;titFF=%E5%AE%8B%E4%BD%93&amp;titFS=12&amp;titTA=left&amp;tn=baiduTlinkInlay&amp;tpr=1446434987792&amp;ts=1&amp;version=2.0&amp;wn=0&amp;xuanting=0&amp;dtm=BAIDU_DUP2_SETJSONADSLOT&amp;dc=2&amp;di=u1636200&amp;ti=tomcat%20%E6%8A%A5%E9%94%99%E4%BB%80%E4%B9%88%E6%84%8F%E6%80%9D-CSDN%E8%AE%BA%E5%9D%9B-CSDN.NET-%E4%B8%AD%E5%9B%BD%E6%9C%80%E5%A4%A7%E7%9A%84IT%E6%8A%80%E6%9C%AF%E7%A4%BE%E5%8C%BA&amp;tt=1446434987780.696.747.747" align="center,center" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" allowtransparency="true" style="box-sizing: content-box;"></iframe>
     
  • <iframe id="cproIframe_u1636201_5" width="200" height="22" src="http://pos.baidu.com/acom?adn=0&amp;at=128&amp;aurl=&amp;cad=1&amp;ccd=24&amp;cec=UTF-8&amp;cfv=16&amp;ch=0&amp;col=zh-CN&amp;conBW=0&amp;conOP=1&amp;cpa=1&amp;dai=5&amp;dis=0&amp;hn=0&amp;layout_filter=tabcloud%2Cimage&amp;ltr=https%3A%2F%2Fwww.baidu.com%2Flink%3Furl%3DFbua3vdkA8oEr4JTUDG-Hqpr054hxft2dyNQ-iY_40bKveLyOF3eIW2xIkazNM18%26wd%3D%26eqid%3Df10ac6ef0000791f000000055636d86f&amp;ltu=http%3A%2F%2Fbbs.csdn.net%2Ftopics%2F390072249&amp;lu_161=2&amp;lunum=6&amp;n=csdnbaidu_cpr&amp;pcs=1051x532&amp;pis=10000x10000&amp;ps=1825x717&amp;psr=1366x768&amp;pss=1051x1862&amp;qn=f615564ccf32a534&amp;rad=&amp;rsi0=200&amp;rsi1=22&amp;rsi5=4&amp;rss0=%23FFFFFF&amp;rss1=%23FFFFFF&amp;rss2=%23000000&amp;rss3=&amp;rss4=&amp;rss5=&amp;rss6=%23000000&amp;rss7=&amp;scale=&amp;skin=&amp;td_id=1636201&amp;titFF=%E5%AE%8B%E4%BD%93&amp;titFS=12&amp;titTA=left&amp;tn=baiduTlinkInlay&amp;tpr=1446434987792&amp;ts=1&amp;version=2.0&amp;wn=0&amp;xuanting=0&amp;dtm=BAIDU_DUP2_SETJSONADSLOT&amp;dc=2&amp;di=u1636201&amp;ti=tomcat%20%E6%8A%A5%E9%94%99%E4%BB%80%E4%B9%88%E6%84%8F%E6%80%9D-CSDN%E8%AE%BA%E5%9D%9B-CSDN.NET-%E4%B8%AD%E5%9B%BD%E6%9C%80%E5%A4%A7%E7%9A%84IT%E6%8A%80%E6%9C%AF%E7%A4%BE%E5%8C%BA&amp;tt=1446434987780.859.917.918" align="center,center" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" allowtransparency="true" style="box-sizing: content-box;"></iframe>
     
  • <iframe id="cproIframe_u1636204_6" width="200" height="22" src="http://pos.baidu.com/acom?adn=0&amp;at=128&amp;aurl=&amp;cad=1&amp;ccd=24&amp;cec=UTF-8&amp;cfv=16&amp;ch=0&amp;col=zh-CN&amp;conBW=0&amp;conOP=1&amp;cpa=1&amp;dai=6&amp;dis=0&amp;hn=0&amp;layout_filter=tabcloud%2Cimage&amp;ltr=https%3A%2F%2Fwww.baidu.com%2Flink%3Furl%3DFbua3vdkA8oEr4JTUDG-Hqpr054hxft2dyNQ-iY_40bKveLyOF3eIW2xIkazNM18%26wd%3D%26eqid%3Df10ac6ef0000791f000000055636d86f&amp;ltu=http%3A%2F%2Fbbs.csdn.net%2Ftopics%2F390072249&amp;lu_161=2&amp;lunum=6&amp;n=csdnbaidu_cpr&amp;pcs=1051x532&amp;pis=10000x10000&amp;ps=1825x839&amp;psr=1366x768&amp;pss=1051x1862&amp;qn=3a808505d5f8ceee&amp;rad=&amp;rsi0=200&amp;rsi1=22&amp;rsi5=4&amp;rss0=%23FFFFFF&amp;rss1=%23FFFFFF&amp;rss2=%23000000&amp;rss3=&amp;rss4=&amp;rss5=&amp;rss6=%23000000&amp;rss7=&amp;scale=&amp;skin=&amp;td_id=1636204&amp;titFF=%E5%AE%8B%E4%BD%93&amp;titFS=12&amp;titTA=left&amp;tn=baiduTlinkInlay&amp;tpr=1446434987792&amp;ts=1&amp;version=2.0&amp;wn=0&amp;xuanting=0&amp;dtm=BAIDU_DUP2_SETJSONADSLOT&amp;dc=2&amp;di=u1636204&amp;ti=tomcat%20%E6%8A%A5%E9%94%99%E4%BB%80%E4%B9%88%E6%84%8F%E6%80%9D-CSDN%E8%AE%BA%E5%9D%9B-CSDN.NET-%E4%B8%AD%E5%9B%BD%E6%9C%80%E5%A4%A7%E7%9A%84IT%E6%8A%80%E6%9C%AF%E7%A4%BE%E5%8C%BA&amp;tt=1446434987780.1032.1117.1117" align="center,center" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" allowtransparency="true" style="box-sizing: content-box;"></iframe>
    对我有用[0] 丢个板砖[0] 引用 | 举报 | 管理
    回复次数:17
    #1 得分:0回复于: 2012-05-28 19:27:15
    你注解用了一个不存在的参数: suiteId 
    对我有用[0] 丢个板砖[0] 引用 | 举报 | 管理
    #2 得分:0回复于: 2012-05-29 09:15:05
    suiteId应该不存在。。检查检查你的代码
    对我有用[0] 丢个板砖[0] 引用 | 举报 | 管理
    #3 得分:0回复于: 2012-05-29 09:25:15
    Required Long parameter 'suiteId' is not present
     你的suiteId是定义的long类型吗?
    对我有用[0] 丢个板砖[0] 引用 | 举报 | 管理
    #4 得分:0回复于: 2012-05-29 09:27:04
    Required Long parameter 'suiteId' is not present
     你的suiteId是定义的Long类型吗???
    对我有用[0] 丢个板砖[0] 引用 | 举报 | 管理
    #5 得分:0回复于: 2012-05-29 09:36:26
    Required Long parameter 'suiteId' is not present
     
    请问,你定义这个参数了么··类型是什么·
    对我有用[0] 丢个板砖[0] 引用 | 举报 | 管理
    #6 得分:0回复于: 2012-05-29 10:57:40
    Required Long parameter 'suiteId' is not present
    需要的参数不存在。
    对我有用[0] 丢个板砖[0] 引用 | 举报 | 管理
    #7 得分:0回复于: 2012-05-29 13:46:48
    楼上回答的都很正确
    对我有用[0] 丢个板砖[0] 引用 | 举报 | 管理
    #8 得分:0回复于: 2012-05-29 13:52:24
    Required Long parameter 'suiteId' is not present
    check exist
    对我有用[0] 丢个板砖[0] 引用 | 举报 | 管理
    #9 得分:0回复于: 2012-05-29 14:25:01
    已经有高手回答了。
    对我有用[0] 丢个板砖[0] 引用 | 举报 | 管理
    #11 得分:0回复于: 2012-05-29 15:50:01
    get  set
    对我有用[0] 丢个板砖[0] 引用 | 举报 | 管理
    #12 得分:0回复于: 2012-05-29 15:50:33
    Required Long parameter 'suiteId' is not present
    一个Long类型的参数suiteId不存在
    对我有用[0] 丢个板砖[0] 引用 | 举报 | 管理
    #13 得分:0回复于: 2012-05-29 16:20:38
    Tomcat端口被其它应用程序所占用!
    对我有用[0] 丢个板砖[0] 引用 | 举报 | 管理
    #14 得分:0回复于: 2012-05-29 16:50:30
    看看这个'suiteId' 的类型是不是定义成Long 了,它的set和get方法都写了吗,
    对我有用[0] 丢个板砖[0] 引用 | 举报 | 管理
    #15 得分:0回复于: 2012-05-31 16:05:44
    谢谢 现在没问题了
    对我有用[0] 丢个板砖[0] 引用 | 举报 | 管理
    #16 得分:0回复于: 2012-05-31 22:15:26
    我以前经常碰到。。。
    对我有用[0] 丢个板砖[0] 引用 | 举报 | 管理
    #17 得分:0回复于: 2012-05-31 23:11:20
     Required Long parameter 'suiteId' is not present 对应一下数据库里

    0 0
    原创粉丝点击