M. A. Kishawy
M. A. Kishawy

Reputation: 5079

Why am I getting "Project facet Cloud Foundry Standalone Application version 1.0 is not supported"?

I'm trying to deploy the following project from IBM developerWorks to Bluemix:

Building a Java EE app on IBM Bluemix Using Watson and Cloudant

through the Bluemix plugin in Eclipse (Called: IBM Eclipse Tools for Bluemix). However I keep getting the following error

Project facet Cloud Foundry Standalone Application version 1.0 is not supported

enter image description here

Used Versions:

There is no issue when I do this through Cloud Foundry CLI cf push

Upvotes: 17

Views: 17682

Answers (2)

Jan Nielsen
Jan Nielsen

Reputation: 11849

As @Ghurdyl mentions in the comments, If you cannot deselect the CloudFoundry Standalone Applicaiton, then remove the facet from the project's settings file (.settings/org.eclipse.wst.common.project.facet.core.xml):

<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
  <installed facet="cloudfoundry.standalone.app" version="1.0"/>
  <installed facet="java" version="10"/>
</faceted-project>

to:

<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
  <installed facet="java" version="10"/>
</faceted-project>

Upvotes: 6

Sasikanth Bharadwaj
Sasikanth Bharadwaj

Reputation: 1457

Remove the Cloud Foundry Standalone Application version 1.0 facet from the project via project -> properties -> project facets.

enter image description here

Bluemix tools maps projects to bluemix runtimes via project facets so that different runtimes would be associated with different projects.

It's probably just that the stand alone facet which is probably associated with cloudfoundry tools isn't supported by bluemix tools plugin

Upvotes: 36

Related Questions