记录精彩的程序人生
存档:
2022 年 07 月 (10)
web.xml <welcome-file>redirect.jsp</welcome-file> </welcome-file-list> redirect.jsp <%-- Views should be stored under the WEB-INF folder so that they are not accessible except through controller process. This JSP is here to provide a redirect to the dispatcher servlet but should be the only JSP outside of WEB-INF. --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <jsp:forward page="/energy-rent/html/index.html"/> spring-mvc.xml <mvc:resources ma....
https://developer.aliyun.com/article/70084 第一种方式 下载cors-filter-1.7.jar,java-property-utils-1.9.jar这两个库文件,放到lib目录下。(可在 http://search.maven.org上查询并下载。) maven 依赖 <dependency> <groupId>com.thetransactioncompany</groupId> <artifactId>cors-filter</artifactId> <version>1.7.1</version> </dependency> <dependency> <groupId>com.thetransactioncompany</groupId> <artifactId>java-property-utils</artifactId> <version>1.9</ver....
该文章已经加密。
etherscan的中国结点的地址是:https://cn.etherscan.com/ 因为某种原因,在**java-etherscan-api**项目中没有提供对中国结点的支持,而连接国外结点时经常出现连接超时的现象。那么,通过修改源码来增加对中国结点的支持。 ①在EthNetwork.java中增加MAINNET_CN: package io.api.etherscan.model; /** * ! NO DESCRIPTION ! * * @author GoodforGod * @since 28.10.2018 */ public enum EthNetwork { MAINNET("api"), MAINNET_CN("api-cn"), ROPSTEN("api-ropsten"), KOVAN("api-kovan"), TOBALABA("api-tobalaba"), GORLI("api-goerli"), RINKEBY("api-rinkeby"); private final String domain; EthNetwork(String domain)....
https://openwebstart.com/ —————————————————————————— Run JNLP files with the latest Java version Java Web Start (JWS) was deprecated in Java 9, and starting with Java 11, Oracle removed JWS from their JDK distributions. This means that clients that have the latest version of Java installed can no longer use JWS-based applications. And since public support of Java 8 has ended in Q2/2019, companies no longer get any updates and security fixes for Java Web Start. This is why we decided to create Op....
https://jingyan.baidu.com/article/0f5fb099246ae56d8334eaa6.html 测试的时候在navicat中直接修改记录值时,注意该行为可能并不是你所希望的。。
https://www.codejava.net/java-se/swing/jtable-popup-menu-example In this article, we are going to show you how to create a popup menu for JTable component like this: This popup menu is shown up when the user right clicks over the table rows area. It provides three commands: Add New Row : Appends a new empty row at the end of the table. Remove Current Row : Deletes the currently selected row. Remove All Rows : Deletes all rows in the table. Notice that we will make the row at the mouse-cli....
https://blog.csdn.net/wang1qqqq/article/details/115034433 用软件登陆的Mysql8数据库时,报错:Authentication plugin 'caching_sha2_password' cannot be loaded 出现这个原因是mysql8 之前的版本中加密规则是mysql_native_password,而在mysql8之后,加密规则是caching_sha2_password。 解决问题方法有两种,一种是升级navicat驱动(博主用的是navicat是19年装的了,其他软件同理),另一种是把mysql用户登录密码加密规则还原成mysql_native_password。 此处介绍第二种,修改加密规则: 1、登录Mysql: mysql -u root -p 2、修改账户密码加密规则并更新用户密码: //修改加密规则(可以直接复制) ALTER USER 'root'@'localhost' IDENTIFIED BY 'password' PASSWORD EXPIRE NEVER; //更新一下用户的密码(可以....
https://jingyan.baidu.com/article/25648fc1f1111cd191fd00e5.html MySQL8应该使用alter命令来进行修改, 而且由于密码策略也变化了,设置密码时需要达到一定的复杂程度才行,一般是需要大小字母、特殊字符和数字。 修改密码 mysql> alter user 'root'@'localhost' identified by 'Root@123456';
Visual C++ Redistributable for Visual Studio各版本的官方链接 下面全部为官方链接,避免从奇怪的网站下载奇怪的版本。 Microsoft Visual C++ Redistributable 2019 x86: https://aka.ms/vs/16/release/VC_redist.x86.exe x64: https://aka.ms/vs/16/release/VC_redist.x64.exe Microsoft Visual C++ Redistributable 2017 x86: https://go.microsoft.com/fwlink/?LinkId=746571 x64: https://go.microsoft.com/fwlink/?LinkId=746572 Microsoft Visual C++ Redistributable 2015 x86+x64: https://www.microsoft.com/en-pk/download/details.aspx?id=48145 x86+x64 update....