SAP Knowledge Base Article - Public

3653727 - Error "Cannot cast java.lang.String to org.eclipse.core.resources.IProject" when generating business configuration maintenance object in Eclipse 2025-09

Symptom

After filling in the relevant information on Generate ABAP Repository Objects feature for a customizing table, the following error message appears when trying to input the package name: 

Cannot cast java.lang.String to org.eclipse.core.resources.IProject

Environment

  • SAP S/4HANA Cloud Public Edition
  • ABAP Development Tools (ADT) version 3.52

Cause

The issue arises due to an incompatibility between the ABAP Development Tools (ADT) version 3.52 and the preview version of Eclipse 2025-09.

Resolution

Install the latest released Eclipse according to https://tools.hana.ondemand.com/ add ADT via https://tools.hana.ondemand.com/latest or the latest version on Software Marketplace.

Keywords

ECLIPSE 2025-09, ABAP DEVELOPMENT TOOLS, ADT, CANNOT CAST JAVA.LANG.STRING , Generate ABAP Repository Objects, Preview, Package , KBA , BC-DWB-AIE-SRB , RAP service binding , Problem

Product

SAP S/4HANA Cloud Public Edition all versions