Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run the project #1

Open
hendisantika opened this issue Mar 12, 2017 · 1 comment
Open

Run the project #1

hendisantika opened this issue Mar 12, 2017 · 1 comment

Comments

@hendisantika
Copy link

Nice repo.

But, could you give a little doc explaining about how to run this project properly.
Because I tried cloning your repo but I can not run your project.

mvn compile exec:java

[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building spark-kotlin spark-kotlin 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ spark-kotlin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/hendisantika/Documents/IdeaProjects/spark-kotlin/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ spark-kotlin ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- kotlin-maven-plugin:1.0.6:compile (compile) @ spark-kotlin ---
[INFO] Kotlin Compiler version 1.0.6-release-127
[INFO] Compiling Kotlin sources from [/Users/hendisantika/Documents/IdeaProjects/spark-kotlin/src/main/kotlin]
[INFO] Module name is spark-kotlin
[INFO] 
[INFO] --- exec-maven-plugin:1.6.0:java (default-cli) @ spark-kotlin ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.042 s
[INFO] Finished at: 2017-03-12T08:22:10+07:00
[INFO] Final Memory: 38M/494M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project spark-kotlin: The parameters 'mainClass' for goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java are missing or invalid -> [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/PluginParameterException
Hendis-MBP:spark-kotlin hendisantika$ 

Could you give me an advice?

Thanks

@sawan07
Copy link

sawan07 commented Oct 31, 2018

Try using this dependancy.
<dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-util</artifactId> <version>9.3.24.v20180605</version> </dependency>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants