OpenLiberty / liberty-tools-eclipse

Eclipse Public License 2.0
13 stars 9 forks source link

LT 23.0.7 for Eclipse - update pom.xml got error #435

Closed gkwan-ibm closed 1 year ago

gkwan-ibm commented 1 year ago

When I updated the pom.xml, I got the following error:

Could not update project cargo-tracker configuration
class org.eclipse.wst.common.componentcore.internal.impl.ReferencedComponentXMIResourceImpl cannot be cast to class org.eclipse.jpt.common.core.resource.xml.JptXmlResource (org.eclipse.wst.common.componentcore.internal.impl.ReferencedComponentXMIResourceImpl is in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @4d7909bd; org.eclipse.jpt.common.core.resource.xml.JptXmlResource is in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @4aa8504f)

Screenshot 2023-09-12 at 3 37 00 PM

Information:

Version: 2023-03 (4.27.0) Build id: 20230309-1520


- vm: `.../.p2/pool/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.macosx.aarch64_17.0.6.v20230204-1729/jre/lib/libjli.dylib`
scottkurz commented 1 year ago

@gkwan-ibm does the discussion here https://stackoverflow.com/questions/21442348/update-maven-project-internal-error-referencedcomponentxmiresourceimpl-cannot help you at all?

Seems like this is not a Liberty Tools Eclipse issue in particular.

gkwan-ibm commented 1 year ago

yes, that can help, thanks