Tag Archives: CMD

An error occurs when executing MVN help: system under CMD

After installing mvn and playing with the environment variables, the following error occurs when I run mvn help:system in cmd.

The configuration file has only been modified in two places, and there is no error in the repository location.

So the only thing that is wrong is the configuration of the place where you went to download

In the configuration file, so that no errors are reported

<mirror>
<id>mirrorId</id>
<mirrorOf>*</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
</mirror>

 

The Java – jar *. Jar prompt in CMD is unable to access jarfile *. Jar or windows can’t double-click to run jar file. What should I do

Front end developers must read! Starting from scratch, teach you to build a low code website platform in stages>>>

1. Switch to the directory of the target file, and then run Java – jar

2. After confirming the installation of Java virtual machine, double-click the jar file to be run or right-click the jar file, and select “open mode” → “select default program” in the pop-up menu

3. In the “open mode” setting window, click the check box before the option “always use the selected program to open this file”, and then click the “Browse” button next to it

4. Select the installation folder of Java virtual machine. If Java 7 is installed, the installation folder is generally “C:: program files?Java?Jre7?Bin” (please find the specific folder yourself). Find the javaw.exe file and click the “open” button

5、

At this time, it has been set to use the javaw.exe application to open the jar file, but in fact, there is no response when double clicking the jar file. This is because the open file parameter is not set

Enter “regedit” in the search box of the windows start menu, right-click the file regedit found above, and select “run as administrator” in the pop-up menu

6. In the registry editor, find “HKEY”_ CLASSES_ In the file open command, add the parameter “- jar” (without quotation marks), and the modified value is similar to: “C: program files, Java: jre7, Bin: javaw. Exe” – jar% 1 “(only need to add – jar parameter, no need to modify other information). Save and exit the registry editor

If the FTP server is accessed by CMD or PowerShell, there is no following after reporting port command successful. Consider using PASV

How is 618 sales champion made?Uncover the secret of e-commerce’s “invigorating” hundreds of millions of sales data>>>

  1. Windows ftp client doesn’t supportPASVmode yet,so if you want to usePASVmode, you may need to change your ftp client, for example: filezilla

Windows FTP client does not support passive mode yet, so if you want to use active mode, you may need to replace your FTP client, for example: FileZilla
2. FTP active mode means FTP server will connect to FTP client when client get file from server

FTP activity mode is the mode that the FTP server connects to the FTP client when the client obtains the file from the server

So if you have this problem and you don’t want to change your windows ftp client, please try to

So if you encounter this problem and you don’t want to replace your Windows FTP client, please try
stop your Windows Firewall and then try FTP again, if it works, add a rule for Windows/system32/ftp.exit your firewall allow process list

Stop your Windows Firewall and try to connect to FTP again after that, and add a rule in the allowed process of the firewall for Windows/system32/ftp.exe

From & lt; https://blog.csdn.net/jiang__ jiang/article/details/52164426>

remarks:

The above content is from 2016. Although it is a little outdated, it still enlightens me. I set FTP in the firewall to allow TCP and UDP in both public and private network domains, and successfully log in to the FTP server that could not be used under windows before using other FTP terminals. In conclusion, I don’t know whether it’s the firewall, the FTP server line or the success of other FTP login. In a word, I successfully login with windows.

Good luck to you who didn’t succeed!