Author Archives: Robins

Errors in IntelliJ ieeasql statements and table names in @ table

SQL> SELECT * FROM ‘SQL’ WHERE ‘ERROR’ IS SPECIFIED;


Click the above icon to enter the Project Structure panel and click “+”.

Select the hibernate

Click ok
Then you’ll notice that the error is missing, but the Table name in the @Table annotation on the entity class is still reporting an error

@Entity
@Table(name = "SSSP_DEPARTMENT")
public class Department implements Serializable {



Select the corresponding database and solve the problem

Error in Babel configuration of webpack

In the configuration of Babel times wrong below

as we can see from the error prompt time configuration Babel when make a mistake, then we need to look to the specific configuration of Babel, this is my configuration

from the configuration, see can see problems in persets words are spelt wrong, this kind of error is quite common, the correct method is presets

Error report and solution of PHP module introduced by Apache

Preface:
Today, I will share with you the introduction of Apache PHP module error and solution
 
The incoming module file path has Spaces

 
Solution: The path is enclosed in double quotes

 
The requested operation has failed. The requested operation has failed.
 
Solutions:
1. View the version of HTTPD
  

 
2. Check the PHP version

 
3. Check the VC version of the machine

 
Then we can use this information to select the appropriate PHP package

In the above picture, I downloaded the Win32 vc14 x86 PHP package, only to download the corresponding version, can not report errors.

Linux basic command execution error: the solution of command not found

This is due to a problem with the environment variable. The profile file is not written correctly, resulting in the command line ls and other commands can not be recognized.
Solution: Just type in the following section from the command line. Add the PATH of all the commands under PATH. The system can find these command script files

export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

@In slf4j log.info Compile error: cannot find symbol log

The article directories
Problem troubleshooting process solution

The problem
I’m using the IDEA integrated development environment, and up until now, log.info() was fine.
have a wonderful work of problems today, an error code compilation, unable to log identification symbols, as follows:

Cannot find symbol log

The screening process
I have installed Lombok’s plugin and it won’t work before.
see the notes on class is also introduced.
The solution
It is better to find that it is actually a check box in IDEA. I don’t know why it is not checked. I don’t remember to change it.
Is the IDEA – & gt; Preference – & gt; Build, Excecution, Deployment – & gt; The Compiler – & gt; There’s an Enable Annotation Processing option on Annocation Processors. Check that and everything will work fine.

Anaconda update error

No module named conda_package_handling. API: No module named conda_package_handling
After a while, Google decided to install Anaconda3 again
Just change the environment variables according to the following tutorial
https://blog.csdn.net/ychgyyn/article/details/82258136

Unknown error in POM file of springboot project

SpringBoot project POM file is Unknown error

The Maven Jar plugin was updated from 3.1.1 to 3.1.2 from Spring Boot 2.1.5. Release
Solution: Downgrade the Maven JAR plug-in to 3.1.1 and add the following configuration in the POM file properties

<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>

 
The following figure

 
Reference: https://bugs.eclipse.org/bugs/show_bug.cgi?id=547340
 

Idea startup project Lombok error, no symbol found

The error message is as follows:

About the solution to this problem on-line machine-made, basic is lombok plug-in installation restart idea, or check the Enable the annotation processing, if these are not solve, might as well have a look at your project using the SDK version is too high lead to do not compatible with lombok, such as my idea version is 2019.3.3, default jdk11, and I install ombok plug-in version is 029-2019.3, the experiment proved that the version are not compatible. Solution:
Click “File” in the upper left corner and select Project Structure, as shown in the picture
: select the Module SDK from 1.8 or any other Lombok version that is compatible with your installation.

The shell script exits after an error is reported

When you’re doing DevOps or Continuous Integration or Continuous Delivery, you sometimes write shell scripts.
However, in the sequential execution of the shell script, there may be an intermediate stage that will report an error, and the execution will continue.
So how do you avoid the problem of quitting later execution when something goes wrong?
Reference code:

#!/bin/bash
set -o errexit

Add at the beginning of the set -o errexit can (or set -e )
To be closed when the set + o errexit (or set ) + e

Idea error: error: Java: error: release 5 is not supported

When I test the class run, the following error occurs:

Possible cause: Java version inconsistencies The project builds the configuration using the wrong version of Java
Solution:
Step 1: File –Project Structure– Project (2 versions are changed to the same: the numbers in the second and third bars are 11)

File — –Project Structure– Modules (second bar changed from 9 to 11 as in Project)

Step 2: File– Setting– build, execution, deployment– Java Compiler (right-most, Target bytecode version 5)

 
 

The solution to the error of importing CSV from Python to Python

Daily analysis of data sources into Python, sometimes there will be errors and display garbled code problems, today to review the common errors.
Python code
import pandas as pd
import numpy as np
Df = pd read_csv invest_record_2018. CSV (” “)
Error message
UnicodeDecodeError Traceback (most recent call last)
pandas/_libs/parsers.pyx in pandas._libs.parsers.TextReader._convert_tokens
(pandas/_libs/parsers.c:14858)()
pandas/_libs/parsers.pyx in
pandas._libs.parsers.TextReader._convert_with_dtype
(pandas/_libs/parsers.c:17119)()
Error message shows the file encoding error, so adjust the code
import pandas as pd
import numpy as np
df=pd.read_csv(“invest_record_2018.csv”,encoding=”utf-8″)
Error report still, change the code
import pandas as pd
import numpy as np
df=pd.read_csv(“invest_record_2018.csv”,encoding=”gbk”)
Encoding =” iso-8859-1 “can also be used to stop the error
import pandas as pd
import numpy as np
df=pd.read_csv(“invest_record_2018.csv”,encoding=”ISO-8859-1″)
Neither code will display an error. You can continue writing.
Chinese garbled code problem
df.head()
Preview the first 5 lines, Chinese display garbled code
Continue to change the code
import pandas as pd
import numpy as np
df=pd.read_csv(“invest_record_2018.csv”,encoding=”gbk”)
df.head()
After execution, display is normal, problem solved.
Coding classification
Encoding =” UTF-8 “(encoding=” UTF-8″, encoding=” UTF-8 “, encoding=” UTF-8 “)