This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Error reported by Netbeans when implementing the ServletContextAware interface of spring (TestClass is not abstract and does not override abstract method setServletContext(ServletContext) in ServletContextAware) | ||
---|---|---|---|
Product: | java | Reporter: | royteeuwen |
Component: | Editor | Assignee: | Dusan Balek <dbalek> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.0.2 | ||
Hardware: | Macintosh | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
IDE log
Screenshot of the (wrongly reported by netbeans) error Class that extends WebApplicationInitializer |
Description
royteeuwen
2014-10-13 14:56:25 UTC
Created attachment 149871 [details]
IDE log
Created attachment 149872 [details]
Screenshot of the (wrongly reported by netbeans) error
I tried this on several classes in several projects, the same error occurs in every one. Created attachment 153167 [details]
Class that extends WebApplicationInitializer
Screenshot showing mis-reported exception in editor window.
The same thing happens when implementing org.springframework.web.WebApplicationInitializer (which is required if deploying to a Servlet spec 3+ container and using Spring without a web.xml file). See uploaded screenshot. No exception is reported when doing a build, and there is no exception at runtime. Setting the version to 8.0.2 This does not happen when using 7.4 - so this is isolated to 8.x |