草庐IT

current_page

全部标签

GitHub Pages部署静态页面

GitHubPages是GitHub提供的静态页面托管服务,可以用来托管个人博客、项目文档等静态页面。GitHubPages支持Jekyll,可以使用Jekyll构建博客,也可以使用其他静态页面生成器。现在GitHubPages也在公测通过工作流部署静态页面,可以通过GitHubActions自动部署静态页面,这样页面构建工具就不再受约束,可以使用任何静态页面生成器。GitHubPages还支持自定义域名,可以绑定自己的域名。我的个人博客目前是托管在腾讯云COS上,使用GitHubActions自动部署,主要考虑是加快国内访问速度,现在都是在公众号上发布文章了,后期考虑把博客迁到GitHubP

MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk

MISCONFRedisisconfiguredtosaveRDBsnapshots,butiscurrentlynotabletopersistondisk.Commandsthatmaymodifythedatasetaredisabled.PleasecheckRedislogsfordetailsabouttheerror;报错信息:MISCONFRedis被配置为保存RDB快照,但目前无法在磁盘上保持。可能修改数据集的命令被禁用,有关错误的详细信息,请查看Redis日志redis配置文件默认配置为保存RDB快照,RDB快照是Redis数据持久化的一种方式,又称为Snapshot,默认

Unsupported Java. Your build is currently configured to use Java 1.8.0_192 and Gradle 5.6.4.

打开android的一个项目结果打不了报错UnsupportedJava. YourbuildiscurrentlyconfiguredtouseJava1.8.0_192andGradle5.6.4.Possiblesolution: -OpenGradlewrappersettings,change`distributionUrl`propertytousecompatibleGradleversionandreloadtheproject错误尝试一: 刚开始真的看日志以为是不是配置的jdk版本、gradle版本不对疯狂更换但是无用!!!!尝试二:由于之前报错显示有远程jar包Couldn

Java/Servlet : get current sql. 日期

我需要做的是:1)从请求中获取用户的语言环境。2)根据用户的区域设置,使用当前日期和时间创建新的sql.Date对象3)写入MySQLdb,列类型:TIMESTAMP我得到的是:java.util.Localelocale=request.getLocale();java.text.DateFormatdateFormat=java.text.DateFormat.getDateTimeInstance(java.text.DateFormat.LONG,java.text.DateFormat.LONG,locale);java.util.Datedate=newjava.util.

pnpm报错This version of pnpm requires at least Node.js v16.14The current version of Node.js is v16.8.0

ning@MacdeMacBook~%pnpm--versionERROR:ThisversionofpnpmrequiresatleastNode.jsv16.14ThecurrentversionofNode.jsisv16.8.0Visithttps://r.pnpm.io/comptoseethelistofpastpnpmversionswithrespectiveNode.jsversionsupport.第一步,先查看本机node.js版本:node-v第二步,清除node.js的cache:sudonpmcacheclean-f第三步,安装n工具,这是个专门用来管理node.j

java - Eclipselink 异常 : Isolated Data is not currently supported

Exception[EclipseLink-7114](EclipsePersistenceServices-2.5.1.v20130824-981335c):org.eclipse.persistence.exceptions.ValidationExceptionExceptionDescription:IsolatedDataisnotcurrentlysupportedwithinaClientSessionBroker.此异常发生在应用程序启动期间。此异常令人沮丧的方面是它是随机发生的!该应用程序使用Eclipselink的CompositePersistenceUnit特征

java - Spring 安全 : Redirecting to login page if the authentication failed

我们有两种登录方式。用户名和密码由另一个应用程序在请求header中发送。检查IT,如果用户名和密码正确,则进入。[为此编写自定义过滤器]如果请求header中没有用户名和密码,则会显示登录屏幕。当请求header中存在用户名和密码时,如果错误,我将看到一个HTTP状态401-身份验证失败:凭据错误页面。如果身份验证失败,如何让它显示登录页面?下面是security.xml中的代码如果您需要更多信息,请告诉我。编辑:在我的应用程序中添加RequestHeader过滤器的代码publicclassRequestHeaderProcessingFilterextendsAbstractAu

Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.

〇、出现问题今天把Android Studio升级到最新版本,并更新最新的SDK:创建新项目后出现,构建时直接出现如下错误:Anexceptionoccurredapplyingpluginrequest[id:'com.android.application']>Failedtoapplyplugin'com.android.internal.application'.>AndroidGradlepluginrequiresJava11torun.YouarecurrentlyusingJava1.8.Youcantrysomeofthefollowingoptions:-changingt

Java SE : Open Web Page and Click a Button

我有一个Java7程序(使用WebStart技术,仅适用于Windows7/8计算机)。我需要添加一个函数,以便我的程序点击具有已知URL(https)的页面上的按钮。有些人建议WebKitSWT,但我去了他们的网站,他们说该项目已停止。(http://www.genuitec.com/about/labs.html)其他人说JxBrowser是唯一的选择,但它看起来超过1,300美元,这太疯狂了。(http://www.teamdev.com/jxbrowser/onlinedemo/)我正在寻找简单、免费、轻量级的东西,并且能够打开HTTPS链接、解析HTML、通过DOM访问按钮并

报错解决:Collecting package metadata (current_repodata.json): failed CondaSSLError: ...

报错解决:Collectingpackagemetadatacurrent_repodata.json1.问题说明2.解决方法1.问题说明今天在Win10用conda安装loris包的时候遇到了这个问题。在我打开了clash(FQ)时,显示的错误信息如下:Collectingpackagemetadata(current_repodata.json):failedCondaSSLError:EncounteredanSSLerror.Mostlikelyacertificateverificationissue.这个错误的意思是conda无法从镜像源下载或解析包的元数据文件,也就是curren