Category Archives: How to Fix

Error C1001 vs2013, a solution

Compiler error. This problem is encountered in the process of compiling the boost source file.
Maybe it’s a vs problem. Vs update 4 and update 5 can solve this problem.
Google link:

https://groups.google.com/forum/#!search/error$20c1001$20vs2013/boost-list/rwhPIW5BxB8/LwnLaJo6AQAJ

CONDA list error

Solution: computer properties – advanced system settings – environment variables – system variables – find path, edit – add D: (anaconda3) scripts (according to your own installation path) to the variable value, and separate it from the previous “;” (input method switch to English state) – OK

MySQL error 1054 (42s22) unknown column ‘password’ in ‘field list’

This intention is to change a user’s password. The command found on the Internet is as follows

1

MySQL & gt; update user set password = password ("new password") where user = "user name";

Error 1054 (42s22) unknown column 'password' in 'field list'

The reason for the error is that there is no password field in MySQL database of version 5.7, and the password field is changed to authentication_ string

Error: (44,73) lambda expression and XML are not supported in Java: – source 1.7 Error:java : Compilation failed

1 error: error: (44,73) lambda expression is not supported in Java: – source 1.7

Error analysis: the source part of the project reports an error

At this time, the Java class also reports an error: usage of API documented as @ since 1.8 + more

Solution: file = & gt; project structure = & gt; the language level in sources in the right column of modules is changed from ‘7 – diamond, arm…’ to ‘8 – Lambdas, type annotations, etc’ = & gt; apply = & gt; OK

At this time, the Java class error disappears

2 restart, error report: Error:java : Compilation failed: internal java compiler error

Solution: file = & gt; settings = & gt; search for java compiler and change the corresponding JDK version to 1.8

Restart my project, normal startup

3. In developing springboot project, idea should ensure the consistency of JDK, otherwise, it may cause a series of project startup problems due to different JDK versions

3.1 assurance pom.xml JDK version consistency in file

3.2 ensure the consistency of project and modules (sources and dependencies) progress payment Version (file = & gt; project structure)

3.3 ensure JDK version consistency of java compiler (file = & gt; settings = & gt; search for java compiler)

[error handling] idea error reporting com.alibaba.druid . pool.DruidDataSource error

Screenshot of error reporting part:

version at the time of error reporting:

jdk1.8   
mysql 8.0.17  
idea2018.3.6 
mysql-connector-java-5.1.37-bin.jar
1.0.9Druid

Error reason:
when an error is reported, the MySQL driver is 5, but the MySQL version is 8, which does not match

Solution:
after changing the MySQL driver to 8.0.16,
then com.mysql.jdbc . driver to com.mysql.cj . jdbc.Driver ,
add after Druid configuration

filters=stat
timeBetweenEvictionRunsMillis=60000
minEvictableIdleTimeMillis=300000
validationQuery=SELECT 1
testWhileIdle=true
testOnBorrow=false
testOnReturn=false
poolPreparedStatements=false
maxPoolPreparedStatementPerConnectionSize=200

Problem solving.

PS: if you have a similar problem, you can communicate with qq2287015934.

[building the flutter environment] error: the flutter directory is not a clone of the GitHub project

During the installation process, enter flutter doctor to report an error:

Error: The Flutter directory is not a clone of the GitHub project.
       The flutter tool requires Git in order to operate properly;
       to set up Flutter, run the following command:
       git clone -b beta https://github.com/flutter/flutter.git

resolvent

Manually create a . Git folder in the root directory of flutter
and execute flutter doctor again to start the installation

During the installation process, you may encounter errors error: unable to 'pub upgrade' shutter tool
at this time, you only need to add the following two variables to the environment variable - & gt; user variable

export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn


Initialization error of PLSQL connection to Oracle

Download as many as 64 = 32-bit database

Oracle is 32-bit and your PLSQL must be 32-bit; Oracle is 64 bit and your PLSQL must be 64 bit;

After entering the account password, this box will pop up

Solution: see how many bits your Oracle is, and then you can download how many bits of your PLSQL

This interface is usually installed correctly

[solution] original error: Chrome not realizable

background

Use appium to do something.

Error report after running:

An unknown server-side error occurred while processing the command. Original error: chrome not reachable

problem analysis

My control script should be no problem, running well on my own computer, so it must be a problem of environment.

From the following aspects:

1、Chrome Driver
2、ADB
3、Appium Desired Capabilities

First, analyze chrome driver to see if it matches the target chrome version on your phone.

Let’s see if the ADB version is the latest or matches your mobile system version.

The problem I have here is that the version of ADB is too low to work properly.

Next, let’s see if several key attributes in desired capabilities match the mobile phone you want to operate. Focus on the following:

platformNameplatformVersionautomationName

resolvent

After the above analysis, the solution is natural.

For my problems, update ADB.

Run again to solve the problem.

Here is just to provide you with an idea, you can choose flexibly according to your own situation.

Attached: reference materials

Appium official document: http://appium.io/docs/en/writing-running-appium/caps/Github Issue: https://github.com/appium/appium/issues/10129

Error: attempting to operate on HDFS namenode as root

Hadoop 3.1 starts the cluster after formatting and reports an error

Error message:
;./SBIN/start- dfs.sh
Starting namenodes on [note01]
ERROR: Attempting to operate on hdfs namenode as root
ERROR: but there is no HDFS_ NAMENODE_ USER defined. Aborting operation.
Starting datanodes
ERROR: Attempting to operate on hdfs datanode as root
ERROR: but there is no HDFS_ DATANODE_ USER defined. Aborting operation.
Starting secondary namenodes [note01]
ERROR: Attempting to operate on hdfs secondarynamenode as root
ERROR: but there is no HDFS_ SECONDARYNAMENODE_ USER defined. Aborting operation.
2019-02-06 18:36:04,824 WARN util.NativeCodeLoader : Unable to load native-hadoop library for your platform… using builtin-java classes where applicable

Reason:
after decompressing the installation package, the user and group of the folder are modified, that is, the following command is executed
chown root:root hadoop3.1.1 After that, start the cluster to report an error.

Solution:
you can only delete the current software folder, decompress the installation package, modify the relevant configuration files, and then format the file system, which is equivalent to operating from the beginning.

 

Error: enoent: no such file or directory, stat

The gitbook project can’t run when you open it on another computer. Both gitbook serve and gitbook build report errors.

Error: ENOENT: no such file or directory, stat ‘C:\Users\Lenovo\www\mdspg\md\mybook_ book\gitbook\gitbook-plugin-fontsettings\ fontsettings.js ’

it turned out to be a bug (vision: 3.2.3).

The solution is as follows.

The following file was found in the user directory.
.gitbook\versions\3.2.3\lib\output\website\ copyPluginAssets.js

Replace all

confirm: true

with

confirm: false