ibm-cloudibm-cloud-toolsibm-cloud-plugin

Error publishing to bluemix. "Development Mode on"


I'm trying to publish an application to bluemix. 1. I have enabled development mode. Right click the application -> Enable Development Mode. 2. I make a change in a servlet. 3. Right click on "Bluemix Server" -> Publish.

Then it throws the error: 'Publishing to IBM Bluemix...' has encountered a problem. An internal error occurred during: "Publishing to IBM Bluemix..."

The details: An internal error occurred during: "Publishing to IBM Bluemix...". com/ibm/cftools/branding/internal/CloudFoundryBluemixServer.isSso()Z

Eclipse Neon 4.6.0

I'm runing java:

java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)

IBM Bluemix tools: 1.0.13 v20160902_1659

the .log file:

  !ENTRY org.eclipse.core.jobs 4 2 2016-11-11 10:52:27.692
!MESSAGE An internal error occurred during: "Publishing to IBM Bluemix...".
!STACK 0
java.lang.NoSuchMethodError: com.ibm.cftools.branding.internal.CloudFoundryBluemixServer.isSso()Z
    at com.ibm.cftools.branding.internal.CloudFoundryBluemixServer.createServerConnection(CloudFoundryBluemixServer.java:254)
    at com.ibm.cftools.branding.internal.CloudFoundryBluemixServerBehaviour.publishModule(CloudFoundryBluemixServerBehaviour.java:562)
    at com.ibm.cftools.branding.internal.CloudFoundryBluemixServerBehaviour.publishModules(CloudFoundryBluemixServerBehaviour.java:433)
    at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:987)
    at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:774)
    at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3172)
    at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:345)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Solution

  • If you are hitting this issue you may either: