Git Product home page Git Product logo

video-streaming-service's Introduction

spring-boot-streaming

spring-boot, video streaming, jpa, lombok

capture

How to Play: Method 1

  • Install maven3, jdk1.8
  • compile command: $ mvn compile
  • run command: $ mvn spring-boot:run -Dvideo.root="{your video directory path}"

How to Play: Method 2

  • Install jdk1.8
  • run command: $ java -Dvideo.root="{your video directory path}" -jar {project base path}/spring-boot-streaming-0.1.war

Using Framework/Tools

  • spring-boot
  • jpa
  • h2 database
  • lombok

If fail compile on any IDE, you check the IDE support lombok.

References

Why I work this project?

  • 심심해서...
  • 요즘 할 일이 없어서......
  • 여친의 존재 유무에 따라.........

video-streaming-service's People

Contributors

skim21 avatar tinywind avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

video-streaming-service's Issues

Error

I changed the data Folder to "~/spring-boot-streaming/src/main/java/kr"

I see the following error on the console.

2016-05-31 11:36:00.414 ERROR 31626 --- [nio-8080-exec-6] k.t.s.controller.MainController : ERROR DURING FOR LOOP
2016-05-31 11:36:00.418 INFO 31626 --- [nio-8080-exec-6] k.t.s.controller.MainController : File List Request. List size is 0

Error

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.