Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349006 - Issue with "random" ClassNotFoundException: javax.servlet.Servlet
Summary: Issue with "random" ClassNotFoundException: javax.servlet.Servlet
Status: RESOLVED WORKSFORME
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6.2   Edit
Hardware: PC Windows 7
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-10 06:11 EDT by wannes.kerckhove CLA
Modified: 2019-09-02 15:05 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wannes.kerckhove CLA 2011-06-10 06:11:15 EDT
I'm developing a large OSGi based project in Eclipse. I've had some weird random classloading issues concerning the javax.servlet classes, as I have javax.servlet (2.5.0) installed and checked in my run configuration. I'm 100% sure my OSGi bundle dependencies are correct as it works 90% of the time and we have a production build running perfectly on Apache Felix. The problem usually gets fixed when I click on "Set as target platform" in my target definition a few times and try to run the project again.

My co-developers are experiencing the exact same issues (also using Eclipse and the embedded equinox).

Since today however, the problem got worse for some reason and I can't run the project in Eclipse anymore, due to these servlet classnotfoundexceptions. The "Set as target platform"-trick doesn't seam to work anymore. The codebase or the setup config haven't changed...

This is getting really frustrating!

-- Configuration Details --
Product: Eclipse 1.3.2.20110218-0812 (org.eclipse.epp.package.rcp.product)
Installed Features:
 org.eclipse.pde 3.6.2.r362_v20110203-7b7mFL2FET3dhHalh1iNZtL
Comment 1 Eclipse Genie CLA 2018-12-09 13:00:25 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 2 Lars Vogel CLA 2019-09-02 15:04:57 EDT
This bug was marked as stalebug a while ago. Marking as worksforme.

If this report is still relevant for the current release, please reopen and remove the stalebug whiteboard tag.
Comment 3 Lars Vogel CLA 2019-09-02 15:05:07 EDT
This bug has been marked as stalebug a while ago without any further interaction.

If this report is still relevant for the current release, please reopen and remove the stalebug whiteboard flag.