Idea import online downloaded projects (such as CSDN, Github)?

Import maven project, idea select Import Project until POM.xml

Problem 1: Comment and uncomment

Answer a:

The eclipse or idea

When editing a.java file, such as the class name.java, the shortcut for commenting and uncommenting is “CTRL + /”

When you edit a.xml file, like pom.xml,

CTRL + SHIFT + /

Uncomment: CTRL + SHIFT + \

 

Intellij IDEA error Cannot open URL. Please check this URL is correct: http://localhost:8080/

Answer two:

A reason for

Checking Tomcat Configuration

The cause of this error is that the HTTP port Settings of open Browser and Tomcat Server Settings – are inconsistent

It said 8888 at the top and 8080 at the bottom, which is why this error occurred