-
Notifications
You must be signed in to change notification settings - Fork 45
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
Cannot build with maven #1
Comments
That error shows up when the Spring app cannot connect to the MySQL database. As explained here, classroom-demo is an application with a database, and you need to have up and running mysql with the proper database created (all the necessary steps are explained in that link). The steps reproduced there should properly work on Ubuntu 16.04 (I have just tested them). Cheers! |
I followed every step carefully... Cheers, |
Here in the application.properties file are all the configuration parameters for connecting the app with the database. Be sure the user and password are the same in the file and in your MySQL service. You can also try different values for the first property As for the permission problems... Not sure about that. MySQL installation process makes you establish a 'root' user and password, and those must then be the ones included in the application.properties file. Cheers. |
Thank you, it did the trick! Cheers, |
Hello, Cheers, |
To set the URL that should be used in the browser to connect to OpenVidu Server you just need to use property In this table you got more information about all the properties that can be customized in your OpenVidu Server. Regards. |
Hello, I am trying to finish the OpenVidu-classroom demo and I have the same problem in the 7th step. I changed my password in the application.properties file but every time I use this command: mvn clean package exec:java the password is reset to "pass". Any idea about what could I do? Thank you in advance. |
Hello,
I have tried for some time to run the classroom-demo, quite unsuccessfully for now.
I am running a fresh install of Ubuntu 16.04 LTS, and I ran an "insecure" example without problem. So I tried with the classroom...
My problem appears at the maven build stage ("sudo mvn clean package exec:java), which is returning me an error about a denied access to mysql server.
Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:java (default-cli) on project classroom-demo: An exception occured while executing the Java class. null: InvocationTargetException: Failed to execute CommandLineRunner: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Unable to acquire JDBC Connection: Access denied for user 'foo'@'localhost' (using password: YES)
If you have any idea of where my problem could be located, I would be relieved...
Thank you in advance,
Arthur
The text was updated successfully, but these errors were encountered: