Tag:Reason
-
IOS nsexception exception handling
Why use nsexception In the ordinary development process, because the code is not rigorous or the parameters are not verified, the program crash will be caused. Therefore, it is necessary to monitor the crash in the project and solve it in time. Nsexception is a set of mechanisms for OC class exception capture. How to […]
-
How does JSP redirect web pages
1. You can use: response.sendRedirect(“http://www.foo.com/path/error.html”); 2. You can manually modify the location attribute of HTTP header, as follows: <% response.setStatus(HttpServletResponse.SC_MOVED_PERMANENTLY); String newLocn = “/newpath/index.html”; response.setHeader(“Location”,newLocn); %> 3. You can also use forward: <jsp:forward page=”/newpage.jsp” /> Please note that this method can only be used before any output has been sent to the client. 5.6 similar […]
-
Notes on how to solve practical problems with data (written by Bai Muji)
Summary of knowledge points How to solve practical problems with data Chapter 1 problem solving, you need “process” Problem solving flow chart 1 Objective: to draw a conclusion on “what is the reason and what actions need to be taken” Question: think about “what is the most ideal state”. The gap between the current situation […]
-
Solve the problem that Android 11 prompts you that you have not installed the latest version of QQ when logging in using QQ Internet
preface I don’t know if you have ever encountered this situation when using QQ Internet to log in: the mobile phone clearly has QQ installed, but it prompts you that you haven’t installed the latest version of QQ. Please download and install it first. Two days ago, I changed an Android 11 mobile phone. When […]
-
Vue running NPM run dev is an error prompt web project- [email protected] dev: `webpack-dev-server –inline –progress –open
Pull the code of other colleagues from git, and then report this error when running the front-end NPM run dev, and then start. Find it online, and experiment with various methods. Anyway, it finally solved it, but it took a lot of time. Record the reason for my error report. Everyone’s situation may be different. […]
-
The nodejs and jest unit tests cannot exit normally
Recently writingNodejs/JestWhen the application fails to exit normally during unit test, it is clear that the unit test has been executed, but the application is stuck and cannot exit normally, resulting in the failure of continuous execution of unit test. Due to the complex application, it is difficult to find out what causes it. After […]
-
Vue reports an error: this getOptions is not a function
problem When Vue version is 2.6.11 and sass loader version is 11.0.0, an error is reported: Syntax Error: TypeError: this.getOptions is not a function reason The version of vusader-load is too high and not applicable six point one one Solution Install sass loader of 10.1.1
-
Analysis of reasons why IE9 does not support some attributes in HTML5
This paper analyzes the reasons why IE9 does not support some attributes in HTML5 in detail, and shares it for your reference. The specific methods are as follows: As we all know, IE9 does not support offline applications in HTML5 standard and some parts of CSS3. This paper makes a brief analysis. Microsoft has released […]
-
Movement reason at the beginning of SAP mm
Movement reason at the beginning of SAP mm For some specific goods movement, business personnel hope to record the reason of goods movement on SAP system. For example, for scrap business, business personnel want to specify a reason every time they post scrap. Later, they can check the report according to the movement […]
-
Solve the error of incorrect datetime value: ‘0000-00-00 00:00:00’
Causes: This error occurs in MySQL version 5.7 and above. The default SQL configuration of MySQL version 5.7 is SQL_ Mode = “only_full_group_by”, this configuration strictly implements the “SQL92 standard”. When upgrading from 5.6 to 5.7, most of them choose to adjust SQL for syntax compatibility_ Mode to keep it consistent with 5.6. In order […]
-
Common MySQL error reports
【Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client 】 Reason: mysql8 Encryption methods above 0 are not supported by node. Solution: [open CMD as an administrator] → [enter MySQL bin directory] → [MySQL ‐ u root ‐ P] enter the password and press enter to enter MySQL > […]
-
The reason why the electron store rendering process is stuck
Cause: store is not initialized in the main process The version of electron store is:”electron-store”: “^8.0.1″When using, it needs to be in the main processmain.jsinitialization const Store = require(‘electron-store’); //Initialize Store.initRenderer(); Re rendering process use const Store = require(‘electron-store’); var store = new Store(); var options = { name:options.name || null, data:options.data || null }; […]