[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[equinox-dev] javax.servlet.http classloading problem
- From: Dirk Jacobs <dirk.jacobs@xxxxxxxxxx>
- Date: Tue, 21 Apr 2009 11:21:05 +0200
- Delivered-to: email@example.com
- User-agent: Thunderbird 184.108.40.206 (Windows/20090302)
Hi, I'm running on platform 3.4.2 and encountered the following problem
during development :
When doing a package import of javax.servlet.http and NOT specifying a
the package that is loaded is always from the system bundle :
javax.servlet.http; version="0.0.0"<System Bundle >
If we specify a version in the import packages, we get our correct
We tried a lot of thing but we couldn't prevent equinox from loading the
system bundle if no explicit version is specified.
We tried to use :
But no luck. (with other packages like sun.*, com.sun.* we could
succesfully control the loading process)
At the end, the problem is that you get 'package usage conflict errors'
because 2 different versions of javax.servlet.http get loaded.
For code we own, this is not a problem, we can add the version but for
third-party lib's (bundles we are using), this is not possible.