-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
keystore and static ressources not found #87
Comments
Can you describe how you're trying to run? command line, ide? also what is your cwd path when you run, so we can try to reproduce the issue. |
It's probably a "current working directory" issue. |
I am runing with almost the last version of Netbeans. I switch on the tag 3.0.0 with git, click "run" on Netbeans and select the concerning class. I don't know what to say about the cwd path, actually my netbeans is on my desktop. edit : I tried on both linux mint and Windows 8.1 |
Yes, I believe there is at least one other issue like this. The solution is to set up the IDE to the correct working dir. |
Just a thought. I think we can fix it so the examples run on every IDE out of the box even if the IDEs have different cwd configured. All we need to do is to evaluate new File(".").getAbsolutePath() to find out what the actual cwd is set to. Then we compare that to the examples directory that the test wants. There will be some overlap in the paths. From that we can compute what to set System.setProperty("vertx.cwd", exampleDir); to in ExampleRunner.java (in vertx-examples). |
Should be fixed with #89 |
Hi,
I am trying to launch the custom_authorisation example in vertx web exemple. I have the following error:
It works fine when I change the path as follow:
Static ressources are not found too. When I go on http://localhost:8080/ I have the message "Not Found" (index.html not found I think, like the issue #61 ).
Can someone help me please ?
The text was updated successfully, but these errors were encountered: