Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Missing bundle javax.xml
Missing bundle javax.xml [message #1829795] Fri, 10 July 2020 11:42 Go to next message
Eclipse UserFriend
I am updating my RCP project from circa 2015 to 2020-06. I am getting a missing constraint on the bundle javax.xml after changing the RCP feature.

My 2015 target file included
<unit id="org.eclipse.rcp.feature.group" version="4.5.1.v20150904-0015"/>
which provided the bundle javax.xml. I updated this to be
<unit id="org.eclipse.rcp.feature.group" version="4.16.0.v20200604-0951"/>
, which does not provide the bundle.

Where is this bundle available from in 2020-06 release ?

More information available on SO on this message.

https://stackoverflow.com/questions/62822899/eclipse-rcp-build-missing-javax-xml

[Updated on: Fri, 10 July 2020 11:54] by Moderator

Re: Missing bundle javax.xml [message #1829821 is a reply to message #1829795] Sat, 11 July 2020 09:36 Go to previous messageGo to next message
Eclipse UserFriend
This is mentioned in the "Plug-in Migration Guide":
https://help.eclipse.org/2020-06/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fporting%2F4.7%2Fincompatibilities.html&cp%3D2_3_10_2

javax.xml is provided by JavaSE 1.7 and higher.
Re: Missing bundle javax.xml [message #1829822 is a reply to message #1829821] Sat, 11 July 2020 09:39 Go to previous messageGo to next message
Eclipse UserFriend
When you are using Java 10 or higher, this might be relevant to you:
https://stackoverflow.com/questions/51094274/eclipse-cant-find-xml-related-classes-after-switching-build-path-to-jdk-10/53824670#53824670
Re: Missing bundle javax.xml [message #1829823 is a reply to message #1829822] Sat, 11 July 2020 09:53 Go to previous messageGo to next message
Eclipse UserFriend
Thanks for the link. Still using Java 1.8. Turns out that the Eclipse platform no longer requires javax.xml. There is a separate unit to include in the target

	<location includeAllPlatforms="true" includeConfigurePhase="true" includeMode="slicer" includeSource="false" type="InstallableUnit">
	    <repository location="https://download.eclipse.org/releases/2020-06"/>
	    <unit id="javax.xml" version="0.0.0"/>
	</location>	



Re: Missing bundle javax.xml [message #1829824 is a reply to message #1829821] Sat, 11 July 2020 11:30 Go to previous message
Eclipse UserFriend
Rolf,
Thanks for the direct answer and link to the migration guide!
Timothy

P.S. The migration guide was super useful as it identified other changes that I need to address.

[Updated on: Sat, 11 July 2020 13:18] by Moderator

Previous Topic:Public SSH Key adding option is disabled in Gerrit
Next Topic:Update the tool control values programmatically
Goto Forum:
  


Current Time: Fri May 23 05:31:57 EDT 2025

Powered by FUDForum. Page generated in 0.04597 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top