History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-24417
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Peter Gromov
Reporter: Maarten Hazewinkel
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Not assignable class warning in web.xml is not correct

Created: 22 Jan 08 19:36   Updated: 22 Sep 08 20:26
Component/s: J2EE.Web
Fix Version/s: Diana 8858

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: None
Image Attachments:

1. Picture 1.png
(55 kb)

2. Picture 2.png
(20 kb)

Build: 7,656
Fixed in build: 8,824
Severity: High


 Description  « Hide
My web.xml highlights several classes as not assignable to javax.servlet.Filter or javax.servlet.Servlet. See the first image as an example.
However, these classes are actually implementations of the respective Filter and Servlet interfaces.
You can see this in the second image.

The only special thing I can note about these classes is that they are provided by a jar library which is in another module on which this module depends.

The impact is high because is obscures other, potentially more serious errors.



 All   Comments   Work Log   Change History      Sort Order:
Peter Gromov - 23 Jan 08 12:10
Does that another module depend on j2ee(or javaee).jar?

Maarten Hazewinkel - 23 Jan 08 12:22
Hi Peter,

The other module did not depend on j2ee.jar

The structure is such that the other module ("Libs") only contains a collection of jar libraries used by the other modules. This does not include j2ee.jar
The code modules are the ones with the web facets, so they got a dependency on j2ee.jar directly.

I tested that if I add j2ee.jar to the Libs module, the warnings go away.


Peter Gromov - 23 Jan 08 12:26
So at least you have a workaround