IDEA Create Maven project or pratice small progress
1.File->New Project ->
2.input the name that =>Click finish
3. Put the Mouse on the Java =>New Class
4. input what you want
import java.io.BufferedReader;
import java.io.InputStreamReader;
class TakeInputfromUser {
public static void main(String...s)throws Exception{
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
System.out.println("Enter a value");
String str =br.readLine();
System.out.println(str);
}
}
5. Run
Maven Trouble shoot:
- add the Maven bin path to the system environment
-
2.CMD=>mvn –version
Clean 报错
按照如下图进行
3. 出现如下按照https://blog.51cto.com/4925054/2127840
要爱上写总结,不断的总结。
不断地反省、提升、改变自己。
简单、专注、持久。