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

The simple example doesn't work with Windows 10 - jre 1.8 - maven 3 #91

Open
pipost opened this issue Apr 5, 2018 · 2 comments
Open

Comments

@pipost
Copy link

pipost commented Apr 5, 2018

Got the following error when running mvn jcabi-mysql:run, with the configuration given as example at http://mysql.jcabi.com/usage.html :
1/ even with dependencies http://aspects.jcabi.com/jsr-303.html added :
INFO: HV000001: Hibernate Validator 5.1.2.Final
[ERROR] JSR-303 validator failed to initialize: Unable to instantiate Configuration. (see http://aspects.jcabi.com/jsr-303.html)
2/
[INFO] created C:\Projets\tests\projet-maven\my-app2\target\mysql-data directory
[INFO] $ perl C:\Projets\tests\projet-maven\my-app2\target\mysql-dist\scripts\mysql_install_db.pl --defaults-file=C:\Projets\tests\projet-maven\my-app2\target\mysql-data\my-default.cnf --force --innodb_use_native_aio=0 --datadir=C:\Projets\tests\projet-maven\my-app2\target\mysql-data\data --basedir=C:\Projets\tests\projet-maven\my-app2\target\mysql-dist
[INFO] >> FATAL ERROR: Could not find my-default.cnf
3/
[INFO] >> 2018-04-05 11:01:09 50612 [Warning] Can't create test file C:\Projets\tests\projet-maven\my-app2\target\mysql-data\data\MYHOST.lower-test
[INFO] >> 2018-04-05 11:01:09 50612 [Warning] Can't create test file C:\Projets\tests\projet-maven\my-app2\target\mysql-data\data\MYHOST.lower-test
[INFO] >> C:\Projets\tests\projet-maven\my-app2\target\mysql-dist\bin\mysqld.exe: Can't change dir to 'C:\Projets\tests\projet-maven\my-app2\target\mysql-data\data' (Errcode: 2 - No such file or directory)
[INFO] >> 2018-04-05 11:01:09 50612 [ERROR] Aborting

Environment :
mvn -v
Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T13:57:37+02:00)
Maven home: C:\ProgramFiles\Maven\apache-maven-3.3.3\bin..
Java version: 1.8.0_151, vendor: Oracle Corporation
Java home: C:\ProgramFiles\Java\jdk1.8.0_151\jre
Default locale: fr_FR, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "dos"

@0crat
Copy link

0crat commented Apr 5, 2018

@yegor256/z please, pay attention to this issue

@0crat
Copy link

0crat commented Apr 5, 2018

@pipost/z this project will fix the problem faster if you donate a few dollars to it; just click here and pay via Stripe, it's very fast, convenient and appreciated; thanks a lot!

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