Idea新建项目 Spring Initializr 403问题解决

本文解决使用Idea新建Spring项目时遇到的403错误问题,通过更换start.spring.io为start.aliyun.com成功创建项目。

用Idea新建项目的时候,选择Spring Initializr初始化项目,如下图

会出现403的错误,导致项目新建失败,如下图:

手动访问start.spring.io,出现百度云加速的验证码,如下图

 出现这个问题有很多原因,这里我们不去找具体原因,只解决问题。百度之,有说把https换成http之类的,有说防火墙之类的问题,试过都不好用,其实解决很简单,把地址换成https://start.aliyun.com,问题就解决了

%YAML:1.0 calibrationDate: "Mon Apr 01 16:14:21 2019\n" # flags: fix_k3 + fix_principal_point flags: 132 imageSize: - 768 - 576 cameraMatrix: !!opencv-matrix rows: 3 cols: 3 dt: d data: [ 4.6874604679611883e+002, 0., 3.8350000000000000e+002, 0., 4.6879439393265602e+002, 2.8750000000000000e+002, 0., 0., 1. ] distortionCoefficients: !!opencv-matrix rows: 1 cols: 5 dt: d data: [ -2.5342359872429532e-001, 8.5600118766813921e-002, 5.6244265779694345e-004, -7.8384257012846525e-004, 0. ] nImages: 15 rotaionMatrix_0: !!opencv-matrix rows: 3 cols: 1 dt: d data: [ 2.0675728693835911e+000, 2.1075107474976873e+000, 2.9336165222510824e-001 ] rotaionMatrix_1: !!opencv-matrix rows: 3 cols: 1 dt: d data: [ 1.9940114749521032e+000, 2.3974858804729884e+000, -1.8750405701889838e-001 ] rotaionMatrix_2: !!opencv-matrix rows: 3 cols: 1 dt: d data: [ -1.8508345829987935e-001, -3.0721320273878070e+000, 2.0099928906234399e-001 ] rotaionMatrix_3: !!opencv-matrix rows: 3 cols: 1 dt: d data: [ 1.8561798916226813e+000, 2.2574253657276580e+000, 1.8075071703156042e-002 ] rotaionMatrix_4: !!opencv-matrix rows: 3 cols: 1 dt: d data: [ 1.9143330893475794e+000, 2.2654143145437464e+000, 5.5136561232423087e-001 ] rotaionMatrix_5: !!opencv-matrix rows: 3 cols: 1 dt: d data: [ -1.2176711916278464e-001, -2.8387954340707187e+000, -1.7867568550508553e-001 ] rotaionMatrix_6: !!opencv-matrix rows: 3 cols: 1 dt: d data: [ 2.1455070420741249e+000, 2.1214948680266836e+000, -4.6090545899241777e-003 ] rotaionMatrix_7: !!opencv-matrix rows: 3 cols: 1 dt: d data: [ 2.0377945599630385e+000, -2.3925292139513301e+000, 4.0630825031139844e-001 ] rotaionMatrix_8: !!opencv-matrix rows: 3 cols: 1 dt: d data: [ -2.5437740160710737e-001, -2.8685080517013670e+000, -2.1191323541716614e-001 ] rotaionMatrix_9: !!opencv-matrix rows: 3 cols: 1 dt: d data: [ 6.7896166401865587e-001, 2.9203185839292107e+000, 2.1616783717319016e-001 ] rotaionMatrix_10: !!opencv-matrix rows: 3 cols: 1 dt: d data: [ 1.4862747025589098e+000, -2.6427103906043348e+000, 6.2730976108590752e-001 ] rotaionMatrix_11: !!opencv-matrix rows: 3 cols: 1 dt: d data: [ 4.9097469295410967e-001, 2.5802824180346433e+000, 8.2549111324101287e-001 ] rotaionMatrix_12: !!opencv-matrix rows: 3 cols: 1 dt: d data: [ -5.9329273551092010e-001, -2.8406274978108086e+000, -1.2038427172612680e-001 ] rotaionMatrix_13: !!opencv-matrix rows: 3 cols: 1 dt: d data: [ 4.4866443913566595e-001, 2.8809831584432062e+000, 2.9157343452658618e-001 ] rotaionMatrix_14: !!opencv-matrix rows: 3 cols: 1 dt: d data: [ 4.0925300388373193e-001, 2.3504680059324068e+000, 5.8092187472717938e-001 ] translationMatrix_0: !!opencv-matrix rows: 3 cols: 1 dt: d data: [ -2.1688720011873690e+002, -3.8482859993755244e+002, 7.5892212322704984e+002 ] translationMatrix_1: !!opencv-matrix rows: 3 cols: 1 dt: d data: [ -7.2598857858311035e+001, -4.1095056756996280e+002, 8.7065484310140323e+002 ] translationMatrix_2: !!opencv-matrix rows: 3 cols: 1 dt: d data: [ 3.1108053390777576e+002, -4.4065058470458894e+002, 8.4938948907721942e+002 ] translationMatrix_3: !!opencv-matrix rows: 3 cols: 1 dt: d data: [ -9.1224334551975915e+001, -4.2514537231758669e+002, 8.9808378894780935e+002 ] translationMatrix_4: !!opencv-matrix rows: 3 cols: 1 dt: d data: [ -6.6207738709959045e+001, -4.0840657182118690e+002, 8.2150062853842633e+002 ] translationMatrix_5: !!opencv-matrix rows: 3 cols: 1 dt: d data: [ 3.0835078587362551e+002, -4.1193102193529757e+002, 8.2353802219900638e+002 ] translationMatrix_6: !!opencv-matrix rows: 3 cols: 1 dt: d data: [ -2.9223387581025196e+002, -3.8847217027632860e+002, 1.1263946076136303e+003 ] translationMatrix_7: !!opencv-matrix rows: 3 cols: 1 dt: d data: [ 3.5562785476260422e+002, 2.5282460579194407e+002, 1.1991223847570261e+003 ] translationMatrix_8: !!opencv-matrix rows: 3 cols: 1 dt: d data: [ 2.1656314827051602e+002, -4.3804713525289219e+002, 8.1633526671164771e+002 ] translationMatrix_9: !!opencv-matrix rows: 3 cols: 1 dt: d data: [ 1.2866173732912361e+002, -5.7017025106022118e+002, 1.0717308421936129e+003 ] translationMatrix_10: !!opencv-matrix rows: 3 cols: 1 dt: d data: [ 4.5769875864385961e+002, -3.5558068321513403e+001, 1.0858289147247763e+003 ] translationMatrix_11: !!opencv-matrix rows: 3 cols: 1 dt: d data: [ 2.0864134034698048e+002, -4.5061460733041241e+002, 9.3960218863939292e+002 ] translationMatrix_12: !!opencv-matrix rows: 3 cols: 1 dt: d data: [ 4.4922191591590170e+001, -5.4620924115010405e+002, 1.0262957887395842e+003 ] translationMatrix_13: !!opencv-matrix rows: 3 cols: 1 dt: d data: [ 2.6578597130156345e+002, -4.8469186163723572e+002, 9.8283699264293682e+002 ] translationMatrix_14: !!opencv-matrix rows: 3 cols: 1 dt: d data: [ 2.0091674629264978e+002, -5.1570686057689363e+002, 1.0525920807382834e+003 ] 分析一下这个yml文件,并把这个读进 cameraParams这个结构体struct CameraParams { cv::size imageSize; cv::Mat cameraMatrix; Cv::Mat distortionCoefficients; vector<cv::Mat> rotations; vector<cv::Mat> translations; int flags; };
最新发布
07-09
评论 4
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值