JRE should be placed next to jar
For details of generating JRE, please see: https://blog.csdn.net/qq_ 29495141/article/details/108451187
Then there is another configuration 
JRE should be placed next to jar
For details of generating JRE, please see: https://blog.csdn.net/qq_ 29495141/article/details/108451187
Then there is another configuration 
Today, in the process of development, suddenly idea pop-up prompt out of memory, I changed the parameters on the pop-up, click shutdown, and then I couldn’t start it.
I see that many people on the Internet say that they want to delete the idea folder under the user, but once this is deleted, all the settings of the idea may have to be redone.
Finally, it is found that the changed parameters are in Disk C/user /. Idea (different versions have different folder names)/idea.exe.vmoptions. Just replace this file with idea installation directory/bin/idea.exe.vmoptions.
If you start with idea64.exe, this configuration file is called idea64.exe.vmoptions. This file may be in Disk C/user /. Idea, or Disk C/user /. Idea/config. You can replace it with a file of the same name in the installation directory/bin.
Recently, I began to learn C language systematically and use scanf in vs2019_ An error occurred when s assigned a value to a string. The error is as follows:
the exception raised at the location of 0x7837ef8c (ucrtbased. DLL) (located in project2.exe): 0xc0000005: an access conflict occurred when writing to the location of 0x01342000
*
after querying some data, we find that this problem should be solved because scanf is encouraged in vs2019 compiler_ S function to prevent the original scanf function array out of bounds( Using scanf function in vs2019 will report an error (compilation failed)
#define WORD_SIZE 26
char name[WORD_SIZE];
scanf_s("%s",name);
If so, an error will be reported.
If we provide the array name and length, we can compile it.
#define WORD_SIZE 26
char name[WORD_SIZE];
scanf_s("%s",name,WORD_SIZE);
Uniapp development of small programs, access to user information, request back to the background
{
40125,"errmsg": "invalid appsecret,
view more at http://t.cn/RAEkdV
}
WeChat official account platform
After logging in, find the development management
and get appid in the development management
and then you can get the user information and request the background
Qt development, using ODBC interface, query mysql, appear qsqlquery:: Value: not positioned on a valid record
Question: in the library management system developed by QT craetor integrated development environment, the newly created database class is used to operate the database. It inherits from QObject and uses the interface provided by ODBC to connect with the database. The database is mysql5.7, When using the following query statement, we report an error:
error information: qsqlquery:: Value: not positioned on a valid record
we query the relevant information:
the solutions we have found
try according to the solutions provided in the article, the problems still exist.
Later, some information was printed in various locations, and it was found that qdebug & lt& lt; condition<& lt; content<& lt;“ The variables condition and content in “on” can be printed normally, but “on” printed out is “?”
when I thought of creating a window before, the window title set in Chinese would be garbled. The solution I found at that time was to add the following code to the. Cpp file of the corresponding class:
?Pragma execution_ character_ set("utf-8")
Solution:
add the code block as shown above to the database.cpp file:
edit test information:
test output successful:
end! Scatter flowers! Record it!
1. Problem description
Because you cannot run scripts on your computer
2. Solutions
(1) Run command window as Administrator
(2) Input command: set executionpolicy remotesignated
3. Restart the command window to solve the problem
4. Just create it again
【 https://blog.csdn.net/u013513178/article/details/114823445 】
With grant option is added in normal authorization
confirm that the authorization is normal, if the view editing is executed or an error is reported:
1. Delete the view
2. Recreate it
Unexpected token u in JSON at position 0
The error report is shown in the figure
The reason is that JSON. Parse resolves undefined
solve
Find the place of JSON. Parse and add a judgment

The following error occurred when executing gitbook init:

Find the prompt path, open the polyfills.js file, and find this function
This function is called on lines 65-67
fs.stat = statFix(fs.stat)
fs.fstat = statFix(fs.fstat)
fs.lstat = statFix(fs.lstat)
Comment out the three lines of code to solve the problem
Because of the NPM version problem, you can refer to the following two methods to solve. However, we must pay attention to which polyfills.js has a problem, which is explained in detail in the error prompt.
Recommended reading:
1 https://blog.csdn.net/yq_ forever/article/details/112121742
https://www.cnblogs.com/cyxroot/p/13754475.html
Example: insert lb.html into index.html, and lb.html has a lb.css.
Problem: at this time, index.html may report an error: refuse to apply styles from lb.css. But it’s all normal. No problem.
Attempt failed: Online modifications…/modifications, etc. are invalid here. If we start with index.html and introduce the address of lb.css into lb.html, index.html will not report an error, but lb.html will report an error and so on.
Current method: put lb.css and index.css in the same CSS folder and reference them normally. Index.html and lb.html will not report errors.
Problem Description: tab switching, when using the PDF preview of the uploaded file, an error is reported,


solution: because of the tab switching here, the PDF component has a process of displaying and hiding, so this error occurs. Use V-IF control to re render when the tab is switched to this item

To solve Fitz module error
when using Python to process PDF documents, you need to use Fitz module. Because Python If Fitz is compatible with 3.8, the following error message will appear:
[omit part of the error message]
Runtimeerror: Directory ‘ static/’ does not Exist
the solution is to uninstall Fitz module and install pymupdf module. The following commands are executed:
pip uninstall fitz
pip install pymupdf