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

Java error when running flyway from bash shell of Git for Windows #1642

Closed
tiborbaksa opened this issue May 18, 2017 · 3 comments
Closed

Java error when running flyway from bash shell of Git for Windows #1642

tiborbaksa opened this issue May 18, 2017 · 3 comments

Comments

@tiborbaksa
Copy link
Contributor

@tiborbaksa tiborbaksa commented May 18, 2017

What version of Flyway are you using?

4.2.0

Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin, SBT plugin, ANT tasks)

Command-line

What database are you using (type & version)?

N/A (Irrelevant)

What operating system are you using?

Windows 10 + Git for Windows environment from git-scm.com

What did you do?

(Please include the content causing the issue, any relevant configuration settings, and the command you ran)

Executed ./flyway in a bash shell.

What did you expect to see?

I expected to see the usage information.

What did you see instead?

I got the following error:

Error: Could not find or load main class org.flywaydb.commandline.Main
@axelfontaine
Copy link
Contributor

@axelfontaine axelfontaine commented Nov 26, 2017

Thanks for reporting and submitting the pull request. Merged.

Loading

@abhijitparkhi1983
Copy link

@abhijitparkhi1983 abhijitparkhi1983 commented Jun 3, 2019

Has this issue been fixed ?
I get the exact same error in the same environment with the same flyway version mentioned above.
Its kind of blocker for me.

@axelfontaine @tiborbaksa can you please let me know if there was any fix for this issue or any workaround

Loading

@axelfontaine
Copy link
Contributor

@axelfontaine axelfontaine commented Jun 3, 2019

@abhijitparkhi1983 It was fixed as you can see. Update to the latest version and everything will work as expected.

Loading

@flyway flyway locked as resolved and limited conversation to collaborators Jun 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants