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

Add an extra step to the user guide to ensure full Liberty setup in relation to files #320

Open
paulbarr opened this issue Jan 11, 2024 · 0 comments

Comments

@paulbarr
Copy link

paulbarr commented Jan 11, 2024

Hey. I followed this guide: https://github.com/OpenLiberty/liberty-tools-vscode/blob/HEAD/docs/user-guide.md
It's good

However, I found that with my own application I had some issues dealing with files
This was because getRealPath() was returning null for me
It turns out that all I needed to do was to create this directory

/src/main/webapp

In practice most people will have a web.xml file as well, so I suggest that either the plugin auto generates web.xml if it is missing or in the steps that we recommend you create a web.xml file in this location: /src/main/webapp/WEB-INF/web.xml, or say you need to copy your existing web.xml there

I think this should come right after the part where you say where to put the server.xml file

If this sounds good I'm happy to make a PR for this

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

1 participant