microsoft / azure-tools-for-java

Azure tools for Java, including Azure Toolkits for Eclipse, IntelliJ and related projects.
Other
239 stars 161 forks source link

Unable to install azure tools with Eclipse 2022-06 #6707

Open dstango opened 2 years ago

dstango commented 2 years ago

After a fresh install of Eclipse 2022-06 (Package "for Java developers") I'm unable to install the azure tools. Neither marketplace nor manual install via "Install new software ..." works.

I get the following error message, which looks like some dependency to mylyn is not working:

Cannot complete the install because one or more required items could not be found.
  Software being installed: Azure Common Plugin 3.31.0.202205311349 (com.microsoft.azuretools.core.feature.feature.group 3.31.0.202205311349)
  Missing requirement: Azure Core Plugin Library 3.31.0.202205311349 (com.microsoft.azuretools.core 3.31.0.202205311349) requires 'osgi.bundle; org.eclipse.mylyn.commons.core 0.0.0' but it could not be found
  Cannot satisfy dependency:
    From: Azure Common Plugin 3.31.0.202205311349 (com.microsoft.azuretools.core.feature.feature.group 3.31.0.202205311349)
    To: org.eclipse.equinox.p2.iu; com.microsoft.azuretools.core [3.31.0.202205311349,3.31.0.202205311349]
Flanker32 commented 2 years ago

@dstango Thanks a lot for your report and sorry for the trouble! It seems that Eclipse 2022-06 remove mylyn common plugin from its distribution, we will handle this issue in our later release. As a workaround, could you please install the mylyn common plugin and try install Azure toolkit again? You may install mylyn with http://download.eclipse.org/mylyn/releases/latest in Install new software ... image

dstango commented 2 years ago

Thank you for the workaround. In the meantime I had found a way to install the plugin with 2022-03, and then use that installation to transfer the plugin over to 2022-06. But your suggestion looks like a better way. If mylyn comes out-of-the-box might also depend on the packaging. Eclipse for Java EE developers might still bring it out of the box, but I didn't test that, as I prefer the smaller package as base for my projects.

tumtum73 commented 2 years ago

@Flanker32 I had the same issue and installing mylyn resolved it as well. Thanks for the guidance.