Eclipse: emergence The selection can not be launched, and there are no recent launches how to solve

I may be imprudent carelessness, through online information, will now be under their own blog warning .

 

The main reason for this problem is:

                 Because the syntax problems caused by errors

Solution:

1. Check the semicolon.

2. Check the main function.

3. Check the parentheses after the main function String [] args;

 

Well, the summary is completed.

错误的示范:

public class Clsa {
public static void mian(String[] args){//main error!!!!!
	System.out.println("dsfdsfd ");
}
}

正确的示范:
public class Clsa {
public static void main(String[] args){
	System.out.println("dsfdsfd ");
}
}

 

Published 19 original articles · won praise 9 · views 7443

Guess you like

Origin blog.csdn.net/Cryu_xuan/article/details/90769554