Ticket #845 (closed Defect: fixed)
Plugins should not need declare Servlet API as dependency
Reported by: | jri | Owned by: | jri |
---|---|---|---|
Priority: | Major | Milestone: | Release 4.7 |
Component: | DeepaMehta Standard Distribution | Version: | 4.6.1 |
Keywords: | Cc: | dgf, Malte | |
Complexity: | 2 | Area: | |
Module: |
Description
In particular if they don't import anything from javax.servlet but rely on it only indirectly, e.g. when using dms.getAccessControl(). When not declaring the dependency an error occurs:
[ERROR] [...] Compilation failure [ERROR] [...] cannot access javax.servlet.http.HttpServletRequest [ERROR] class file for javax.servlet.http.HttpServletRequest not found
Thanks to Malte for reporting!
Change History
Note: See
TracTickets for help on using
tickets.