[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Could not find main-class org.eclipse.core.launcher.WebStartMain. class


In 3.3 the Webstart main class is org.eclipse.equinox.launcher.WebStartMain.

We left a stub org.eclipse.core.launcher.Main, but it looks like we forgot to put a stub for the old WebStartMain.

I expect you simply need to change

  <application-desc main-class="org.eclipse.equinox.launcher.WebStartMain.class">
    <argument>-nosplash</argument>
  </application-desc>

-Andrew


"Swanson, Dennis" <Dennis.Swanson@xxxxxxxxxxx>
Sent by: equinox-dev-bounces@xxxxxxxxxxx

11/28/2007 05:29 PM

Please respond to
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>

To
"'equinox-dev@xxxxxxxxxxx'" <equinox-dev@xxxxxxxxxxx>
cc
Subject
[equinox-dev] Could not find main-class        org.eclipse.core.launcher.WebStartMain. class





We are trying to migrate our RCP application from Eclipse 3.2 to 3.3.1.1. When we deploy the application, we get the following error:  #### Could not find main-class org.eclipse.core.launcher.WebStartMain.class in http://localhost:18080/AgileCourtWebStart/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
 
Below is the full exception with the JNLP file included.  Does anyone have any suggestions?
 
Thanks,
Dennis
 
JNLPException[category: Launch File Error : Exception: null : LaunchDesc:
<jnlp spec="1.0+" codebase="">
  <information>
    <title>AgileCourt Rich Client 1.0</title>
    <vendor>(c) 2007 ACS</vendor>
    <homepage href="">
    <description>AgileCourt Rich Client 1.0</description>
  </information>
  <security>
    <all-permissions/>
  </security>
  <resources>
    <j2se initial-heap-size="134217728" max-heap-size="134217728" version="1.5+"/>
    <extension href="" name="RCP Framework"/>
    <jar href="" download="eager" main="false"/>
    <jar href="" download="eager" main="false"/>
    <property name="osgi.configuration.area" value="@user.home/AgileCourt/configuration"/>
    <property name="osgi.instance.area" value="@user.home/AgileCourt/workspace"/>
    <property name="osgi.bundles" value="org.eclipse.equinox.common@2:start,org.eclipse.update.configurator@3:start,org.eclipse.core.runtime@start,
            com.ibm.icu,flute,itext,javax.servlet,js,org.apache.batik.bridge,org.apache.batik.css,org.apache.batik.dom.svg,org.apache.batik.dom,
              org.apache.batik.ext.awt,org.apache.batik.parser,org.apache.batik.svggen,org.apache.batik.transcoder,org.apache.batik.util.gui,
              org.apache.batik.util,org.apache.batik.xml,org.apache.commons.codec,org.apache.xerces,org.apache.xml.resolver,
              org.eclipse.ant.core,org.eclipse.birt.chart.engine.extension,org.eclipse.birt.chart.engine,org.eclipse.birt.chart.reportitem,
              org.eclipse.birt.core,org.eclipse.birt.data,org.eclipse.birt.report.data.adapter,org.eclipse.birt.report.engine.emitter.html,
              org.eclipse.birt.report.engine.emitter.pdf,org.eclipse.birt.report.engine.emitter.postscript,org.eclipse.birt.report.engine.emitter.ppt,
              org.eclipse.birt.report.engine.emitter.prototype.excel,org.eclipse.birt.report.engine.emitter.wpml,org.eclipse.birt.report.engine,
              org.eclipse.birt.report.model,org.eclipse.core.commands,org.eclipse.core.contenttype,org.eclipse.core.databinding,
              org.eclipse.core.expressions,
            org.eclipse.core.filesystem.win32.x86,org.eclipse.core.filesystem,org.eclipse.core.jobs,org.eclipse.core.resources.compatibility,
            org.eclipse.core.resources.win32,org.eclipse.core.resources,org.eclipse.core.runtime.compatibility.auth,
            org.eclipse.core.runtime.compatibility,org.eclipse.core.runtime,org.eclipse.core.variables,
              org.eclipse.datatools.connectivity.oda.consumer,org.eclipse.datatools.connectivity.oda.profile,org.eclipse.datatools.connectivity.oda,
              org.eclipse.datatools.connectivity,org.eclipse.datatools.enablement.oda.xml,
              org.eclipse.draw2d,org.eclipse.emf.common,org.eclipse.emf.ecore.xmi,org.eclipse.emf.ecore,
            org.eclipse.equinox.app,org.eclipse.equinox.common,org.eclipse.equinox.preferences,org.eclipse.equinox.launcher,org.eclipse.equinox.registry,
              org.eclipse.help,org.eclipse.jface.databinding,org.eclipse.jface,
            org.eclipse.osgi.services,org.eclipse.osgi,org.eclipse.swt.win32.win32.x86,org.eclipse.swt,org.eclipse.ui.forms,org.eclipse.ui.workbench,
            org.eclipse.ui,org.eclipse.update.configurator,org.w3c.css.sac,org.w3c.dom.smil,org.w3c.dom.svg"/>
    <property name="eclipse.product" value="acs.ui.AgileCourt.Client"/>
  </resources>
  <application-desc main-class="org.eclipse.core.launcher.WebStartMain.class">
    <argument>-nosplash</argument>
  </application-desc>
</jnlp> ]
      at com.sun.javaws.LaunchDownload.getMainClassName(Unknown Source)
      at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
      at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
      at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
      at com.sun.javaws.Launcher.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
 
 _______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev