Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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:

  • Eclipse Version: Mars Release (4.5.0) Build id: 20150621-1200
  • IBM® Eclipse Tools for Bluemix Version: 1.0.4 Build id: 20150801_1001

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

like image 600
M. A. Kishawy Avatar asked Sep 14 '15 18:09

M. A. Kishawy


People also ask

How to remove Cloud Foundry standalone application from a project?

Show activity on this post. Remove the Cloud Foundry Standalone Application version 1.0 facet from the project via project -> properties -> project facets. Bluemix tools maps projects to bluemix runtimes via project facets so that different runtimes would be associated with different projects.

How to fix source folder is not a Java project error?

How to fix Source folder is not a Java project error in eclipse. If you are creating a maven web project in eclipse and get a “Source folder is not a Java project” error, here is how to fix that : Select “Java” and click on “Apply and Close” and you should see the java source folder package structure in the project.

How to troubleshoot access denied errors in CloudFront?

To troubleshoot Access Denied errors, you must know if your distribution’s origin domain name is an S3 website endpoint or an S3 REST API endpoint. Follow these steps to determine the endpoint type: Open the CloudFront console. Choose your CloudFront distribution, and then choose Distribution Settings.

How to find the Java source folder structure in a project?

Select “Java” and click on “Apply and Close” and you should see the java source folder package structure in the project. © 2017 – 2018, https:. All rights reserved.


2 Answers

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

like image 148
Sasikanth Bharadwaj Avatar answered Oct 20 '22 17:10

Sasikanth Bharadwaj


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>
like image 45
Jan Nielsen Avatar answered Oct 20 '22 19:10

Jan Nielsen