org.springframework.web.HttpRequestMethodNotSupportedException: Request method ‘PUT‘ not supported
at org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping.handleNoMatch(RequestMappingInfoHandlerMapping.java: 203 )
at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.lookupHandlerMethod(AbstractHandlerMethodMapping.java: 352 )
at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.getHandlerInternal(AbstractHandlerMethodMapping.java: 299 )
at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.getHandlerInternal(AbstractHandlerMethodMapping.java: 57 )
at org.springframework.web.servlet.handler.AbstractHandlerMapping.getHandler(AbstractHandlerMapping.java: 299 )
at org.springframework.web.servlet.DispatcherServlet.getHandler(DispatcherServlet.java: 1104 )
at org.springframework.test.web.servlet.TestDispatcherServlet.getHandler(TestDispatcherServlet.java: 90 )
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java: 916 )
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java: 877 )
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java: 966 )
at org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServlet.java: 879 )
at javax.servlet.http.HttpServlet.service(HttpServlet.java: 647 )
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java: 842 )
at org.springframework.test.web.servlet.TestDispatcherServlet.service(TestDispatcherServlet.java: 65 )
at javax.servlet.http.HttpServlet.service(HttpServlet.java: 725 )
at org.springframework.mock.web.MockFilterChain$ServletFilterProxy.doFilter(MockFilterChain.java: 167 )
at org.springframework.mock.web.MockFilterChain.doFilter(MockFilterChain.java: 134 )
at org.springframework.test.web.servlet.MockMvc.perform(MockMvc.java: 144 )
at main.test.PerformanceTestBase.testPut(PerformanceTestBase.java: 46 )
at main.test.PerformanceTest.junitTestUpdRentByQian(PerformanceTest.java: 1917 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 57 )
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 43 )
at java.lang.reflect.Method.invoke(Method.java: 606 )
at org.junit.runners.model.FrameworkMethod$ 1 .runReflectiveCall(FrameworkMethod.java: 50 )
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java: 12 )
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java: 47 )
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java: 17 )
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java: 26 )
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java: 73 )
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java: 82 )
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java: 73 )
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java: 325 )
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java: 217 )
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java: 83 )
at org.junit.runners.ParentRunner$ 3 .run(ParentRunner.java: 290 )
at org.junit.runners.ParentRunner$ 1 .schedule(ParentRunner.java: 71 )
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java: 288 )
at org.junit.runners.ParentRunner.access$ 000 (ParentRunner.java: 58 )
at org.junit.runners.ParentRunner$ 2 .evaluate(ParentRunner.java: 268 )
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java: 61 )
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java: 68 )
at org.junit.runners.ParentRunner.run(ParentRunner.java: 363 )
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java: 163 )
at org.junit.runner.JUnitCore.run(JUnitCore.java: 137 )
at org.junit.runner.JUnitCore.run(JUnitCore.java: 115 )
at main.test.TestRunnable.run(PerformanceTest.java: 2129 )
at java.lang.Thread.run(Thread.java: 744 )
|