找不到sun.misc.BASE64Decoder,sun.misc.BASE64Encoder类 1.现象idea引用报错找不到对应的包 importsun.misc.BASE64Decoder; importsun.misc.BASE64Encoder; 2.原因 因为sun.misc.BASE64Decoder和sun.misc.BASE64Encoder是Java的内部API,通常情况下不建议直接使用。而且,从Java9开始,sun.misc包已经被标记为废弃,所以你可能无法找到这两个类。 3.解决方式 3.1使用java8 这里已idea为例 File->ProjectSt...

  irFfYcI2pvIK   2023年12月07日   53   0   0 ideJavaJavaide

mysql基于递归查询组织结构树 1.查询语句 -查询层级 WITHRECURSIVEcteAS( -查询父级数据 SELECTGROUP_ID_,KEY_,name_,parent_id_,1ASlevel FROMos_group WHEREparent_id_='0'andDIM_ID_=2 UNIONALL -查询子级数据 SELECTt.GROUP_ID_asGROUP_ID_,t.KEY_asKEY_,t.name_asname_,t.parent_id_asparent_id_,cte.level+1 FROMos_groupt JOINcteONt.parent_id_=ct...

mysql实现自增 1.每次查询都会自增 -@i:=0来初始化一个名为@i的变量,并赋值为0@i是一个用户定义的变量,在MySQL中,使用@前缀定义的变量是用户定义的变量,与系统变量不同。 SET@i=(select@i:=0FROMdual); -SELECT语句来将@i的值加1并赋值给@i。这里使用了:=运算符来实现变量的自增操作。 select(@i:=@i+1)FROMdual; 2.存在的问题 这样的代码在实际应用中可能会遇到问题。因为MySQL对于用户定义的变量的处理有一些限制。例如,在复杂的查询或者存储过程中,变量的作用域和生命周期可能会变得复杂和不可预测。因此,如果你需要在...

dostracert C:\Users\x>tracert 用法:tracert[-d][-hmaximum_hops][-jhost-list][-wtimeout] [-R][-Ssrcaddr][-4][-6]target_name 选项: -d不将地址解析成主机名。 -hmaximum_hops搜索目标的最大跃点数。 -jhost-list与主机列表一起的松散源路由(仅适用于IPv4)。 -wtimeout等待每个回复的超时时间(以毫秒为单位)。 -R跟踪往返行程路径(仅适用于IPv6)。 -Ssrcaddr要使用的源地址(仅适用于IPv6)。 -4强制使用IPv4。 -6...

  irFfYcI2pvIK   2023年12月04日   19   0   0 doswindowsWindowsdos

解决GET请求中url&times会被转成×的问题 1.现象 1.1前端请求地址 https://blog.collmall.com/form/detail?docId=Ch0A8WQ×tamp=1700991665024 1.2异常信息 org.springframework.web.bind.MissingServletRequestParameterException:RequiredLongparameter'timestamp'isnotpresent java.lang.IllegalStateException:Optionallongparameter'time...

  irFfYcI2pvIK   2023年12月01日   83   0   0 转义字符串ideide字符串转义

1.打开Chrome应用商店 https://chrome.google.com/webstore/search/resources%20saver?utm_source=ext_app_menu&_category=extensions   2.搜索 ResourcesSaver 点进去 【添加至Chrome】 3.打开浏览器控制台找到  ResourcesSaver菜单栏 点击SaveAll  Resources 即可

gateway实现CORS跨域 1.通过配置类统一处理 importorg.springframework.context.annotation.Bean; importorg.springframework.context.annotation.Configuration; importorg.springframework.http.HttpHeaders; importorg.springframework.http.HttpMethod; importorg.springframework.http.HttpStatus; importorg.springframework.http...

  irFfYcI2pvIK   2023年11月13日   17   0   0 ajax跨域AJAX跨域springspring

1.添加配置 <dependency> <groupId>org.elasticsearch.client</groupId> <artifactId>elasticsearch-rest-high-level-client</artifactId> </dependency> 2.es配置信息 importorg.apache.http.HttpHost; importorg.apache.http.auth.AuthScope; importorg.apache.http.auth.UsernamePasswo...

SQL错误[1101][42000]:BLOB,TEXT,GEOMETRYorJSONcolumn'xxx'can'thaveadefaultvalue 1.异常信息 org.jkiss.dbeaver.model.sql.DBSQLException:SQL错误[1101][42000]:BLOB,TEXT,GEOMETRYorJSONcolumn'other_config'can'thaveadefaultvalue atorg.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.executeStatement(JDBCState...

  irFfYcI2pvIK   2023年11月02日   26   0   0 SQLJavaSQLjavabcbc

xcallshell 1.示例 !/bin/bash forhostinnacos01nacos02nacos03 do echo=$host= ssh$hostjps done 2.解释 这段代码是一个bashshell脚本,它的功能是通过SSH连接到Nacos服务器(nacos01,nacos02,nacos03),然后执行jps命令来查看Java进程的状态。 下面是这段代码的逐行解释: forhostinnacos01nacos02nacos03:这是一个for循环,它会遍历列表中的主机名(nacos01,nacos02,nacos03)。 do:这是for循环的开始。 ec...

  irFfYcI2pvIK   2023年11月02日   28   0   0 客户端javafor循环

自定义防重提交 1.自定义注解 importjava.lang.annotation.; / 自定义防重提交 @author @date2023年9月6日11:19:13 / @Documented @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) public@interfaceRepeatSubmit{ / 默认防重提交,是方法参数 @return / TypelimitType()defaultType.PARAM; / 加锁过期时间,默认是5秒 @return / longlockTime()d...

spring-cloud-starter-alibaba-nacos-discovery 1.spring-config-metadata.json { "groups":[ { "name":"management.endpoint.nacosdiscovery", "type":"com.alibaba.cloud.nacos.endpoint.NacosDiscoveryEndpoint", "sourceType":"com.alibaba.cloud.nacos.endpoint.NacosDiscoveryEndpoint" }, { "name":"spring.cloud.n...

  irFfYcI2pvIK   2023年11月02日   20   0   0 JavaJavaspringspring

springboot配置文件元数据 1.spring-configuration-metadata.json { "groups":[ { "name":"management.appoptics.metrics.export", "type":"org.springframework.boot.actuate.autoconfigure.metrics.export.appoptics.AppOpticsProperties", "sourceType":"org.springframework.boot.actuate.autoconfigure.metrics.export.appop...

  irFfYcI2pvIK   2023年11月02日   39   0   0 SpringBootspringbootspringspring

java.io.IOException:Brokenpipe 1.异常信息 2023-10-1721:08:59.704[http-nio-10031-exec-10]ERRORo.a.c.c.C.[.[localhost].[/].[dispatcherServlet]Servlet.service()forservlet[dispatcherServlet]incontextwithpath[]threwexception[Requestprocessingfailed;nestedexceptioniscom.alibaba.excel.exception.ExcelGenerateE...

  irFfYcI2pvIK   2023年11月02日   62   0   0 apacheJavaApacheJavaspringspring

java.lang.IllegalStateException:MethodhastoomanyBodyparameters:publicabstractxxx.resp.Resultxxx.feign.WorkOrderFeign.getUserRol 1.异常信息 org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'alarmFormQueryInfoController':Injectionofresourcedependenciesfailed;nestedexcepti...

1.异常信息 2023-08-1614:17:14.817INFO14304[restartedMain]io.seata.config.ConfigurationFactory:loadConfiguration:FileConfiguration$$EnhancerByCGLIB$$862af1eb 2023-08-1614:17:15.006ERROR14304[restartedMain]g.springframework.boot.SpringApplication:Applicationrunfailed org.springframework.beans.factory.Be...

10个不错的网站 1.diffbir(模糊图片修复)https://github.com/XPixelGroup/DiffBIR 2.tineye(根据图片找影视视频资源)https://tineye.com/ 3.clipdrop(抠图删背景) 4.moveai(视屏动作转换动画)https://www.move.ai/?ref=nav.6aiq.com 5.wantquotes(名言名句找寻)https://wantquotes.net/ 6.aconvert(文件格式转换)https://www.aconvert.com/cn/ 7.morphstudio(Aai做视频) 8.dur...

  irFfYcI2pvIK   2023年11月02日   18   0   0 githubjavaJavagithub

自定义防重提交 1.自定义注解 importjava.lang.annotation.; / 自定义防重提交 @author @date2023年9月6日11:19:13 / @Documented @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) public@interfaceRepeatSubmit{ / 默认防重提交,是方法参数 @return / TypelimitType()defaultType.PARAM; / 加锁过期时间,默认是5秒 @return / longlockTime()def...

  irFfYcI2pvIK   2023年11月02日   110   0   0 redisredisjavaspringJavaspring

  [root@c7conf]systemctlstartmariadb.serviceJobformariadb.servicefailedbecausethecontrolprocessexitedwitherrorcode.See"systemctlstatusmariadb.service"and"journalctl-xe"fordetails.[root@c7conf]cp/usr/share/mysql/my-huge.cnf/etc/my.cnfcp:overwrite‘/etc/my.cnf’?y[root@c7conf]vim/etc/my.cnf[roo...

  irFfYcI2pvIK   2023年11月02日   17   0   0 mariadbvimmysqlperl

 简易步骤: 下载openresty[root@c7test]wgethttps://openresty.org/download/openresty-1.15.8.1.tar.gz查看[root@c7openresty-1.15.8.1]ls解压缩[root@c7test]tarzxfopenresty-1.15.8.1.tar.gz查看解压缩的文件[root@c7test]ls进入解压缩[root@c7openresty-1.15.8.1]cdopenresty-1.15.8.1/查看是否有config文件[root@c7openresty-1.15.8.1]ls-lco...

  irFfYcI2pvIK   2023年11月02日   74   0   0 openresty解压缩Luac++CentOS
关注 更多

空空如也 ~ ~

粉丝 更多

空空如也 ~ ~