My apologies I should have read the doc further. I think I can get what I need to minimize scanning with

https://www.eclipse.org/jetty/documentation/jetty-11/operations-guide/index.html#og-annotations

Thanks


From: Joakim Erdfelt <joa...@webtide.com>
Subject: Re: [jetty-users] JSP requires annotations
Date: 2021-11-19 17:16 EST

IIRC, I think it's because JSP Taglibs requires bytecode scanning.

Which is what the `annotations` module does essentially.

Please file an issue at https://github.com/eclipse/jetty.project
We'll review that requirement.

Meanwhile, you can copy `${jetty.home}/modules/jsp.mod` to
`${*jetty.base*}/modules/jsp.mod`
and then
edit the `${*jetty.base*}/modules/jsp.mod` to remove the annotations
dependency to see what happens.

Joakim Erdfelt / joa...@webtide.com


On Fri, Nov 19, 2021 at 4:09 PM Padraic Renaghan via jetty-users <
jetty-users@eclipse.org> wrote:

I removed annotations from my Jetty startup, but it is still being loaded.
Appears to be because the jsp module depends on it.
Looks like this code was added a while back in


https://github.com/eclipse/jetty.project/commit/af27566d2b3e5be2fa7c3a81c377c5ba5a223d5b

I'd rather not incur the scan time for annotation parsing.

Is there a reason JSP module cannot work with annotations that anyone can
recall?

If not, is there a way I can disable a depends module from being added, or
do I just need to add a empty annotations.mod in my jetty-base?

Thanks,
Padraic
_______________________________________________
jetty-users mailing list
jetty-users@eclipse.org
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/jetty-users



_______________________________________________
jetty-users mailing list
jetty-users@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/jetty-users

Reply via email to