This discussion is archived
11 Replies Latest reply: Mar 4, 2013 11:36 PM by Frank Nimphius RSS

ADF Mobile: Unable to deploy to iphone simulator

Vik Kumar Explorer
Currently Being Moderated
I am trying to deploy an app to ios simulator on OSX 10.8.2 and see following error

NoClassDefFoundError in o.adfmf.framework.dt.deploy.features.deployers.FeatureArchiveDeployer:282

overall trace is:

[11:22:22 PM] ---- Deployment started. ----
[11:22:22 PM] Target platform is (iOS).
[11:22:22 PM] Beginning deployment of ADF Mobile application 'CRMSalesApp' to iOS using profile 'CRMSalesAppDeployIOS'.
[11:22:22 PM] Command-line executed: [Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild, -version]
[11:22:22 PM] Command-line execution succeeded.
[11:22:22 PM] Running dependency analysis...
[11:22:22 PM] Building...
[11:22:22 PM] Deploying 3 profiles...
[11:22:22 PM] ---- Deployment incomplete ----.



so no other error.

Please note that the same app deploys fine on the android device.
  • 1. Re: ADF Mobile: Unable to deploy to iphone simulator
    user404 Pro
    Currently Being Moderated
    Have tried to run a basic public sample? In order to check if your iOS environment is set up correctly.
    If you are not sure if it is setup correctly, read this:
    http://docs.oracle.com/cd/E18941_01/tutorials/MobileTutorial/jdtut_11r2_54_1.html
  • 2. Re: ADF Mobile: Unable to deploy to iphone simulator
    Vik Kumar Explorer
    Currently Being Moderated
    yes i started with this tutorial only and the app works fine on android but deployment fails for iOS

    Vik
  • 3. Re: ADF Mobile: Unable to deploy to iphone simulator
    Vik Kumar Explorer
    Currently Being Moderated
    i tried to restart jdev and redeploy and this time a popup came up as

    Uncaught exception
    java.lang.NoClassDefFoundError: oracle/adf/model/adapter/rest/RestURLDCDefinition
    o.adfmf.framework.dt.deploy.features.deployers.FeatureArchiveDeployer._getWebServiceDataControls(FeatureArchiveDeployer.java:282)
    o.adfmf.framework.dt.deploy.features.deployers.FeatureArchiveDeployer.deployImpl(FeatureArchiveDeployer.java:132)
    o.j.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:145)
    o.adfmf.framework.dt.deploy.common.deployers.AbstractDeployerWrapper.deploy(AbstractDeployerWrapper.java:201)
    o.ji.deploy.fwk.DeploymentManager.deployImpl(DeploymentManager.java:481)
    o.ji.deploy.fwk.DeploymentManager.deploy(DeploymentManager.java:408)
    o.j.deploy.DeploymentManager.deploy(DeploymentManager.java:270)
    o.ji.deploy.common.ModulePackagerImpl.deployProfiles(ModulePackagerImpl.java:84)
    o.j.deploy.common.ModulePackager.deployProfiles(ModulePackager.java:64)
    o.j.deploy.common.ModulePackager.deployImpl(ModulePackager.java:53)
    o.j.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:145)
    o.adfmf.framework.dt.deploy.common.deployers.AbstractDeployerWrapper.deploy(AbstractDeployerWrapper.java:201)
    o.j.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
    o.j.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:145)
    o.j.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
    o.j.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:145)
    o.j.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
    o.j.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:145)
    o.ji.deploy.fwk.TopLevelDeployer.deployImpl(TopLevelDeployer.java:54)
    o.j.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:145)
    o.ji.deploy.fwk.DeploymentManager.deployImpl(DeploymentManager.java:481)
    o.ji.deploy.fwk.DeploymentManager.deploy(DeploymentManager.java:408)
    o.j.deploy.DeploymentManager.deploy(DeploymentManager.java:270)
    o.j.deploy.cmd.DeployCommand.deploy(DeployCommand.java:375)
    o.j.deploy.cmd.DeployCommand$DeploymentProgressShellAdapter$1.deploy(DeployCommand.java:504)
    o.ji.deploy.fwk.RunnableImpl.run(RunnableImpl.java:372)
    j.lang.Thread.run(Thread.java:680)
    Caused by:
    java.lang.ClassNotFoundException: oracle.adf.model.adapter.rest.RestURLDCDefinition
    org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
    org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
    org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    j.lang.ClassLoader.loadClass(ClassLoader.java:247)
    o.adfmf.framework.dt.deploy.features.deployers.FeatureArchiveDeployer._getWebServiceDataControls(FeatureArchiveDeployer.java:282)
    o.adfmf.framework.dt.deploy.features.deployers.FeatureArchiveDeployer.deployImpl(FeatureArchiveDeployer.java:132)
    o.j.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:145)
    o.adfmf.framework.dt.deploy.common.deployers.AbstractDeployerWrapper.deploy(AbstractDeployerWrapper.java:201)
    o.ji.deploy.fwk.DeploymentManager.deployImpl(DeploymentManager.java:481)
    o.ji.deploy.fwk.DeploymentManager.deploy(DeploymentManager.java:408)
    o.j.deploy.DeploymentManager.deploy(DeploymentManager.java:270)
    o.ji.deploy.common.ModulePackagerImpl.deployProfiles(ModulePackagerImpl.java:84)
    o.j.deploy.common.ModulePackager.deployProfiles(ModulePackager.java:64)
    o.j.deploy.common.ModulePackager.deployImpl(ModulePackager.java:53)
    o.j.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:145)
    o.adfmf.framework.dt.deploy.common.deployers.AbstractDeployerWrapper.deploy(AbstractDeployerWrapper.java:201)
    o.j.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
    o.j.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:145)
    o.j.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
    o.j.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:145)
    o.j.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
    o.j.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:145)
    o.ji.deploy.fwk.TopLevelDeployer.deployImpl(TopLevelDeployer.java:54)
    o.j.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:145)
    o.ji.deploy.fwk.DeploymentManager.deployImpl(DeploymentManager.java:481)
    o.ji.deploy.fwk.DeploymentManager.deploy(DeploymentManager.java:408)
    o.j.deploy.DeploymentManager.deploy(DeploymentManager.java:270)
    o.j.deploy.cmd.DeployCommand.deploy(DeployCommand.java:375)
    o.j.deploy.cmd.DeployCommand$DeploymentProgressShellAdapter$1.deploy(DeployCommand.java:504)
    o.ji.deploy.fwk.RunnableImpl.run(RunnableImpl.java:372)
    j.lang.Thread.run(Thread.java:680)
  • 4. Re: ADF Mobile: Unable to deploy to iphone simulator
    Shay Shmeltzer Employee ACE
    Currently Being Moderated
    Check the version of XCode that you are using.
    And follow these:
    http://docs.oracle.com/cd/E18941_01/tutorials/MobileTutorial/jdtut_11r2_54_1.html

    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/adfmobiledeployios.html

    Firs try deployment with just a simple local html feature - to make sure your environment is set up correctly.
  • 5. Re: ADF Mobile: Unable to deploy to iphone simulator
    Vik Kumar Explorer
    Currently Being Moderated
    i am using xcode 4.6 with mac osx mountain lion 10.8.2

    and as per video setup seems to be fine
  • 6. Re: ADF Mobile: Unable to deploy to iphone simulator
    Shay Shmeltzer Employee ACE
    Currently Being Moderated
    Can you deploy a simple application with just a local html feature?
  • 7. Re: ADF Mobile: Unable to deploy to iphone simulator
    izzzooo Newbie
    Currently Being Moderated
    in the deployment profile change target simulator to 5.1 version
  • 8. Re: ADF Mobile: Unable to deploy to iphone simulator
    Vik Kumar Explorer
    Currently Being Moderated
    i dont see that 5.1 option. all i have is <highest available> and 6.1

    Vik
  • 9. Re: ADF Mobile: Unable to deploy to iphone simulator
    Vik Kumar Explorer
    Currently Being Moderated
    I could find bugs are already logged for this issue and a newer version has already a fix. Waiting for the new version of jdev to resume my work.
  • 10. Re: ADF Mobile: Unable to deploy to iphone simulator
    631063 Newbie
    Currently Being Moderated
    I changed the version to 5.1 and still have the same issue issue
  • 11. Re: ADF Mobile: Unable to deploy to iphone simulator
    Frank Nimphius Employee ACE
    Currently Being Moderated
    Hi,

    as you are continuing an existing thread, please read the last statement of the original poster. He says that he waits for the next version of ADF Mobile as apparently this contains a fix

    Frank

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points