Tag Archives: solution

[save] Maven’s pom.xml Labeled xsi:schemaLocation Error report

The reason why Maven installs x is that Maven will generate a *. Lastupdated file for the jar file that can’t be downloaded. If it doesn’t kill the *. Lastupdated file, it won’t download the jar for you again. So, kill the *. Lastupdated guy and update it again

Original text: https://blog.csdn.net/qq_ 22843051/article/details/79765040

[reprint and save] MySQL does not set the primary key and uses the self growing ID method

MySQL can only have one auto growth field per table. This auto growth field can be used as a primary key or a non primary key. However, please note that when you use an auto growth field as a non primary key, you must add a unique index to it, otherwise the system will report an error. For example:

1. Set the auto grow field as the primary key.

create table t1 (id int auto_ increment Primary key,sid int);

2. Set the auto grow field to a non primary key. Note that the unique key must be added explicitly.

create table t2 (sid int primary key,id int auto_ increment Unique);

3. Set the auto growth field to a non primary key. If no unique index is added, an error will be reported * *, as shown in the following statement

create table t3 (sid int primary key,id int auto_ increment)。

MySQL is a relational database management system, developed by MySQL AB company of Sweden, which is a product of Oracle at present. MySQL is one of the most popular relational database management systems. In web application, MySQL is the best RDBMS (relational database management system) application software. MySQL is a kind of relational database management system. Relational database stores data in different tables instead of putting all data in a large warehouse, which increases the speed and flexibility. The SQL language used by MySQL is the most commonly used standardized language for accessing databases. MySQL software adopts dual authorization policy, which is divided into community version and commercial version. Because of its small size, fast speed, low total cost of ownership, especially the open source, MySQL is generally chosen as the website database for the development of small and medium-sized websites. Because of the excellent performance of its community version, it can form a good development environment with PHP and Apache

come from: https://zhidao.baidu.com/question/621026495899595372.html

java.lang.IllegalArgumentException : urlcoder exception resolution

Exception:

Exception in thread “main” java.lang.IllegalArgumentException : URLDecoder: Illegal hex characters in escape (%) pattern – For input string: “u9”
    at java.net.URLDecoder .decode( URLDecoder.java:194 )
    at com.hbzx.controller . PayResultController.main ( PayResultController.java:253 )
reasons:

Java call URLDecoder.decode (STR, “UTF-8”); the main reason for throwing the above exception is that% is a special character in the URL and needs special escape,

Solution: replace the% sign in the string with% 25

solve:

 url = url.replaceAll("%(?![0-9a-fA-F]{2})", "%25");
   String urlStr = URLDecoder.decode(url, "UTF-8");

D-page address: https://blog.csdn.net/afgasdg/article/details/40304817

Maven invalid source release 11

I see that my JDK configuration is 8, and I feel that it’s OK. Later I found out that my JDK configuration is 8 pom.xml The file configuration is as follows:

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>11</source>
                    <target>11</target>
                    <encoding>utf-8</encoding>
                </configuration>
            </plugin>
        </plugins>
    </build>

Change 11 to 8, problem solved!!!

Solution to the warning of too low TDR value in new sp

In Windows environment, the following window may pop up when you open the new version of SP to prompt that your TDR (timeout detection recovery) is too low. Click continue anyway to enter the software, but it may bring problems such as software crash and too high delay. This paper gives a solution to this problem combined with official documentation.

Why does GPU driver crash?

In order to prevent any rendering or GPU computing from causing system lock, windows system will shut down any GPU driver that rendering for a short period of time.

There is a key in the registry of windows that controls how long the system should wait before shutting down the driver. However, the software does not have permission to change this setting, and this value can only be changed manually.

You can get more details about TDR at the following links: https://docs.microsoft.com/en-us/windows-hardware/drivers/display/tdr-registry-keys

terms of settlement:

You can modify the TDR value in two ways:

Increase the TDR delay value (this is the safest way) – & gt; modify “tdrdelay” and “tdrddidelay” to a higher value (such as 60s) to completely prohibit TDR – & gt; modify “tdrlevel” to 0 (not recommended by SP)

How to modify the TDR value in the registry:

(please note that the following operations will modify/create keys. If you don’t know how to edit the registry, it may lead to serious results that you can only reload the system.)

1. Windows + R opens the run window

2. Enter regedit and press enter

3. In the registry on the left, find: Computer/HKEY_ LOCAL_ MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers

4. Check the key on the right. If there is no tdrdelay, right-click in the space on the right and select new & gt; DWORD (32bit) value

5 double click “tdrdelay” on the right side, change it to a higher value (default 2S), officially recommend 60s, and change its base to decimal

6. Create/Edit “tdrddidelay” value in the same way (default 5S)

(note decimal60 = hexadecimal 3C)

7. Now the TDR value in your registry should be as shown in the figure below

8. Close the registry and restart the computer.

The solution of Maya exporting obj to sp without identifying group information

Today, I encountered a very painful problem. After grouping, I exported obj and baked it in sp. in any case, I could not read the mesh ID of the object, as shown in the figure.

Unable to read the mesh ID. the error baking result is as follows: . Although I haven’t figured out the reason now, there is a good solution.

That’s it—————————————

Don’t use obj, just FBX.

[solution] install youcompleteme through VIM plug-in manager VIM plug, including ycmd server shutdown solution

Reference article:
take you step by step to install the most difficult VIM plug-in in history: youcompleteme
VIM plug-in: minimalist VIM plug-in manager

Installation method

    install VIM
    sudo apt get install VIM edit vimrc
    first add VIM ~ /. Vimrc
    at the top:
    call plug#begin (‘~ /. VIM/plugged’)
    plug ‘valloric/youcompleteme’
    call plug#end() to install VIM plug and install youcompleteme through plugged

    Input: curl – flo ~ /. VIM/autoload at the terminal/ plug.vim –create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim Open VIM
    Enter “: source ~ /. Vimrc” at the command line
    Enter “: pluginstall” at the command line to install youcompleteme, which takes a long time. Please wait patiently for YCM to be compiled and installed_ core
    mkdir ~/.ycm_ build
    cd ~/.ycm_ build
    cmake -G “Unix Makefiles” . ~/.vim/plugged/YouCompleteMe/third_ party/ycmd/cpp
    cmake –build . –target ycm_ core –config Release

Supplement: VIM prompts the debugging method of the ycmd server shut down:

Select log through ycmtogglelogs to view errors

For example, the solution of no module named watchdog: PIP3 install watchdog

[opencv + openvino] opencv-vino4.5.1 + opencv contrib installation

Get opencv vino

    git clone --branch 4.5.1 https://github.com/opencv/opencv_ contrib.git git clone --branch 4.5.1-openvino https://github.com/opencv/opencv.git opencv_ Place contrib in opencv directory

    Enter the opencv Directory:

      mkdir build & cd buildcmake -D CMAKE_ BUILD_ TYPE=RELEASE -D CMAKE_ INSTALL_ PREFIX=/usr/local -D INSTALL_ PYTHON_ EXAMPLES=ON -D OPENCV_ EXTRA_ MODULES_ PATH=../../opencv_ contrib/modules -D WITH_ INF_ ENGINE=ON -D ENABLE_ CXX11=ON -D PYTHON_ EXECUTABLE=/usr/bin/python ..

    Common errors and solutions:

      opencv_ contrib/modules/xfeatures2d/src/ boostdesc.cpp:673 :20: fatal error: boostdesc_ BGM. I: no such file or directory
      solution:
      source code compilation is adopted, so you can view the log file in the build folder CMakeDownloadLog.txt , in the log file CMakeDownloadLog.txt Search for bootdesc in_ BGM. I keyword (not search in the folder),
      found that the file download failed. The log file has its download address. You can directly copy the download address to the web page to see the source code of the file. You can directly copy the source code and save the file with the same name and put it in OpenCV_ The path of contrib/modules/xfeatures2d/SRC/ is OK.
      Baidu network disk download address: https://pan.baidu.com/s/1BeYF8kqEZLAJYQj-MvxpmA Password: e1wc (thank you for sharing) fatal error: features2d/test/test_ detectors_ regression.impl.hpp : no such file or directory
      solution:
      copy opencv/modules/features2d and paste it into the build directory to solve the problem. Final error: opencv2/xfeatures2d.hpp: no such file or directory
      solution:
      Add OpenCV_ The problem of can be solved by copying the contrib/modules/xfeatures 2D/include/opencv2 folder to the /usr/local/include/opencv2/ folder

AppCompat does not support the current theme features

Error message

Process: com.cleverrock.albume, PID: 27166
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.cleverrock.albume/com.cleverrock.albume.activity.LoadActivity}: java.lang.IllegalArgumentException: AppCompat does not support the current theme features
   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2248)
   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2298)
   at android.app.ActivityThread.access$800(ActivityThread.java:144)
   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1246)
   at android.os.Handler.dispatchMessage(Handler.java:102)
   at android.os.Looper.loop(Looper.java:212)
   at android.app.ActivityThread.main(ActivityThread.java:5151)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:515)
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:877)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)
   at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IllegalArgumentException: AppCompat does not support the current theme features
   at android.support.v7.app.AppCompatDelegateImplV7.ensureSubDecor(AppCompatDelegateImplV7.java:363)
   at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:246)
   at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:106)
   at com.cleverrock.albume.activity.BaseActivity.onCreate(BaseActivity.java:57)
   at com.cleverrock.albume.activity.LoadActivity.onCreate(LoadActivity.java:57)
   at android.app.Activity.performCreate(Activity.java:5231)
   at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2212)
   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2298) 
   at android.app.ActivityThread.access$800(ActivityThread.java:144) 
   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1246) 
   at android.os.Handler.dispatchMessage(Handler.java:102) 
   at android.os.Looper.loop(Looper.java:212) 
   at android.app.ActivityThread.main(ActivityThread.java:5151) 
   at java.lang.reflect.Method.invokeNative(Native Method) 
   at java.lang.reflect.Method.invoke(Method.java:515) 
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:877) 
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693) 
   at dalvik.system.NativeStart.main(Native Method) 

25130;`22270


1.2.2.2.2.2.2.2.2.

values style.xml

21435;”25481an android:
To: