Maven Packaging ERROR: Some problems were encountered while processing the POMs

Specific performance in Maven packaging error:

the command used is MVN clean package- Dmaven.test.skip

resolvent

Specifies the settings.xml Configuration file, possibly due to command line execution settings.xml If the file does not match the actual one, use the following command
MVN clean package -- settings{ settings.xml The actual path of}- Dmaven.test.skip

results of enforcement

An error occurred when starting pyspider with Python 3.7

Keyword problem
the last sentence of the question appears
file “D: (installed/Python/lib/site packages/pyspider”\ run.py ”, line 231
async=True, get_ object=False, no_ Input = false):
syntax error: invalid syntax
the reason is: async is the keyword in Python 3.7
the solution is to replace this keyword. There are mainly two files: D: (installed) python (LIB) site packages (pyspider)\ run.py And D: installed, python, lib, site packages, pyspider, fetcher, tornado_ fetcher.py
when replacing, please note: only replace the variable or parameter name named async. Do not try to save trouble by selecting “replace all”
after saving, run “pyspider all” again
at this time, the spider only starts to “scheduler XMLRPC listening on 127.0.0.1:23333” and stops
to continue to replace python_ HOME\Lib\site-packages\pyspider\webui\ app.py Async
in
starts again
and reports an error again: valueerror: invalid configuration:
– modified option ‘domain controller’: use ‘HTTP’_ authenticator.domain_ Controller ‘instead.
solution: turn on python_ HOME\Lib\site-packages\pyspider\webui\ webdav.py File, modify line 209
to change ‘domain controller’: needauthcontroller (APP)
to:
‘http>_ Authenticator ‘: {
‘http authenticator’: needauthcontroller (APP),
},
save the file
run again and succeed

JD GUI decompiles class file and reports internal error

Today, when decompiling a class file with JD GUI 1.4.0, we don’t see the decompilation result, only see the internal error, as shown in the following figure:

Google searched for it and found that it was in its official GitHub issue( https://github.com/java-decompiler/jd-gui/issues/197 )Luyten has a better tool for decompilation( https://github.com/deathmarine/Luyten )。

After downloading and using it, you can really open the class file that failed to decompile before.

Note: the following error occurred when using ﹣ luyten-0.5.3.exe:

The reasons may be as follows: my machine uses the non installation version of JDK 8, only specifies the path of JDK in the environment variable, and there is no JDK related information in the registry.

Solution: hold down the shift key, click the right mouse button, select “open command window here”, and enter: Java – jar luyten-0.5.3.exe in the open window

You can start Luyten normally.

 

MySQL skip grant tables add user error 1290

MySQL skip grant tables add user error 1290

     

I forgot the database password,

At this time, we just need to add the

skip-grant-tables

Then restart the service and log in to the database without us entering the password

At this time, I successfully log in to the database, but I accidentally deleted all the users and couldn’t log in. At this time, I changed the configuration file to log in. I wanted to add users to the database, but after executing the add user command, I was prompted as follows:

ERROR 1290 (HY000): The MySQL server is running with the –skip-grant-tables option so it cannot execute this statement
mysql> GRANT ALL PRIVILEGES ON *.* TO IDENTIFIED BY ‘123’ WITH GRANT OPTION;
ERROR 1290 (HY000): The MySQL server is running with the –skip-grant-tables option so it cannot execute this statement

At this time, we just need to flush privileges to add users,

mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)

mysql> GRANT ALL PRIVILEGES ON *.* TO IDENTIFIED BY ‘123’ WITH GRANT OPTION;
Query OK, 0 rows affected (0.00 sec)

At this time, we have successfully completed, and then log in.

If an error is reported, the following information is given:

Error: Cannot retrieve repository metadata ( repomd.xml ) for repository: InstallMedia. Please verify its path and try again
 You could try using –skip-broken to work around the problem
 You could try running: rpm -Va –nofiles –nodigest

We just need to get to/etc/ yum.repo . s packetxxxx.repo and RedHat.repo Delete the two files and start again,

Cloud init error: error: invalid scope does not have permission

Confirm that the env cloud environment parameters you have configured are correct, and report the following error after compiling. The reason is that appid needs to wait about 10 minutes for the official background to prepare for the service after opening the cloud environment for the first time, and then it can be compiled again after 10 minutes.

The solution of red X in eclipse error pages

Every time I build a maven project and turn it into a web project, there are always so many files here, and there will also be a red cross of error pages, which is very uncomfortable. Although there was no error in the project, it was always an error message for me. So I looked for a long time, and finally found the cause of the problem.

It turns out that this is a problem of eclipse itself. If you change to a web project, you will add web.xml , but the compiler will not update itself and will report this error. So you can cut it web.xml Save all the information in Ctrl + s, then the compiler will refresh, and then you are putting the clipped content back web.xml Finally, the problem is solved.

 

Real machine debugging error error = = error domain = nsurlerrordomain code = – 1009 “seems to have disconnected from the Internet. “

Real machine debugging error error = = error domain = nsurlerrordomain code = – 1009 “seems to have disconnected from the Internet. ”

Please note that the error code is – 1009, there are many websites on the Internet about the error code of network link query, query, you will find that

-1009

kCFURLErrorNotConnectedToInternet

NSURLErrorNotConnectedToInternet

“The connection failed because the device is not connected to the internet.”

The connection failed because the device is not connected to the “Internet.” that’s right. My real machine forgot to link to WiFi (I think you know what to do next, turn on the mobile phone to link to WiFi). This kind of low-level mistake can also be made. There are 10000 grass mud horses running in my heart. Here, the blogger warns the development team-mates to be careful and don’t bury their own pits!

Unknown error: cannot find chrome binary when running selenium under Linux

For Linux system, running Selnium script will report the following error

Traceback (most recent call last):
  File "./obp_pb_get_csv.py", line 73, in <module>
    browser = webdriver.Chrome('/usr/bin/chromium') # Get local session of chrome
  File "/usr/lib64/python2.7/site-packages/selenium/webdriver/chrome/webdriver.py", line 46, in __init__
    self.service.start()
  File "/usr/lib64/python2.7/site-packages/selenium/webdriver/chrome/service.py", line 64, in start
    raise WebDriverException("Can not connect to the ChromeDriver")
selenium.common.exceptions.WebDriverException: Message: 'Can not connect to the ChromeDriver'

Solution:

1. Confirm whether Chrome browser is installed, command: Chrome browser - version 0

2. If not, use the following command to install: sudo apt get install chromium browser

3. Get chromedriver and visit the following link http://chromedriver.storage.googleapis.com/index.html

4. Decompress Chromdriver.zip

5. Move the file to the path/usr/bin, command: sudo MV chromedriver/usr/bin

6. Switch to/usr/bin directory, command: CD/usr/bin

7. Make it executable, command: sudo Chmod a + X chromedriver

8. Perform the following code tests:

from selenium import webdriver

driver = webdriver.Chrome()
driver.get("http://www.google.com")
print driver.page_source.encode('utf-8')
driver.quit()
display.stop()

 

Error: getaddrinfo enoent error resolution

error: getaddrinfo enoent error resolution

When NPM run dev is used to run Vue project, error: getaddrinfo enoent is reported as follows:

Cause of the problem:

Localhost is not bound to 127.0.0.1

resolvent:

Find the hosts file in C:// Windows/system32/Drivers/etc , add 127.0.0.1 to the hosts file, and save it, as shown in the figure below: