草庐IT

legacy-support-v

全部标签

报错:Client does not support authentication protocol requested by server; consider upgrading MySQL cli

连接mysql数据库时报错:原因:mysql版本问题。mysql8之前的版本中加密规则是mysql_native_password,而在mysql8之后,加密规则是caching_sha2_password,所以可以需要改变mysql的加密规则1.打开cmd窗口,登录mysql;mysql-uroot-h127.0.0.1-P3306-p--u后面root为自己数据库的用户名--h后面为(mysql服务所在地址),我自己是在本机测试,所以为127.0.0.1--P(可选,默认3306指定端口号)会提示输入密码,输入自己数据库的密码,可以看到版本信息,则登录成功;2.查看现有的用户也可以输入命令

java: You aren‘t using a compiler supported by lombok, so lombok will not work and has been disabled

目录错误描述错误解决方法一:版本提升方法二: 添加参数检查配置错误描述idea因为lombok的报错:java:Youaren'tusingacompilersupportedbylombok,solombokwillnotworkandhasbeendisabled.Yourprocessoris:com.sun.proxy.$Proxy8Lomboksupports:sun/applejavac1.6,ECJ 原因:这是由于Lombok的版本过低的原因,将Lombok版本提升至1.18.24后问题就可以解决。错误解决方法一:版本提升将Lombok版本提升至1.18.24后问题就可以解决。o

Gitee 提交代码报错:LFS only supported repository in paid enterprise.: exit status 1

         Gitee在提交大文件时,出现如下错误,异常退出:       GitLFS操作指南中可以知道,出现这个问题主要是因为GitLFS(LargeFileStorage,大文件存储)是GitHub开发的一个Git的扩展,用于实现对大文件的支持。        目前码云(Gitee.com)已经支持GitLFS功能,目前改功能针对付费企业开放。如个人活非付费企业有这方面使用需求,可通过git@oschina.cn联系支持。解决方法:$rm.git/hooks/pre-push$gitpush-uorigin"master"   执行完,OK,可以push大文件到远程仓库。 

uniapp - 使用 <video> 播放视频黑屏,浏览器控制台报错: DOMException: The element has on supported sources.(详细完美解决方案)

问题描述我是uniapp全平台开发(H5/App/小程序),突然遇到了使用video标签无法播放视频的问题,直接黑屏!并且浏览器报错:Uncaught(inpromise)DOMException:Theelementhasonsupportedsources.解决方案问题出现

vue3+vite的项目报错 await import(‘source-map-support‘).then((r) => r.default.install()) ^^^^^Synta

 awaitimport('source-map-support').then((r)=>r.default.install())   ^^^^^SyntaxError:Unexpectedreservedword 查看一下node版本 报错原因是node版本的问题。要使用16之上的版本我的电脑安装了nvm可以查看目前已有的node版本。不会安装nvm的参考这个mac下载nvm_nvmmac下载_夏天想的博客-CSDN博客如何保证一个项目使用低版本的node。还有项目使用其他高版本的node呢?这就需要nvm啦_项目创建当时使用低版本,新开发者需要重新降低笨笨来适配nodejs_夏天想的博客-

swift - 需要为使用 Swift 的目标正确配置 “Use Legacy Swift Language Version” (SWIFT_VERSION)。”

自从我更新到Xcode8.2(GM种子,来自AppStore)后,我一直卡在以下错误中:UseLegacySwiftLanguageVersion”(SWIFT_VERSION)isrequiredtobeconfiguredcorrectlyfortargetswhichuseSwift.Usethe[Edit>Convert>ToCurrentSwiftSyntax…]menutochooseaSwiftversionorusetheBuildSettingseditortoconfigurethebuildsettingdirectly.所以我转到目标的BuildSettings

swift - 需要为使用 Swift 的目标正确配置 “Use Legacy Swift Language Version” (SWIFT_VERSION)。”

自从我更新到Xcode8.2(GM种子,来自AppStore)后,我一直卡在以下错误中:UseLegacySwiftLanguageVersion”(SWIFT_VERSION)isrequiredtobeconfiguredcorrectlyfortargetswhichuseSwift.Usethe[Edit>Convert>ToCurrentSwiftSyntax…]menutochooseaSwiftversionorusetheBuildSettingseditortoconfigurethebuildsettingdirectly.所以我转到目标的BuildSettings

swift - xcode 8 快速更新错误 "Use Legacy Swift Language Version"

当我在Xcode8中打开我的项目时,出现以下错误UseLegacySwiftLanguageVersion”(SWIFT_VERSION)isrequiredtobeconfiguredcorrectlyfortargetswhichuseSwift.Usethe[Edit>Convert>ToCurrentSwiftSyntax…]menutochooseaSwiftversionorusetheBuildSettingseditortoconfigurethebuildsettingdirectly引用类似的post在StackOverflow上,使用旧版Swift语言版本是/否。

swift - xcode 8 快速更新错误 "Use Legacy Swift Language Version"

当我在Xcode8中打开我的项目时,出现以下错误UseLegacySwiftLanguageVersion”(SWIFT_VERSION)isrequiredtobeconfiguredcorrectlyfortargetswhichuseSwift.Usethe[Edit>Convert>ToCurrentSwiftSyntax…]menutochooseaSwiftversionorusetheBuildSettingseditortoconfigurethebuildsettingdirectly引用类似的post在StackOverflow上,使用旧版Swift语言版本是/否。

React控制台报错ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you swit

错误如下: 分析报错原因:        React团队目前推出最新的版本为18.0,在18.0版本中,React不再支持ReactDOM.render,如果使用ReactDOM.render,控制台就会报错,但并不影响程序的正常运行。解决方法:修改index.js文件中的报错写法。使用createRoot。报错写法如下://渲染App到页面ReactDOM.render(,document.getElementById('root'))只需要将其改为如下写法就能消除控制台报错信息://渲染App到页面import{createRoot}from'react-dom/client';const