Type Status Report
Message HTTP method GET is not supported by this URL
Description The method received in the request-line is known by the origin server but not supported by the target resource.
确保用的数据是正确的,并正确加载相应驱动。如果用的mysql数据库,就得用mysql的数据库驱动。
如果学习中,拷贝了别人的代码,然后用的sqlserver数据库,那肯定会报这个错误。