HTTP 400 与 SpringMVC的 HttpPutFormContentFilter、FormContentFilter

 前端发送了一个http PUT请求,如下,

json_xml: {"resourceId":"c6d8e78c873911e990c4baf58f5ddbd4","properties":{"process_id":"PPM_PLAN_APPROVE","name":"任务审批","documentation":"","process_author":"","process_namespace":"http://erdpsit.lk.cn/processdef","messages":[],"executionlisteners":{"executionListeners":[]},"eventlisteners":{"eventListeners":[]},"signaldefinitions":[],"messagedefinitions":[]},"stencil":{"id":"BPMNDiagram"},"childShapes":[{"resourceId":"sid-16566905-C655-45D0-BF64-E7218819837B","properties":{"overrideid":"sid-16566905-C655-45D0-BF64-E7218819837B","name":"","documentation":"","flowstate":null,"businessinterface":[{"interfaceType":"services","interfaceDescription":"","trigger":"start","interfacePath":"ppm_plan_elWorkFlowInstanceCallbackService.processInstanceStartNotify"}],"duedatedefinition":"${dueDate}","prioritydefinition":"${priority}"},"stencil":{"id":"StartNoneEvent"},"childShapes":[],"outgoing":[{"resourceId":"sid-D8F8D91C-6DF2-4D76-A2C8-CA7C2F38BEFA"}],"bounds":{"lowerRight":{"x":90,"y":115},"upperLeft":{"x":60,"y":85}},"dockers":[]},{"resourceId":"APPROVE","properties":{"overrideid":"APPROVE","name":"任务审批","documentation":"","el_multiinstance_type":"None","el_multiinstance_condition":"","el_multiinstance_collection":"","formproperties":{"formProperties":[{"id":"route_flag","name":"路由选择","type":"enum","expression":null,"variable":null,"enumValues":[{"name":"提交","id":"0"},{"name":"驳回","id":"1"}],"required":false,"readable":true,"writable":true}]},"rolekey":"APPROVE","flowstate":"APPROVE","serialnumber":"2","businessinterface":"","usertaskassignment":{"assignment":{"assignee":"${assignee}"}},"ismail":"false","prioritydefinition":"${priority}","duedatedefinition":"${dueDate}","asynchronousdefinition":false,"exclusivedefinition":true,"multiinstance_type":"Parallel","multiinstance_collection":"${parallelMulitiInstanceTask.multiInstanceUserCollectionByExecution(execution, 'APPROVE')}","multiinstance_variable":"assignee","multiinstance_condition":"${parallelMulitiInstanceTask.completeTaskCondition(execution,'route_flag', '1')}","tasklisteners":{"taskListeners":[]},"executionlisteners":{"executionListeners":[]}},"stencil":{"id":"UserTask"},"childShapes":[],"outgoing":[{"resourceId":"sid-E8FAD13E-E968-48B9-AE07-6C036F9A1BC9"}],"bounds":{"lowerRight":{"x":235,"y":140},"upperLeft":{"x":135,"y":60}},"dockers":[]},{"resourceId":"sid-D8F8D91C-6DF2-4D76-A2C8-CA7C2F38BEFA","properties":{"overrideid":"sid-D8F8D91C-6DF2-4D76-A2C8-CA7C2F38BEFA","name":"","documentation":"","conditionsequenceflow":"","executionlisteners":"","defaultflow":"false","duedatedefinition":"${dueDate}","prioritydefinition":"${priority}"},"stencil":{"id":"SequenceFlow"},"childShapes":[],"outgoing":[{"resourceId":"APPROVE"}],"bounds":{"lowerRight":{"x":134.15625,"y":100},"upperLeft":{"x":90.609375,"y":100}},"dockers":[{"x":15,"y":15},{"x":50,"y":40}],"target":{"resourceId":"APPROVE"}},{"resourceId":"sid-1E4B58D1-C372-4713-837A-DF849C03120B","properties":{"overrideid":"sid-1E4B58D1-C372-4713-837A-DF849C03120B","name":"","documentation":"","sequencefloworder":"","duedatedefinition":"${dueDate}","prioritydefinition":"${priority}"},"stencil":{"id":"ExclusiveGateway"},"childShapes":[],"outgoing":[{"resourceId":"sid-E5E4B786-6571-42B9-A3FE-EB9DF095AE6A"},{"resourceId":"sid-E65B8FF2-BD71-4B73-8550-D14A0982559A"}],"bounds":{"lowerRight":{"x":400.0000165303578,"y":120.0000018367064},"upperLeft":{"x":360.0000165303578,"y":80.0000018367064}},"dockers":[]},{"resourceId":"PREPARING","properties":{"overrideid":"PREPARING","name":"重新提交","documentation":"","el_multiinstance_type":"None","el_multiinstance_condition":"","el_multiinstance_collection":"","formproperties":{"formProperties":[{"id":"route_flag","name":"路由选择","type":"enum","expression":null,"variable":null,"enumValues":[{"name":"提交","id":"0"},{"name":"取消","id":"1"}],"required":false,"readable":true,"writable":true}]},"rolekey":"PM","flowstate":"PREPARING","serialnumber":"1","businessinterface":[{"interfaceType":"services","interfaceDescription":"用户任务节点开始执行","trigger":"start","interfacePath":"ppm_plan_elWorkFlowUserTaskCallbackService.userTaskStartNotify"},{"interfaceType":"services","interfaceDescription":"用户节点执行完成","trigger":"complate","interfacePath":"ppm_plan_elWorkFlowUserTaskCallbackService.userTaskComplateNotify"}],"usertaskassignment":{"assignment":{"assignee":"${startUserId}"}},"ismail":"false","prioritydefinition":"${priority}","duedatedefinition":"${dueDate}","asynchronousdefinition":false,"exclusivedefinition":true,"tasklisteners":{"taskListeners":[]},"executionlisteners":{"executionListeners":[]}},"stencil":{"id":"UserTask"},"childShapes":[],"outgoing":[{"resourceId":"sid-C736A0AC-672E-44B0-BC6F-80940D380668"}],"bounds":{"lowerRight":{"x":430,"y":320},"upperLeft":{"x":330,"y":240}},"dockers":[]},{"resourceId":"sid-3E54EDB3-A4CD-4E4C-BF4F-80A1AA3C211F","properties":{"overrideid":"sid-3E54EDB3-A4CD-4E4C-BF4F-80A1AA3C211F","name":"待执行","documentation":"","flowstate":"PENDING","businessinterface":[{"interfaceType":"services","interfaceDescription":"流程结束","trigger":"start","interfacePath":"ppm_plan_elWorkFlowEndEventCallbackService.endEventNotify"},{"interfaceType":"services","interfaceDescription":"任务审批完成后修改成员表责任人active=1","trigger":"start","interfacePath":"ppm_plan_elWorkFlowMemberService.updateHandlepersonState"}],"duedatedefinition":"${dueDate}","prioritydefinition":"${priority}"},"stencil":{"id":"EndNoneEvent"},"childShapes":[],"outgoing":[],"bounds":{"lowerRight":{"x":508,"y":114.0000018367064},"upperLeft":{"x":480,"y":86.0000018367064}},"dockers":[]},{"resourceId":"sid-EDB8541B-EAF3-4A57-A2A3-519758BB581E","properties":{"overrideid":"sid-EDB8541B-EAF3-4A57-A2A3-519758BB581E","name":"","documentation":"","sequencefloworder":"","duedatedefinition":"${dueDate}","prioritydefinition":"${priority}"},"stencil":{"id":"ExclusiveGateway"},"childShapes":[],"outgoing":[{"resourceId":"sid-10C41E64-73D2-46A6-92E5-D720DAC657FC"},{"resourceId":"sid-6057CE84-FFD6-4FCB-AC12-C6964D57C1FD"}],"bounds":{"lowerRight":{"x":205,"y":300},"upperLeft":{"x":165,"y":260}},"dockers":[]},{"resourceId":"sid-C736A0AC-672E-44B0-BC6F-80940D380668","properties":{"overrideid":"sid-C736A0AC-672E-44B0-BC6F-80940D380668","name":"","documentation":"","conditionsequenceflow":"","executionlisteners":"","defaultflow":"false","duedatedefinition":"${dueDate}","prioritydefinition":"${priority}"},"stencil":{"id":"SequenceFlow"},"childShapes":[],"outgoing":[{"resourceId":"sid-EDB8541B-EAF3-4A57-A2A3-519758BB581E"}],"bounds":{"lowerRight":{"x":329.48828125,"y":280},"upperLeft":{"x":205.04296875,"y":280}},"dockers":[{"x":50,"y":40},{"x":20,"y":20}],"target":{"resourceId":"sid-EDB8541B-EAF3-4A57-A2A3-519758BB581E"}},{"resourceId":"sid-5053B7AF-8D20-4F3D-AFB3-D9C325E3E1FE","properties":{"overrideid":"sid-5053B7AF-8D20-4F3D-AFB3-D9C325E3E1FE","name":"待发布","documentation":"","flowstate":"PREPARING","businessinterface":[{"interfaceType":"services","interfaceDescription":"取消,业务状态改为待发布","trigger":"start","interfacePath":"ppm_plan_elWorkFlowEndEventCallbackService.endEventNotify"}],"duedatedefinition":"${dueDate}","prioritydefinition":"${priority}"},"stencil":{"id":"EndNoneEvent"},"childShapes":[],"outgoing":[],"bounds":{"lowerRight":{"x":508,"y":388},"upperLeft":{"x":480,"y":360}},"dockers":[]},{"resourceId":"sid-E8FAD13E-E968-48B9-AE07-6C036F9A1BC9","properties":{"overrideid":"sid-E8FAD13E-E968-48B9-AE07-6C036F9A1BC9","name":"","documentation":"","conditionsequenceflow":"","executionlisteners":"","defaultflow":"false","duedatedefinition":"${dueDate}","prioritydefinition":"${priority}"},"stencil":{"id":"SequenceFlow"},"childShapes":[],"outgoing":[{"resourceId":"sid-1E4B58D1-C372-4713-837A-DF849C03120B"}],"bounds":{"lowerRight":{"x":359.9570461660651,"y":100.00000164792152},"upperLeft":{"x":235.51172294716116,"y":100.00000047577026}},"dockers":[{"x":50,"y":40},{"x":20,"y":20}],"target":{"resourceId":"sid-1E4B58D1-C372-4713-837A-DF849C03120B"}},{"resourceId":"sid-E5E4B786-6571-42B9-A3FE-EB9DF095AE6A","properties":{"overrideid":"sid-E5E4B786-6571-42B9-A3FE-EB9DF095AE6A","name":"审批完成","documentation":"","conditionsequenceflow":"${route_flag==0}","executionlisteners":"","defaultflow":"false","duedatedefinition":"${dueDate}","prioritydefinition":"${priority}"},"stencil":{"id":"SequenceFlow"},"childShapes":[],"outgoing":[{"resourceId":"sid-3E54EDB3-A4CD-4E4C-BF4F-80A1AA3C211F"}],"bounds":{"lowerRight":{"x":479.6406269371513,"y":100.0000018367064},"upperLeft":{"x":399.70313881834596,"y":100.0000018367064}},"dockers":[{"x":20,"y":20},{"x":14,"y":14}],"target":{"resourceId":"sid-3E54EDB3-A4CD-4E4C-BF4F-80A1AA3C211F"}},{"resourceId":"sid-E65B8FF2-BD71-4B73-8550-D14A0982559A","properties":{"overrideid":"sid-E65B8FF2-BD71-4B73-8550-D14A0982559A","name":"驳回","documentation":"","conditionsequenceflow":"${route_flag==1}","executionlisteners":"","defaultflow":"false","duedatedefinition":"${dueDate}","prioritydefinition":"${priority}"},"stencil":{"id":"SequenceFlow"},"childShapes":[],"outgoing":[{"resourceId":"PREPARING"}],"bounds":{"lowerRight":{"x":380.00001469508635,"y":239.62500040177952},"upperLeft":{"x":380.0000037078511,"y":119.98437664299126}},"dockers":[{"x":20,"y":20},{"x":50,"y":40}],"target":{"resourceId":"PREPARING"}},{"resourceId":"sid-10C41E64-73D2-46A6-92E5-D720DAC657FC","properties":{"overrideid":"sid-10C41E64-73D2-46A6-92E5-D720DAC657FC","name":"取消","documentation":"","conditionsequenceflow":"${route_flag==1}","executionlisteners":"","defaultflow":"false","duedatedefinition":"${dueDate}","prioritydefinition":"${priority}"},"stencil":{"id":"SequenceFlow"},"childShapes":[],"outgoing":[{"resourceId":"sid-5053B7AF-8D20-4F3D-AFB3-D9C325E3E1FE"}],"bounds":{"lowerRight":{"x":479.72265625,"y":374},"upperLeft":{"x":185,"y":300.09375}},"dockers":[{"x":20,"y":20},{"x":185,"y":374},{"x":14,"y":14}],"target":{"resourceId":"sid-5053B7AF-8D20-4F3D-AFB3-D9C325E3E1FE"}},{"resourceId":"sid-6057CE84-FFD6-4FCB-AC12-C6964D57C1FD","properties":{"overrideid":"sid-6057CE84-FFD6-4FCB-AC12-C6964D57C1FD","name":"重新提交审批","documentation":"","conditionsequenceflow":"${route_flag==0}","executionlisteners":"","defaultflow":"false","duedatedefinition":"${dueDate}","prioritydefinition":"${priority}"},"stencil":{"id":"SequenceFlow"},"childShapes":[],"outgoing":[{"resourceId":"APPROVE"}],"bounds":{"lowerRight":{"x":185,"y":260.015625},"upperLeft":{"x":185,"y":140.375}},"dockers":[{"x":20,"y":20},{"x":50,"y":40}],"target":{"resourceId":"APPROVE"}}],"bounds":{"lowerRight":{"x":3200,"y":5050},"upperLeft":{"x":0,"y":0}},"stencilset":{"url":"stencilsets/bpmn2.0/bpmn2.0.json","namespace":"http://b3mn.org/stencilset/bpmn2.0#"},"ssextensions":[]}
svg_xml: "http://www.w3.org/2000/svg" xmlns:oryx="http://oryx-editor.org" id="sid-F6786272-22D9-4207-8547-9644D6459BF0" width="558" height="438" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg">"sid-5F8FBA7A-4B3B-40F6-A74B-89829A981659start" refX="1" refY="5" markerUnits="userSpaceOnUse" markerWidth="17" markerHeight="11" orient="auto">
              undefined
            "sid-5F8FBA7A-4B3B-40F6-A74B-89829A981659default" d="M 5 0 L 11 10" fill="white" stroke="#585858" stroke-width="1" display="none"/>
          "sid-5F8FBA7A-4B3B-40F6-A74B-89829A981659end" refX="15" refY="6" markerUnits="userSpaceOnUse" markerWidth="15" markerHeight="12" orient="auto">
              "sid-5F8FBA7A-4B3B-40F6-A74B-89829A981659arrowhead" d="M 0 1 L 15 6 L 0 11z" fill="#585858" stroke="#585858" stroke-linejoin="round" stroke-width="2"/>
          "sid-7B5E612B-78B9-416C-AD64-9AB99B97DA9Bstart" refX="1" refY="5" markerUnits="userSpaceOnUse" markerWidth="17" markerHeight="11" orient="auto">
              undefined
            "sid-7B5E612B-78B9-416C-AD64-9AB99B97DA9Bdefault" d="M 5 0 L 11 10" fill="white" stroke="#585858" stroke-width="1" display="none"/>
          "sid-7B5E612B-78B9-416C-AD64-9AB99B97DA9Bend" refX="15" refY="6" markerUnits="userSpaceOnUse" markerWidth="15" markerHeight="12" orient="auto">
              "sid-7B5E612B-78B9-416C-AD64-9AB99B97DA9Barrowhead" d="M 0 1 L 15 6 L 0 11z" fill="#585858" stroke="#585858" stroke-linejoin="round" stroke-width="2"/>
          "sid-C8F65710-6A62-4E66-94A9-10A6F637A0C8start" refX="1" refY="5" markerUnits="userSpaceOnUse" markerWidth="17" markerHeight="11" orient="auto">
              undefined
            "sid-C8F65710-6A62-4E66-94A9-10A6F637A0C8default" d="M 5 0 L 11 10" fill="white" stroke="#585858" stroke-width="1" display="none"/>
          "sid-C8F65710-6A62-4E66-94A9-10A6F637A0C8end" refX="15" refY="6" markerUnits="userSpaceOnUse" markerWidth="15" markerHeight="12" orient="auto">
              "sid-C8F65710-6A62-4E66-94A9-10A6F637A0C8arrowhead" d="M 0 1 L 15 6 L 0 11z" fill="#585858" stroke="#585858" stroke-linejoin="round" stroke-width="2"/>
          "sid-4C7A6A41-1232-4A72-85FB-9BED42A67166start" refX="1" refY="5" markerUnits="userSpaceOnUse" markerWidth="17" markerHeight="11" orient="auto">
              undefined
            "sid-4C7A6A41-1232-4A72-85FB-9BED42A67166default" d="M 5 0 L 11 10" fill="white" stroke="#585858" stroke-width="1" display="none"/>
          "sid-4C7A6A41-1232-4A72-85FB-9BED42A67166end" refX="15" refY="6" markerUnits="userSpaceOnUse" markerWidth="15" markerHeight="12" orient="auto">
              "sid-4C7A6A41-1232-4A72-85FB-9BED42A67166arrowhead" d="M 0 1 L 15 6 L 0 11z" fill="#585858" stroke="#585858" stroke-linejoin="round" stroke-width="2"/>
          "sid-FEEEF50F-D98F-412C-BFCF-2954A2D9BFB1start" refX="1" refY="5" markerUnits="userSpaceOnUse" markerWidth="17" markerHeight="11" orient="auto">
              undefined
            "sid-FEEEF50F-D98F-412C-BFCF-2954A2D9BFB1default" d="M 5 0 L 11 10" fill="white" stroke="#585858" stroke-width="1" display="none"/>
          "sid-FEEEF50F-D98F-412C-BFCF-2954A2D9BFB1end" refX="15" refY="6" markerUnits="userSpaceOnUse" markerWidth="15" markerHeight="12" orient="auto">
              "sid-FEEEF50F-D98F-412C-BFCF-2954A2D9BFB1arrowhead" d="M 0 1 L 15 6 L 0 11z" fill="#585858" stroke="#585858" stroke-linejoin="round" stroke-width="2"/>
          "sid-E0C0D654-D02B-4FEB-BE04-0F6FC8CE4868start" refX="1" refY="5" markerUnits="userSpaceOnUse" markerWidth="17" markerHeight="11" orient="auto">
              undefined
            "sid-E0C0D654-D02B-4FEB-BE04-0F6FC8CE4868default" d="M 5 0 L 11 10" fill="white" stroke="#585858" stroke-width="1" display="none"/>
          "sid-E0C0D654-D02B-4FEB-BE04-0F6FC8CE4868end" refX="15" refY="6" markerUnits="userSpaceOnUse" markerWidth="15" markerHeight="12" orient="auto">
              "sid-E0C0D654-D02B-4FEB-BE04-0F6FC8CE4868arrowhead" d="M 0 1 L 15 6 L 0 11z" fill="#585858" stroke="#585858" stroke-linejoin="round" stroke-width="2"/>
          "sid-011F7FEF-DEE8-47D7-9474-5E2A3F22A1E9start" refX="1" refY="5" markerUnits="userSpaceOnUse" markerWidth="17" markerHeight="11" orient="auto">
              undefined
            "sid-011F7FEF-DEE8-47D7-9474-5E2A3F22A1E9default" d="M 5 0 L 11 10" fill="white" stroke="#585858" stroke-width="1" display="none"/>
          "sid-011F7FEF-DEE8-47D7-9474-5E2A3F22A1E9end" refX="15" refY="6" markerUnits="userSpaceOnUse" markerWidth="15" markerHeight="12" orient="auto">
              "sid-011F7FEF-DEE8-47D7-9474-5E2A3F22A1E9arrowhead" d="M 0 1 L 15 6 L 0 11z" fill="#585858" stroke="#585858" stroke-linejoin="round" stroke-width="2"/>
          "underlay-container"/>"none" font-family="Verdana, sans-serif" font-size-adjust="none" font-style="normal" font-variant="normal" font-weight="normal" line-heigth="normal" font-size="12">class="stencils">class="me"/>class="children">"svg-sid-16566905-C655-45D0-BF64-E7218819837B">class="stencils" transform="translate(60, 85)">class="me">"fill" id="sid-C6010A0A-8DAB-4B34-83A2-A23E6FB56261" title="开始事件">
    "sid-C6010A0A-8DAB-4B34-83A2-A23E6FB56261bg_frame" cx="15" cy="15" r="15" stroke="#585858" fill="#ffffff" stroke-width="1"/>
    "11" id="sid-C6010A0A-8DAB-4B34-83A2-A23E6FB56261text_name" x="15" y="32" oryx:align="top center" stroke="#373e48" stroke-width="0pt" letter-spacing="-0.01px" transform="rotate(0 15 32)" oryx:fontSize="11" text-anchor="middle"/>
  class="children" style="overflow:hidden"/>class="edge"/>class="controls">class="dockers"/>class="magnets" transform="translate(60, 85)">"all" display="none" transform="translate(7, 7)">"8" cy="8" r="4" stroke="none" fill="red" fill-opacity="0.3"/>"svg-APPROVE">class="stencils" transform="translate(135, 60)">class="me">"fill" oryx:minimumSize="50 40" id="sid-A95D5FBF-49EA-4816-8F1A-F33DA4939234" title="用户任务">
    "sid-A95D5FBF-49EA-4816-8F1A-F33DA4939234text_frame" oryx:anchors="bottom top right left" x="1" y="1" width="94" height="74.5" rx="10" ry="10" stroke="none" stroke-width="0" fill="none"/>
    "sid-A95D5FBF-49EA-4816-8F1A-F33DA4939234bg_frame" oryx:resize="vertical horizontal" x="0" y="0" width="100" height="80" rx="10" ry="10" stroke="#bbbbbb" stroke-width="1" fill="#f9f9f9"/>
        "12" id="sid-A95D5FBF-49EA-4816-8F1A-F33DA4939234text_name" x="50" y="40" oryx:align="middle center" oryx:fittoelem="text_frame" stroke="#373e48" stroke-width="0pt" letter-spacing="-0.01px" transform="rotate(0 50 40)" oryx:fontSize="12" text-anchor="middle">"50" y="40" dy="5">任务审批
    
    "sid-A95D5FBF-49EA-4816-8F1A-F33DA4939234userTask" transform="translate(3,3)">
        "top left" style="fill:#d1b575;stroke:none;" d="m 1,17 16,0 0,-1.7778 -5.333332,-3.5555 0,-1.7778 c 1.244444,0 1.244444,-2.3111 1.244444,-2.3111 l 0,-3.0222 C 12.555557,0.8221 9.0000001,1.0001 9.0000001,1.0001 c 0,0 -3.5555556,-0.178 -3.9111111,3.5555 l 0,3.0222 c 0,0 0,2.3111 1.2444443,2.3111 l 0,1.7778 L 1,15.2222 1,17 17,17" id="sid-A95D5FBF-49EA-4816-8F1A-F33DA4939234_sid-A95D5FBF-49EA-4816-8F1A-F33DA4939234_17"/>
        
    
  
    "sid-A95D5FBF-49EA-4816-8F1A-F33DA4939234parallel" display="none">
        "bottom" fill="none" stroke="#bbbbbb" d=" M49 71  v8  M53 71  v8  M57 71  v8 " stroke-width="2" id="sid-A95D5FBF-49EA-4816-8F1A-F33DA4939234_sid-A95D5FBF-49EA-4816-8F1A-F33DA4939234_18"/>
    
    
    "sid-A95D5FBF-49EA-4816-8F1A-F33DA4939234sequential" display="none">
        "bottom" fill="none" stroke="#bbbbbb" stroke-width="2" d=" M49.05999999999998 77  h10  M49.05999999999998 73  h10  M49.05999999999998 69  h10 " id="sid-A95D5FBF-49EA-4816-8F1A-F33DA4939234_sid-A95D5FBF-49EA-4816-8F1A-F33DA4939234_19"/>
    
    

    "sid-A95D5FBF-49EA-4816-8F1A-F33DA4939234compensation">
        "bottom" fill="none" stroke="#bbbbbb" d=" M65.72 75  L69.72 71  L69.72 79  L65.72 75  L65.72 71  L61.71999999999999 75  L65.72 79  L65.72 75 " stroke-width="1" id="sid-A95D5FBF-49EA-4816-8F1A-F33DA4939234_sid-A95D5FBF-49EA-4816-8F1A-F33DA4939234_20"/>
    
  class="children" style="overflow:hidden"/>class="edge"/>class="controls">class="dockers"/>class="magnets" transform="translate(135, 60)">"all" display="none" transform="translate(-7, 12)">"8" cy="8" r="4" stroke="none" fill="red" fill-opacity="0.3"/>"all" display="none" transform="translate(-7, 32)">"8" cy="8" r="4" stroke="none" fill="red" fill-opacity="0.3"/>"all" display="none" transform="translate(-7, 52)">"8" cy="8" r="4" stroke="none" fill="red" fill-opacity="0.3"/>"all" display="none" transform="translate(17, 66.5)">"8" cy="8" r="4" stroke="none" fill="red" fill-opacity="0.3"/>"all" display="none" transform="translate(42, 66.5)">"8" cy="8" r="4" stroke="none" fill="red" fill-opacity="0.3"/>"all" display="none" transform="translate(67, 66.5)">"8" cy="8" r="4" stroke="none" fill="red" fill-opacity="0.3"/>"all" display="none" transform="translate(91, 12)">"8" cy="8" r="4" stroke="none" fill="red" fill-opacity="0.3"/>"all" display="none" transform="translate(91, 32)">"8" cy="8" r="4" stroke="none" fill="red" fill-opacity="0.3"/>"all" display="none" transform="translate(91, 52)">"8" cy="8" r="4" stroke="none" fill="red" fill-opacity="0.3"/>"all" display="none" transform="translate(17, -7)">"8" cy="8" r="4" stroke="none" fill="red" fill-opacity="0.3"/>"all" display="none" transform="translate(42, -7)">"8" cy="8" r="4" stroke="none" fill="red" fill-opacity="0.3"/>"all" display="none" transform="translate(67, -7)">"8" cy="8" r="4" stroke="none" fill="red" fill-opacity="0.3"/>"all" display="none" transform="translate(42, 32)">"8" cy="8" r="4" stroke="none" fill="red" fill-opacity="0.3"/>"svg-sid-1E4B58D1-C372-4713-837A-DF849C03120B">class="stencils" transform="translate(360.0000165303578, 80.0000018367064)">class="me">"sid-C8C720E4-D289-4734-8FC8-0CF7CC7FD26C" title="互斥网关">
  
    " M0 20.5  L20.5 0  L40 20.5  L20.5 40  z" id="sid-C8C720E4-D289-4734-8FC8-0CF7CC7FD26Cbg_frame" fill="#ffffff" stroke="#585858" style="stroke-width:1"/>
    "sid-C8C720E4-D289-4734-8FC8-0CF7CC7FD26Ccross">
      "sid-C8C720E4-D289-4734-8FC8-0CF7CC7FD26Ccrosspath" stroke="#585858" fill="#585858" d=" M13.25 12.05  L17.25 12.05  L27.65 28.95  L23.75 28.95  z" style="stroke-width:1"/>
      "sid-C8C720E4-D289-4734-8FC8-0CF7CC7FD26Ccrosspath2" stroke="#585858" fill="#585858" d=" M13.25 28.95  L23.75 12.05  L27.65 12.05  L17.25 28.95  z" style="stroke-width:1"/>
    
    
    "sid-C8C720E4-D289-4734-8FC8-0CF7CC7FD26Ctext_name" x="30" y="30" oryx:align="left top" stroke-width="0pt" letter-spacing="-0.01px" transform="rotate(0 30 30)" oryx:fontSize="12" text-anchor="start"/>
    
  class="children" style="overflow:hidden"/>class="edge"/>class="controls">class="dockers"/>class="magnets" transform="translate(360.0000165303578, 80.0000018367064)">"all" display="none" transform="translate(12.5, 12.5)">"8" cy="8" r="4" stroke="none" fill="red" fill-opacity="0.3"/>"svg-PREPARING">class="stencils" transform="translate(330, 240)">class="me">"fill" oryx:minimumSize="50 40" id="sid-54C6E15E-811C-4BDA-9304-0BB0D6AA27F0" title="用户任务">
    "sid-54C6E15E-811C-4BDA-9304-0BB0D6AA27F0text_frame" oryx:anchors="bottom top right left" x="1" y="1" width="94" height="74.5" rx="10" ry="10" stroke="none" stroke-width="0" fill="none"/>
    "sid-54C6E15E-811C-4BDA-9304-0BB0D6AA27F0bg_frame" oryx:resize="vertical horizontal" x="0" y="0" width="100" height="80" rx="10" ry="10" stroke="#bbbbbb" stroke-width="1" fill="#f9f9f9"/>
        "12" id="sid-54C6E15E-811C-4BDA-9304-0BB0D6AA27F0text_name" x="50" y="40" oryx:align="middle center" oryx:fittoelem="text_frame" stroke="#373e48" stroke-width="0pt" letter-spacing="-0.01px" transform="rotate(0 50 40)" oryx:fontSize="12" text-anchor="middle">"50" y="40" dy="5">重新提交
    
    "sid-54C6E15E-811C-4BDA-9304-0BB0D6AA27F0userTask" transform="translate(3,3)">
        "top left" style="fill:#d1b575;stroke:none;" d="m 1,17 16,0 0,-1.7778 -5.333332,-3.5555 0,-1.7778 c 1.244444,0 1.244444,-2.3111 1.244444,-2.3111 l 0,-3.0222 C 12.555557,0.8221 9.0000001,1.0001 9.0000001,1.0001 c 0,0 -3.5555556,-0.178 -3.9111111,3.5555 l 0,3.0222 c 0,0 0,2.3111 1.2444443,2.3111 l 0,1.7778 L 1,15.2222 1,17 17,17" id="sid-54C6E15E-811C-4BDA-9304-0BB0D6AA27F0_sid-54C6E15E-811C-4BDA-9304-0BB0D6AA27F0_17"/>
        
    
  
    "sid-54C6E15E-811C-4BDA-9304-0BB0D6AA27F0parallel" display="none">
        "bottom" fill="none" stroke="#bbbbbb" d=" M49 71  v8  M53 71  v8  M57 71  v8 " stroke-width="2" id="sid-54C6E15E-811C-4BDA-9304-0BB0D6AA27F0_sid-54C6E15E-811C-4BDA-9304-0BB0D6AA27F0_18"/>
    
    
    "sid-54C6E15E-811C-4BDA-9304-0BB0D6AA27F0sequential" display="none">
        "bottom" fill="none" stroke="#bbbbbb" stroke-width="2" d=" M49.05999999999998 77  h10  M49.05999999999998 73  h10  M49.05999999999998 69  h10 " id="sid-54C6E15E-811C-4BDA-9304-0BB0D6AA27F0_sid-54C6E15E-811C-4BDA-9304-0BB0D6AA27F0_19"/>
    
    

    "sid-54C6E15E-811C-4BDA-9304-0BB0D6AA27F0compensation">
        "bottom" fill="none" stroke="#bbbbbb" d=" M65.72 75  L69.72 71  L69.72 79  L65.72 75  L65.72 71  L61.71999999999999 75  L65.72 79  L65.72 75 " stroke-width="1" id="sid-54C6E15E-811C-4BDA-9304-0BB0D6AA27F0_sid-54C6E15E-811C-4BDA-9304-0BB0D6AA27F0_20"/>
    
  class="children" style="overflow:hidden"/>class="edge"/>class="controls">class="dockers"/>class="magnets" transform="translate(330, 240)">"all" display="none" transform="translate(-7, 12)">"8" cy="8" r="4" stroke="none" fill="red" fill-opacity="0.3"/>"all" display="none" transform="translate(-7, 32)">"8" cy="8" r="4" stroke="none" fill="red" fill-opacity="0.3"/>"all" display="none" transform="translate(-7, 52)">"8" cy="8" r="4" stroke="none" fill="red" fill-opacity="0.3"/>"all" display="none" transform="translate(17, 66.5)">"8" cy="8" r="4" stroke="none" fill="red" fill-opacity="0.3"/>"all" display="none" transform="translate(42, 66.5)">"8" cy="8" r="4" stroke="none" fill="red" fill-opacity="0.3"/>"all" display="none" transform="translate(67, 66.5)">"8" cy="8" r="4" stroke="none" fill="red" fill-opacity="0.3"/>"all" display="none" transform="translate(91, 12)">"8" cy="8" r="4" stroke="none" fill="red" fill-opacity="0.3"/>"all" display="none" transform="translate(91, 32)">"8" cy="8" r="4" stroke="none" fill="red" fill-opacity="0.3"/>"all" display="none" transform="translate(91, 52)">"8" cy="8" r="4" stroke="none" fill="red" fill-opacity="0.3"/>"all" display="none" transform="translate(17, -7)">"8" cy="8" r="4" stroke="none" fill="red" fill-opacity="0.3"/>"all" display="none" transform="translate(42, -7)">"8" cy="8" r="4" stroke="none" fill="red" fill-opacity="0.3"/>"all" display="none" transform="translate(67, -7)">"8" cy="8" r="4" stroke="none" fill="red" fill-opacity="0.3"/>"all" display="none" transform="translate(42, 32)">"8" cy="8" r="4" stroke="none" fill="red" fill-opacity="0.3"/>"svg-sid-3E54EDB3-A4CD-4E4C-BF4F-80A1AA3C211F">class="stencils" transform="translate(480, 86.0000018367064)">class="me">"fill" id="sid-C3DBDF92-785D-43B1-B733-EDF0A303CF21" title="结束事件">
    "sid-C3DBDF92-785D-43B1-B733-EDF0A303CF21bg_frame" cx="14" cy="14" r="14" stroke="#585858" fill="#ffffff" stroke-width="3"/>
    "11" id="sid-C3DBDF92-785D-43B1-B733-EDF0A303CF21text_name" x="14" y="30" oryx:align="top center" stroke="#373e48" stroke-width="0pt" letter-spacing="-0.01px" transform="rotate(0 14 30)" oryx:fontSize="11" text-anchor="middle">"11" x="14" y="30">待执行
  class="children" style="overflow:hidden"/>class="edge"/>class="controls">class="dockers"/>class="magnets" transform="translate(480, 86.0000018367064)">"all" display="none" transform="translate(6, 6)">"8" cy="8" r="4" stroke="none" fill="red" fill-opacity="0.3"/>"svg-sid-EDB8541B-EAF3-4A57-A2A3-519758BB581E">class="stencils" transform="translate(165, 260)">class="me">"sid-AFAE6537-9AD7-466A-969F-76A311C9578C" title="互斥网关">
  
    " M0 20.5  L20.5 0  L40 20.5  L20.5 40  z" id="sid-AFAE6537-9AD7-466A-969F-76A311C9578Cbg_frame" fill="#ffffff" stroke="#585858" style="stroke-width:1"/>
    "sid-AFAE6537-9AD7-466A-969F-76A311C9578Ccross">
      "sid-AFAE6537-9AD7-466A-969F-76A311C9578Ccrosspath" stroke="#585858" fill="#585858" d=" M13.25 12.05  L17.25 12.05  L27.65 28.95  L23.75 28.95  z" style="stroke-width:1"/>
      "sid-AFAE6537-9AD7-466A-969F-76A311C9578Ccrosspath2" stroke="#585858" fill="#585858" d=" M13.25 28.95  L23.75 12.05  L27.65 12.05  L17.25 28.95  z" style="stroke-width:1"/>
    
    
    "sid-AFAE6537-9AD7-466A-969F-76A311C9578Ctext_name" x="30" y="30" oryx:align="left top" stroke-width="0pt" letter-spacing="-0.01px" transform="rotate(0 30 30)" oryx:fontSize="12" text-anchor="start"/>
    
  class="children" style="overflow:hidden"/>class="edge"/>class="controls">class="dockers"/>class="magnets" transform="translate(165, 260)">"all" display="none" transform="translate(12.5, 12.5)">"8" cy="8" r="4" stroke="none" fill="red" fill-opacity="0.3"/>"svg-sid-5053B7AF-8D20-4F3D-AFB3-D9C325E3E1FE">class="stencils" transform="translate(480, 360)">class="me">"fill" id="sid-B3973B8C-6AC3-4D3C-8FDD-99E1C48C374C" title="结束事件">
    "sid-B3973B8C-6AC3-4D3C-8FDD-99E1C48C374Cbg_frame" cx="14" cy="14" r="14" stroke="#585858" fill="#ffffff" stroke-width="3"/>
    "11" id="sid-B3973B8C-6AC3-4D3C-8FDD-99E1C48C374Ctext_name" x="14" y="30" oryx:align="top center" stroke="#373e48" stroke-width="0pt" letter-spacing="-0.01px" transform="rotate(0 14 30)" oryx:fontSize="11" text-anchor="middle">"11" x="14" y="30">待发布
  class="children" style="overflow:hidden"/>class="edge"/>class="controls">class="dockers"/>class="magnets" transform="translate(480, 360)">"all" display="none" transform="translate(6, 6)">"8" cy="8" r="4" stroke="none" fill="red" fill-opacity="0.3"/>class="edge">"svg-sid-D8F8D91C-6DF2-4D76-A2C8-CA7C2F38BEFA">class="stencils">class="me">"painted">"sid-5F8FBA7A-4B3B-40F6-A74B-89829A981659_1" d="M90.609375 100L134.15625 100 " stroke="#585858" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" marker-start="url(#sid-5F8FBA7A-4B3B-40F6-A74B-89829A981659start)" marker-end="url(#sid-5F8FBA7A-4B3B-40F6-A74B-89829A981659end)"/>"sid-5F8FBA7A-4B3B-40F6-A74B-89829A981659text_name" x="98" y="92" oryx:edgePosition="startTop" stroke-width="0pt" letter-spacing="-0.01px" transform="rotate(360 90 100)" oryx:fontSize="12" text-anchor="start"/>class="children" style="overflow:hidden"/>class="edge"/>class="controls">class="dockers"/>class="magnets"/>"svg-sid-C736A0AC-672E-44B0-BC6F-80940D380668">class="stencils">class="me">"painted">"sid-7B5E612B-78B9-416C-AD64-9AB99B97DA9B_1" d="M329.48828125 280L205.04296875 280 " stroke="#585858" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" marker-start="url(#sid-7B5E612B-78B9-416C-AD64-9AB99B97DA9Bstart)" marker-end="url(#sid-7B5E612B-78B9-416C-AD64-9AB99B97DA9Bend)"/>"sid-7B5E612B-78B9-416C-AD64-9AB99B97DA9Btext_name" x="321" y="272" oryx:edgePosition="startTop" stroke-width="0pt" letter-spacing="-0.01px" transform="rotate(0 329 280)" oryx:fontSize="12" text-anchor="end"/>class="children" style="overflow:hidden"/>class="edge"/>class="controls">class="dockers"/>class="magnets"/>"svg-sid-E8FAD13E-E968-48B9-AE07-6C036F9A1BC9">class="stencils">class="me">"painted">"sid-C8F65710-6A62-4E66-94A9-10A6F637A0C8_1" d="M235.51172294716116 100.00000047577026L359.9570461660651 100.00000164792152 " stroke="#585858" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" marker-start="url(#sid-C8F65710-6A62-4E66-94A9-10A6F637A0C8start)" marker-end="url(#sid-C8F65710-6A62-4E66-94A9-10A6F637A0C8end)"/>"sid-C8F65710-6A62-4E66-94A9-10A6F637A0C8text_name" x="243" y="92" oryx:edgePosition="startTop" stroke-width="0pt" letter-spacing="-0.01px" transform="rotate(5.396693154580134e-7 235 100)" oryx:fontSize="12" text-anchor="start"/>class="children" style="overflow:hidden"/>class="edge"/>class="controls">class="dockers"/>class="magnets"/>"svg-sid-E5E4B786-6571-42B9-A3FE-EB9DF095AE6A">class="stencils">class="me">"painted">"sid-4C7A6A41-1232-4A72-85FB-9BED42A67166_1" d="M399.70313881834596 100.0000018367064L479.6406269371513 100.0000018367064 " stroke="#585858" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" marker-start="url(#sid-4C7A6A41-1232-4A72-85FB-9BED42A67166start)" marker-end="url(#sid-4C7A6A41-1232-4A72-85FB-9BED42A67166end)"/>"sid-4C7A6A41-1232-4A72-85FB-9BED42A67166text_name" x="407" y="92" oryx:edgePosition="startTop" stroke-width="0pt" letter-spacing="-0.01px" transform="rotate(360 399 100)" oryx:fontSize="12" text-anchor="start">"0" x="407" y="92">审批完成class="children" style="overflow:hidden"/>class="edge"/>class="controls">class="dockers"/>class="magnets"/>"svg-sid-E65B8FF2-BD71-4B73-8550-D14A0982559A">class="stencils">class="me">"painted">"sid-FEEEF50F-D98F-412C-BFCF-2954A2D9BFB1_1" d="M380.00001469508635 119.98437664299126L380.0000037078511 239.62500040177952 " stroke="#585858" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" marker-start="url(#sid-FEEEF50F-D98F-412C-BFCF-2954A2D9BFB1start)" marker-end="url(#sid-FEEEF50F-D98F-412C-BFCF-2954A2D9BFB1end)"/>"sid-FEEEF50F-D98F-412C-BFCF-2954A2D9BFB1text_name" x="372" y="111" oryx:edgePosition="startTop" stroke-width="0pt" letter-spacing="-0.01px" transform="rotate(-89.99999466818531 380 119)" oryx:fontSize="12" text-anchor="end">"0" x="372" y="111">驳回class="children" style="overflow:hidden"/>class="edge"/>class="controls">class="dockers"/>class="magnets"/>"svg-sid-10C41E64-73D2-46A6-92E5-D720DAC657FC">class="stencils">class="me">"painted">"sid-E0C0D654-D02B-4FEB-BE04-0F6FC8CE4868_1" d="M185 300.09375L185 374 L479.72265625 374 " stroke="#585858" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" marker-start="url(#sid-E0C0D654-D02B-4FEB-BE04-0F6FC8CE4868start)" marker-end="url(#sid-E0C0D654-D02B-4FEB-BE04-0F6FC8CE4868end)"/>"sid-E0C0D654-D02B-4FEB-BE04-0F6FC8CE4868text_name" x="177" y="292" oryx:edgePosition="startTop" stroke-width="0pt" letter-spacing="-0.01px" transform="rotate(-90 185 300)" oryx:fontSize="12" text-anchor="end">"0" x="177" y="292">取消class="children" style="overflow:hidden"/>class="edge"/>class="controls">class="dockers"/>class="magnets"/>"svg-sid-6057CE84-FFD6-4FCB-AC12-C6964D57C1FD">class="stencils">class="me">"painted">"sid-011F7FEF-DEE8-47D7-9474-5E2A3F22A1E9_1" d="M185 260.015625L185 140.375 " stroke="#585858" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" marker-start="url(#sid-011F7FEF-DEE8-47D7-9474-5E2A3F22A1E9start)" marker-end="url(#sid-011F7FEF-DEE8-47D7-9474-5E2A3F22A1E9end)"/>"sid-011F7FEF-DEE8-47D7-9474-5E2A3F22A1E9text_name" x="193" y="252" oryx:edgePosition="startTop" stroke-width="0pt" letter-spacing="-0.01px" transform="rotate(270 185 260)" oryx:fontSize="12" text-anchor="start">"0" x="193" y="252">重新提交审批class="children" style="overflow:hidden"/>class="edge"/>class="controls">class="dockers"/>class="magnets"/>class="svgcontainer">"none">"0" y="0" stroke-width="1" stroke="#777777" fill="none" stroke-dasharray="2,2" pointer-events="none"/>"none">"1" stroke="silver" fill="none" stroke-dasharray="5,5" pointer-events="none"/>"none">"1" stroke="silver" fill="none" stroke-dasharray="5,5" pointer-events="none"/>
name: 计划发布流程aaa
description: 计划发布流程
View Code

后端出现错误:

2019-06-05 18:43:38.268 ERROR 28652 --- [io-8094-exec-10] c.e.p.w.c.c.ELProcModelController        : 缺少请求参数

org.springframework.web.bind.MissingServletRequestParameterException: Required String parameter 'name' is not present
    at org.springframework.web.method.annotation.RequestParamMethodArgumentResolver.handleMissingValue(RequestParamMethodArgumentResolver.java:202) ~[spring-web-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
    at org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver.resolveArgument(AbstractNamedValueMethodArgumentResolver.java:113) ~[spring-web-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
    at org.springframework.web.method.support.HandlerMethodArgumentResolverComposite.resolveArgument(HandlerMethodArgumentResolverComposite.java:126) ~[spring-web-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
    at org.springframework.web.method.support.InvocableHandlerMethod.getMethodArgumentValues(InvocableHandlerMethod.java:166) ~[spring-web-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
    at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:134) ~[spring-web-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
    at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) ~[spring-webmvc-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
    at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) ~[spring-webmvc-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
    at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) ~[spring-webmvc-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
    at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) ~[spring-webmvc-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) ~[spring-webmvc-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) [spring-webmvc-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
    at org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServlet.java:919) [spring-webmvc-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:663) [tomcat-embed-core-9.0.16.jar!/:9.0.16]
    at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) [spring-webmvc-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) [tomcat-embed-core-9.0.16.jar!/:9.0.16]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [tomcat-embed-core-9.0.16.jar!/:9.0.16]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.16.jar!/:9.0.16]
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) [tomcat-embed-websocket-9.0.16.jar!/:9.0.16]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-9.0.16.jar!/:9.0.16]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.16.jar!/:9.0.16]
    at org.apache.catalina.filters.RemoteIpFilter.doFilter(RemoteIpFilter.java:845) [tomcat-embed-core-9.0.16.jar!/:9.0.16]
    at org.apache.catalina.filters.RemoteIpFilter.doFilter(RemoteIpFilter.java:902) [tomcat-embed-core-9.0.16.jar!/:9.0.16]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-9.0.16.jar!/:9.0.16]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.16.jar!/:9.0.16]
    at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) [druid-1.1.5.jar!/:1.1.5]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-9.0.16.jar!/:9.0.16]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.16.jar!/:9.0.16]
    at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) [spring-web-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-9.0.16.jar!/:9.0.16]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.16.jar!/:9.0.16]
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) [tomcat-embed-core-9.0.16.jar!/:9.0.16]
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [tomcat-embed-core-9.0.16.jar!/:9.0.16]
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) [tomcat-embed-core-9.0.16.jar!/:9.0.16]
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) [tomcat-embed-core-9.0.16.jar!/:9.0.16]
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.16.jar!/:9.0.16]
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) [tomcat-embed-core-9.0.16.jar!/:9.0.16]
    at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:679) [tomcat-embed-core-9.0.16.jar!/:9.0.16]
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [tomcat-embed-core-9.0.16.jar!/:9.0.16]
    at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) [tomcat-embed-core-9.0.16.jar!/:9.0.16]
    at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-embed-core-9.0.16.jar!/:9.0.16]
    at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) [tomcat-embed-core-9.0.16.jar!/:9.0.16]
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) [tomcat-embed-core-9.0.16.jar!/:9.0.16]
    at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.16.jar!/:9.0.16]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_212]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_212]
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.16.jar!/:9.0.16]
    at java.lang.Thread.run(Thread.java:748) [na:1.8.0_212]

 关键信息是:缺少请求参数

全局搜索,找到了:

    @ResponseBody
    @ResponseStatus(code = HttpStatus.BAD_REQUEST)
    @ExceptionHandler(BindException.class)
    public CommonResponse MethodArgumentNotValidHandler(BindException exception) throws Exception {
        logger.error("参数绑定验证失败:", exception);
        return CommonResponse.createCustomCommonResponse(String.valueOf(HttpStatus.BAD_REQUEST.value()),
                "缺少请求参数");
    }

    /**
     * @param
     * @return
     * @description 缺少参数
     * @author lk
     * @version v1.0
     * @date 2017/9/6
     */
    @ResponseBody
    @ResponseStatus(code = HttpStatus.BAD_REQUEST)
    @ExceptionHandler(MissingServletRequestParameterException.class)
    public CommonResponse handleMissingServletRequestParameterException(MissingServletRequestParameterException e) {
        logger.error("缺少请求参数", e);
        return CommonResponse.createCustomCommonResponse(String.valueOf(HttpStatus.BAD_REQUEST.value()),
                "缺少请求参数");
    }

嗯, 应该就是绑定问题,应该是ELProcModelController 的某个mvc方法的绑定问题。(实际上是 save 方法)但是,从错误日志来看,是找不到具体哪个方法的,因为根本都还没进去调用那个方法! 而是绑定参数的阶段就出了问题! 所以尝试去设置断点调试那个方法是没有用的!!

当然,调试handleMissingServletRequestParameterExceptionMethodArgumentNotValidHandler 方法则是有用的。

 

奇怪的是,之前都是好好的, 怀疑是升级到spring boot-2.1.3 后就出现了这个问题。 网上的解决方案是 增加这么一个 FIlter,HttpPutFormContentFilter, 不过,这个类已经deprecated 了!why ,看这里:https://github.com/spring-projects/spring-boot/issues/13363

HttpPutFormContentFilter对delete方法不支持,FormContentFilter 更友好!

 

另外,需要注意到 前端收到400 ,并不是说前端的错误,其实还是 后端的错误。 虽然4xx是表示了前端请求的某些错误。其实不然。

 

参考

http://www.th7.cn/Program/java/201608/925805.shtml

https://www.oschina.net/question/2621611_2217526

https://blog.csdn.net/geloin/article/details/7444590

 

你可能感兴趣的:(HTTP 400 与 SpringMVC的 HttpPutFormContentFilter、FormContentFilter)