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

container:quickstart doesn't work with annotations #462

Open
earldouglas opened this issue Jun 21, 2021 · 0 comments
Open

container:quickstart doesn't work with annotations #462

earldouglas opened this issue Jun 21, 2021 · 0 comments
Assignees
Milestone

Comments

@earldouglas
Copy link
Owner

Following the quick start guide in #458, tomcat:quickstart won't work. There are at least two things going wrong.

First, with nothing in src/main/webapp/, no target/webapp-quick/ directory is created, which breaks the webapp-runner command:

> tomcat:quickstart
> The specified path "target/webapp-quick" does not exist.
Usage: <main class> [options]

Second, if we manually create this directory, it seems that whatever mechanism is scanning for @WebServlet-style annotations is not finding them on the JVM classpath. Maybe it intentionally only scans the (non-existent) WEB-INF/classes/ and WEB-INF/lib/ directories.

@earldouglas earldouglas self-assigned this Jun 21, 2021
@earldouglas earldouglas removed their assignment Jul 11, 2021
@earldouglas earldouglas self-assigned this May 22, 2022
@earldouglas earldouglas added this to the v5 milestone Sep 3, 2022
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