Add to the connection string
Allow User Variables=True
Because the SQL statement contains custom parameters, such as @ rownum
allow user variables = true allows users to customize parameters.
Add to the connection string
Allow User Variables=True
Because the SQL statement contains custom parameters, such as @ rownum
allow user variables = true allows users to customize parameters.
Specific error
C:\Users\quantum6\.gradle\caches\transforms-2\files-2.1\e04e617f30a871c507d163331b100d66\appcompat-1.1.0\res\values-v28\values-v28.xml:5:5-8:13: AAPT: error: resource android:attr/dialogCornerRadius not found.
terms of settlement
versionCompiler = 28
versionTarget = 28
When you press the shitf key on the keyboard, and then click the right mouse button to open the PowerShell window, the following error pops up:
createfile() error: 5 is a permission problem in the win10 system. To solve this problem, you need to close the relevant permissions in the registry. The specific operations are as follows:
(1) press the win + R shortcut key on the keyboard, open it and enter the command: regedit, See the following figure for details

(2) Then click OK to open the registry: regedit and find the following option HKEY_ LOCAL_ Machine \ software \ Microsoft \ windows \ CurrentVersion \ policies \ system, modify the key value under the path: enablelua, and change 1 to 0 to solve the problem

The following error occurred when importing the MySQL script ebuy.txt file:
Error1067、Error1146
On the command line, enter show variables like ‘% character%’; View character set
As shown in the figure above, my question is character_ set_ Database and character_ set_ server
At the command line, enter set character_ set_ database=utf8mb4;
set character_ set_ server=utf8mb4;
Then delete the original Ebuy database and run the script again.
After downloading pytorch, I want to open the console through Python and import torch. The result is that the console does not exist. Here is my solution:
Uncheck use python if Available (if there is already ippython)
When building Hadoop, the domain name is accidentally wrong
which leads to the password input error when configuring password-free login

after modifying the domain name again, the error is always reported in the configuration

Solution:
Modify the wrong domain name in the known_hosts file in the ~/.ssh directory and delete
it directly and execute it again. Command ssh-copy-id slave2 and
enter the password.
This article is a summary of my study. If there are copyright or knowledge errors or problems, please contact me directly. Please leave a message
PS: Based on the principle of knowledge sharing, this blog can be reproduced, but please indicate the source!
catalogue
1. Problem description
2. Cause analysis:
3. Problem solving:
1. Problem description
When I debug the project, in order to capture the signal value to observe the timing, I added ILA, and then encountered vivado error when generating bitstream. The warning is as follows:
The specific error contents are as follows:
[DRC LUTLP-1] Combinatorial Loop Alert: 2 LUT cells form a combinatorial loop.
This can create a race condition. Timing analysis may not be accurate. The preferred resolution is to modify the design to remove combinatorial logic loops. If the loop is known and understood, this DRC can be bypassed by acknowledging the condition and setting the following XDC constraint on any one of the nets in the loop: 'set_property ALLOW_COMBINATORIAL_LOOPS TRUE [get_nets <myHier/myNet>]'. One net in the loop is u_DdrRdData/NxtRdState[0]. Please evaluate your design. The cells in the loop are: u_DdrRdData/NxtRdState_inferred_i_3, and u_DdrRdData/NxtRdState_inferred_i_8.
2. Cause analysis:
As shown in the code segment below, the combinational loop is combinational logic, which feeds back to itself without registers. The simplest example is an inverter whose output is fed back to the input to produce an oscillator.
Therefore, the combined logic signal nxtrdstate for the state machine cannot be used for ILA grabbing!!!
At the same time, the error can be prompted in the warning message of vivado tool:
This warning is described in ug901 as follows:
3. Problem solving:
Do not use ILA to grab the signal value assigned in the combinatorial logic of the state machine!!!
You have declared #include & lt; vector> Code> but this error is actually a detail
you may use it directly in the program
vector<int> sim
The vector is in the STD namespace and should be written as follows
std::vector<int> sim
If you want to use the first method, you need to add using namespace STD;
The following error occurred while accessing other project interfaces through the gateway
2021-11-01 17:01:28.244 ERROR 4732 --- [ctor-http-nio-2] a.w.r.e.AbstractErrorWebExceptionHandler : [5761064e-3] 500 Server Error for HTTP GET "/admin/user/list"
java.lang.IllegalStateException: Invalid host: lb://zkdn_admin
at org.springframework.cloud.gateway.filter.RouteToRequestUrlFilter.filter(RouteToRequestUrlFilter.java:86) ~[spring-cloud-gateway-server-2.2.6.RELEASE.jar:2.2.6.RELEASE]
Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Error has been observed at the following site(s):
|_ checkpoint ⇢ org.springframework.cloud.gateway.filter.WeightCalculatorWebFilter [DefaultWebFilterChain]
|_ checkpoint ⇢ HTTP GET "/admin/user/list" [ExceptionHandlingWebHandler]
Stack trace:
at org.springframework.cloud.gateway.filter.RouteToRequestUrlFilter.filter(RouteToRequestUrlFilter.java:86) ~[spring-cloud-gateway-server-2.2.6.RELEASE.jar:2.2.6.RELEASE]
The reason is that the service name registered in Nacos has “”, which can be solved by changing the underscore to “-“.
Not much to say, go directly to the code entity
1.permission

2.role

The key point is to rewrite hashcode and equals in the role, ToString method 
Remove the annotation @data, change it to @getter and setter annotations, and solve the error
When qtcreator uses the MSVC compilation environment to build a project, a JOM: C: /… /… [cmtc_fe41e \ fast] error 2 error will occur due to incorrect configuration. Here are my solutions and understanding of this problem. I hope it can help small partners who encounter the same problem.
Error screenshot
Error reason
When qtcreator uses cmake to build a project, it will first test the environment configuration. If you have used cmake GUI or the command line to generate the corresponding project file (vs. vcxproj or Makefile, etc.) through cmakelists.txt, you will understand this process. Cmake uses the – g parameter to see which specific projects are supported, called cmake generators.
Cmake command line generates makefiles:
MD build
CD build
cmake – G “nmake makefiles JOM”…
#[[
… Indicates that cmakelists.txt is placed in the upper level directory. In this step, cmake will automatically detect the environment. If an error occurs, you cannot generate project files or makefiles
#]]
nmake
Cmake GUI: after setting, click Configure to generate if there is no problem
so the JOM error above is that cmake detects that the environment configuration is incorrect. At this time, you will see that qtcreator will not load the source file at all. Only one cmakelists.txt
open cmake’s error log file, and you will find that some tools needed in the construction process cannot be found:
“D:\Program Files (x86)\CMake\bin\cmake.exe” -E vs_ link_ exe
–intdir=CMakeFiles\cmTC_ 5b162.dir
–rc=rc
–mt=CMAKE_ MT-NOTFOUND
–manifests
– D:\PROGRA1\MICROS1.0\VC\bin\amd64\link.exe /nologo @CMakeFiles\cmTC_ 5b162.dir\objects1.rsp @C:\Users\ADMINI~1\AppData\Local\Temp\cmTC_ 5b162.exe.9516.577.jom
RC pass 1: command “RC/fo cmakefiles \ cmtc_5b162. Dir/manifest. Res cmakefiles \ cmtc_5b162. Dir/manifest. RC” failed (exit code 0) with the following output:
the system cannot find the specified file. jom: C:\Users\Administrator\AppData\Local\Temp\QtCreator-liCfaX\qtc-cmake-pToFXfXx\CMakeFiles\CMakeTmp\CMakeFiles\cmTC_ 5b162.dir\build.make [cmTC_5b162.exe] Error 2
jom: C:\Users\Administrator\AppData\Local\Temp\QtCreator-liCfaX\qtc-cmake-pToFXfXx\CMakeFiles\CMakeTmp\Makefile [cmTC_5b162\fast] Error 2
RC is rc.exe, and the resource compiler
MT is mt.exe
resolvent
It’s easy to know the cause of the error
First, add the path of jom.exe to the environment variable path
${QT installation directory} \ tools \ qtcreator \ bin
Then add the paths of rc.exe and mt.exe to the environment variable path
C: \ program files (x86) \ windows kits \ 10 \ bin \ 10.0.17763.0 \ x86
depending on the system version and 32-bit/64 bit, find out for yourself
When there are no problems, you can build the project
