Results 1 to 3 of 3
  1. #1
    xcallmejudasx's Avatar
    xcallmejudasx is offline Senior Member
    Join Date
    Oct 2008
    Location
    Houston, TX & Flint, MI
    Posts
    609
    Rep Power
    6

    Exclamation [SOLVED] cannot find application ID?

    I added a line of code to my program that required me to import a plug-in from the runtime library and when I deleted that line of code I deleted the import statement (only things that were changed) and now I get this error and cannot launch my application. Need help fast. please and thanks

    Java Code:
    !SESSION 2008-10-27 10:17:59.634 -----------------------------------------------
    eclipse.buildId=unknown
    java.version=1.6.0_07
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Framework arguments:  -product NOVLayout.product
    Command-line arguments:  -product NOVLayout.product -data C:\Documents and Settings\carsonrs\workspace/../runtime-NOVLayout.product -dev file:C:/Documents and Settings/carsonrs/workspace/.metadata/.plugins/org.eclipse.pde.core/NOVLayout.product/dev.properties -os win32 -ws win32 -arch x86
    
    !ENTRY org.eclipse.equinox.app 0 0 2008-10-27 10:18:00.540
    !MESSAGE Product NOVLayout.product could not be found.
    
    !ENTRY org.eclipse.osgi 4 0 2008-10-27 10:18:00.571
    !MESSAGE Application error
    !STACK 1
    java.lang.RuntimeException: No application id has been found.
    	at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:236)
    	at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
    	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
    	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    	at java.lang.reflect.Method.invoke(Unknown Source)
    	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
    	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
    	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
    	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
    
    !ENTRY org.eclipse.osgi 2 0 2008-10-27 10:18:00.603
    !MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
    !SUBENTRY 1 org.eclipse.osgi 2 0 2008-10-27 10:18:00.603
    !MESSAGE Bundle initial@reference:file:../../../Documents and Settings/carsonrs/workspace/NOVLayout/ was not resolved.
    !SUBENTRY 2 NOVLayout 2 0 2008-10-27 10:18:00.603
    !MESSAGE Missing imported package org.eclipse.core.resources_0.0.0.
    
    !ENTRY org.eclipse.osgi 2 0 2008-10-27 10:18:00.603
    !MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
    !SUBENTRY 1 org.eclipse.osgi 2 0 2008-10-27 10:18:00.603
    !MESSAGE Bundle initial@reference:file:../../../Documents and Settings/carsonrs/workspace/NOVLayout/ [24] was not resolved.
    !SUBENTRY 2 NOVLayout 2 0 2008-10-27 10:18:00.603
    !MESSAGE Missing imported package org.eclipse.core.resources_0.0.0.

  2. #2
    xcallmejudasx's Avatar
    xcallmejudasx is offline Senior Member
    Join Date
    Oct 2008
    Location
    Houston, TX & Flint, MI
    Posts
    609
    Rep Power
    6

    Default

    The imports were
    import org.eclipse.core.resources.ResourcesPlugin;
    import org.eclipse.ui.part.DrillDownAdapter;

    and the lines of code were
    drillDownAdapter = new DrillDownAdapter(treeViewer);
    treeViewer.setInput(ResourcesPlugin.getWorkspace() );

  3. #3
    xcallmejudasx's Avatar
    xcallmejudasx is offline Senior Member
    Join Date
    Oct 2008
    Location
    Houston, TX & Flint, MI
    Posts
    609
    Rep Power
    6

    Default

    had added a package to the runtime dependencies and forgot to remove it

Similar Threads

  1. cannot find imports..
    By little_polarbear in forum New To Java
    Replies: 4
    Last Post: 08-25-2008, 03:57 AM
  2. Replies: 0
    Last Post: 02-16-2008, 09:31 PM
  3. Replies: 0
    Last Post: 02-16-2008, 09:29 PM
  4. Where to find wsimport
    By javaplus in forum Web Frameworks
    Replies: 1
    Last Post: 11-26-2007, 09:59 AM
  5. My JSP can't find the servlet
    By gabriel in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 07-29-2007, 09:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •