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

Projects generated with start.vertx.io can't be run right away #55

Closed
hectorlf opened this issue Jul 25, 2018 · 4 comments
Closed

Projects generated with start.vertx.io can't be run right away #55

hectorlf opened this issue Jul 25, 2018 · 4 comments

Comments

@hectorlf
Copy link

hectorlf commented Jul 25, 2018

The generated project cannot be run with gradlew run, it says it's not able to find or load the main method (can't copy-paste the error as it's in spanish, sorry). Trying to run the fat jar fails with the same message.

It's easily fixable with some googling, but well, it shouldn't fail in the first place.

Edit: Windows environment, Gradle 4.9

@chengbaobao630
Copy link

java.lang.ClassCastException: io.vertx.core.Launcher cannot be cast to io.vertx.core.Verticle

@danielpetisme
Copy link
Contributor

I'm working on a refactoring #57

I delegate the generation to a gradle project:
https://github.com/danielpetisme/vertx-project-generator

I build some tests to check the execution of the generated projects. You can check: https://travis-ci.org/danielpetisme/vertx-project-generator

@danielpetisme
Copy link
Contributor

I've deployed a new version, could you test it please

@hectorlf
Copy link
Author

Works fine now, thanks. Closing.

@tsegismont tsegismont modified the milestone: 2.0.0 Mar 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants