I got the following errors. I was trying it on EC2 t1 instance.
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 8 source files to /home/ubuntu/spring-boot-streaming/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/ubuntu/spring-boot-streaming/src/main/java/kr/tinywind/springbootstreaming/model/FIleItem.java:[11,8] class FileItem is public, should be declared in a file named FileItem.java
[ERROR] /home/ubuntu/spring-boot-streaming/src/main/java/kr/tinywind/springbootstreaming/controller/MainController.java:[46,26] constructor FileItem in class kr.tinywind.springbootstreaming.model.FileItem cannot be applied to given types;
required: no arguments
found: java.lang.String,boolean
reason: actual and formal argument lists differ in length
[ERROR] /home/ubuntu/spring-boot-streaming/src/main/java/kr/tinywind/springbootstreaming/config/PostInitActionConfig.java:[22,42] constructor User in class kr.tinywind.springbootstreaming.model.User cannot be applied to given types;
required: no arguments
found: java.lang.String,java.lang.String,java.util.Date
reason: actual and formal argument lists differ in length
[INFO] 3 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:14.445s
[INFO] Finished at: Tue May 31 11:03:16 UTC 2016
[INFO] Final Memory: 21M/57M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project spring-boot-streaming: Compilation failure: Compilation failure:
[ERROR] /home/ubuntu/spring-boot-streaming/src/main/java/kr/tinywind/springbootstreaming/model/FIleItem.java:[11,8] class FileItem is public, should be declared in a file named FileItem.java
[ERROR] /home/ubuntu/spring-boot-streaming/src/main/java/kr/tinywind/springbootstreaming/controller/MainController.java:[46,26] constructor FileItem in class kr.tinywind.springbootstreaming.model.FileItem cannot be applied to given types;
[ERROR] required: no arguments
[ERROR] found: java.lang.String,boolean
[ERROR] reason: actual and formal argument lists differ in length
[ERROR] /home/ubuntu/spring-boot-streaming/src/main/java/kr/tinywind/springbootstreaming/config/PostInitActionConfig.java:[22,42] constructor User in class kr.tinywind.springbootstreaming.model.User cannot be applied to given types;
[ERROR] required: no arguments
[ERROR] found: java.lang.String,java.lang.String,java.util.Date
[ERROR] reason: actual and formal argument lists differ in length
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException