Skip to content
This repository was archived by the owner on Jul 12, 2023. It is now read-only.
This repository was archived by the owner on Jul 12, 2023. It is now read-only.

Kurento-room-server does not have a mainClass defined in pom.xml #13

Closed

Description

@tylkomat

I use openjdk-7 and receive the following error:

Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.2:java (default-cli) on project kurento-room-server: The parameters 'mainClass' for goal org.codehaus.mojo:exec-maven-plugin:1.3.2:java are missing or invalid

Activity

  1. added
    not-a-bug
    and removed on Nov 13, 2015
  2. changed the title [-]Kurento Room does not Compile[/-] [+]`mvn exec:java` does not find mainClass in kurento-room-server pom.mxl[/+] on Nov 13, 2015
  3. changed the title [-]`mvn exec:java` does not find mainClass in kurento-room-server pom.mxl[/-] [+]Kurento-room-server does not have a mainClass defined in pom.xml[/+] on Nov 13, 2015
  4. igracia commented on Nov 13, 2015

    @igracia
    Contributor

    It seems to me that you are executing mvn exec:java, not compiling. The kurento-room-server is not supposed to be used like that, as it has to be embedded in a Spring-Boot application. Please have a look at this project for an executable kurento-room-server.

    I think there is a mistake in the documentation on how to run this. We'll have that corrected.

    @rvlad Could you please have a look at the documentation for the kurento-room project? It seems that there are some misleading instructions there, namely this part

    $ git clone [email protected]:Kurento/kurento-room.git
    $ cd kurento-room
    $ git checkout 6.1.0
    $ mvn compile exec:java
    

    That should be executed in the proper folder I guess.

  5. removed
    not-a-bug
    on Nov 13, 2015
  6. self-assigned this
    on Nov 13, 2015
  7. rvlad commented on Nov 13, 2015

    @rvlad

    @igracia you're right, there is an error, the Maven command should be executed from the kurento-room-demo folder.

    $ git clone [email protected]:Kurento/kurento-room.git
    $ cd kurento-room-demo
    $ git checkout 6.1.0
    $ mvn compile exec:java
  8. igracia commented on Nov 15, 2015

    @igracia
    Contributor

    @rvlad Thanks!
    @tylkomat We've updated the README.md, but the patch is now in our CI. It will go to github soon. We'll close the issue once the patch is merged. Thanks for reporting this!

  9. rvlad commented on Nov 23, 2015

    @rvlad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions