Skip to Content

Error: Could not find the "com.sap.hana.di.cds" build plugin

Hello all

I am trying to deploy an application built with SAP CAP using MTA archive method and getting he following error:

Error: Could not find the "com.sap.hana.di.cds" build plugin

There are other error items linked to this:

  Deploying the namespace file "src/gen/.hdinamespace"... ok  (0s 19ms)

   Adding "src/gen/ADMINSERVICE_AUTHORS.hdbcds" for deploy... 

   Error: "src/gen/ADMINSERVICE_AUTHORS.hdbcds": could not create a compile unit for the file [8211714]

     at "src/gen/ADMINSERVICE_AUTHORS.hdbcds" (0:0)
   Error: Could not find the "com.sap.hana.di.cds" build plugin [8210501]

   Error: Adding "src/gen/ADMINSERVICE_AUTHORS.hdbcds" for deploy... failed [8211700]

   Preparing the make transaction... ok  (0s 129ms)

   Error: Preparing... failed [8211602]

   Make failed (5 errors, 10 warnings): tried to deploy 43 files, undeploy 0 files, redeploy 0 dependent files 

  Error: Making... failed [8211605]

 Error: Starting make in the container "F0D7D39BA1464C9FB647049B03B2FBAD" with 43 files to deploy, 0 files to undeploy... failed [8214168]

Deployment to container F0D7D39BA1464C9FB647049B03B2FBAD failed - error: HDI make failed [Deployment ID: none].

Error: HDI make failed

The generated .hdiconfig files has the plugin spec for hdbcds:

 },
    "hdbcds": {
      "plugin_name": "com.sap.hana.di.cds"
    },

Any idea what the problem is?

Kind Regards

Serdar

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on May 17, 2020 at 08:40 PM

    Are you on the SAP HANA Cloud? If so this newest version of HANA no longer supports HDBCDS. In order to use CAP, you have to set the experimental feature in the package.json to use hdbtable/hdbview instead hdbcds as the generation target.

        "cds": {
             "hana": {
                "deploy-format": "hdbtable"
            },
            "requires": {
                "db": {
                    "kind": "hana"
                }
            }
        }
    
    
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.