[go: up one dir, main page]

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

Cannot run the application #67

Open
matizakoo opened this issue May 28, 2023 · 2 comments
Open

Cannot run the application #67

matizakoo opened this issue May 28, 2023 · 2 comments

Comments

@matizakoo
Copy link

Hi Daniel
I am not able to run application. I've created classes which are mentioned in ,,Technical requirements" and also changed .yaml file for my own MariaDB server.

Also /private/var/folders/2q/** is set 777 permission but still get error like that: shell> /private/var/folders/2q/190xvk2d6810kn6zwxljvtdc0000gn/T/MariaDB4j/base/bin/mysql -u root mysql

whole console log Is under the link: https://pastebin.com/BPQn6ANV

I tried to run cosmo-webaps package. Cosmo-api and cosmo-core with mvn clean spring-boot:run/mvn clean install doesn't run the application.

Maybe you have some steps how to finish configurating application to run it. I will be very thankful :)

@danielgrigore
Copy link
Collaborator

Hi @matizakoo,

From the log files it looks like the application still tries to start an embedded MariaDB instance and it fails.
In order not do that and use your own MariaDB instance you have to comment out/remove the following two dependencies from cosmo-webapp pom.xml file

<dependency>
  <groupId>ch.vorburger.mariaDB4j</groupId>
  <artifactId>mariaDB4j-core</artifactId>
</dependency>
<dependency>
  <groupId>ch.vorburger.mariaDB4j</groupId>
  <artifactId>mariaDB4j-app</artifactId>
</dependency>

I also updated the pom.xml file to use the latest cosmo-core version with Java 17.
Cheers,

@matizakoo
Copy link
Author

Thank you Daniel :) I will check it later

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