Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Getting message - missing package javax.servlet.http_0.0.0

The actual error is
> org.eclipse.ui.PartInitException: View descriptor not found:
It is not able to show "console view"
 
--
God bless all,
Ramesh
From: ramesh gunjal <rameshg282@xxxxxxxxx>
To: Tycho user list <tycho-user@xxxxxxxxxxx>
Sent: Monday, 20 February 2012 1:47 PM
Subject: Re: [tycho-user] Getting message - missing package javax.servlet.http_0.0.0

Hi Tobias,
 
Thank you for your email. I new to Eclipse/tycho world. Because of limited knowledge not sure what exactly use at the place
<id>id-of-the-bundle-you-want-to-use-for-the-package</id>
 
Note that I am running the tests uisng > mvn clean install
 
--
Regards,
Ramesh
From: "Oberlies, Tobias" <tobias.oberlies@xxxxxxx>
To: Tycho user list <tycho-user@xxxxxxxxxxx>
Sent: Friday, 17 February 2012 10:38 PM
Subject: Re: [tycho-user] Getting message - missing package javax.servlet.http_0.0.0

Could you try the syntax of example two in http://wiki.eclipse.org/Tycho/Target_Platform#Filtering ?
 
I.e. something like
 
         <filter>
            <type>java-package</type>
            <id>javax.servlet.http</id>
            <restrictTo>
               <type>eclipse-plugin</type>
               <id>id-of-the-bundle-you-want-to-use-for-the-package</id>
            </restrictTo>
         </filter>
 
Unfortunately, I haven’t finished the debugging for target filtering. In the final state, the debug output would show the effect of the filter, i.e. also print out the bundle(s) kicked out by the filter.
 
Regards
Tobias
 
 
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of ramesh gunjal
Sent: Freitag, 17. Februar 2012 14:56
To: Tycho user list
Subject: Re: [tycho-user] Getting message - missing package javax.servlet.http_0.0.0
 
Igor,
Thanks for reply. Sorry I forgot to mention that I already tried this workaround but unfortunately it did not work for me. Only the difference I see in message is version number 2.5.0
MESSAGE Missing imported package javax.servlet.http_2.5.0 
--
God bless you,
Ramesh
From: Igor Fedorenko <igor@xxxxxxxxxxxxxx>
To: tycho-user@xxxxxxxxxxx
Sent: Friday, 17 February 2012 6:18 PM
Subject: Re: [tycho-user] Getting message - missing package javax.servlet.http_0.0.0

Likely caused by bug 348045 [1]. The workaround is to exclude
org.eclipse.equinox.servletbridge.extensionbundle bundle from the target
platform with [2]


[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=348045
[2] http://wiki.eclipse.org/index.php?title=Tycho/Target_Platform#Filtering

--
Regards,
Igor

On 12-02-17 5:57 AM, ramesh gunjal wrote:
> Hello,
> I am getting missing package error when running JUnit test using tycho.
> Note that I am able to run it successfuly from within Eclipse IDE.
> Can someone please tell what is missing? Here is the log.
> -------------------
> !ENTRY org.eclipse.osgi 2 0 2012-02-16 20:04:49.290
> !MESSAGE One or more bundles are not resolved because the following root
> constraints are not resolved:
> !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-16 20:04:49.290
> !MESSAGE Bundle
> initial@reference:file:repository/p2/osgi/bundle/org.mortbay.jetty.util/6.1.23.v201012071420/org.mortbay.jetty.util-6.1.23.v201012071420.jar/
> <mailto:initial@reference:file:repository/p2/osgi/bundle/org.mortbay.jetty.util/6.1.23.v201012071420/org.mortbay.jetty.util-6.1.23.v201012071420.jar/>
> was not resolved.
> !SUBENTRY 2 org.mortbay.jetty.util 2 0 2012-02-16 20:04:49.290
> !MESSAGE Missing imported package javax.servlet.http_0.0.0.
> !SUBENTRY 2 org.mortbay.jetty.util 2 0 2012-02-16 20:04:49.290
> !MESSAGE Missing imported package javax.servlet_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-16 20:04:49.290
> !MESSAGE Bundle
> initial@reference:file:repository/p2/osgi/bundle/org.eclipse.equinox.http.jetty/2.0.100.v20110502/org.eclipse.equinox.http.jetty-2.0.100.v20110502.jar/
> <mailto:initial@reference:file:repository/p2/osgi/bundle/org.eclipse.equinox.http.jetty/2.0.100.v20110502/org.eclipse.equinox.http.jetty-2.0.100.v20110502.jar/>
> was not resolved.
> !SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2012-02-16 20:04:49.290
> !MESSAGE Missing imported package javax.servlet.http_[2.5.0,2.6.0).
> !SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2012-02-16 20:04:49.290
> !MESSAGE Missing imported package javax.servlet_[2.5.0,2.6.0).
> !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-16 20:04:49.290
> !MESSAGE Bundle
> initial@reference:file:repository/p2/osgi/bundle/org.mortbay.jetty.server/6.1.23.v201012071420/org.mortbay.jetty.server-6.1.23.v201012071420.jar/
> <mailto:initial@reference:file:repository/p2/osgi/bundle/org.mortbay.jetty.server/6.1.23.v201012071420/org.mortbay.jetty.server-6.1.23.v201012071420.jar/>
> was not resolved.
> !SUBENTRY 2 org.mortbay.jetty.server 2 0 2012-02-16 20:04:49.290
> !MESSAGE Missing imported package javax.servlet_2.5.0.
> !SUBENTRY 2 org.mortbay.jetty.server 2 0 2012-02-16 20:04:49.290
> !MESSAGE Missing imported package javax.servlet.http_2.5.0.
> !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-16 20:04:49.290
> !MESSAGE Bundle
> initial@reference:file:repository/p2/osgi/bundle/org.eclipse.equinox.http.servlet/1.1.200.v20110502/org.eclipse.equinox.http.servlet-1.1.200.v20110502.jar/
> <mailto:initial@reference:file:repository/p2/osgi/bundle/org.eclipse.equinox.http.servlet/1.1.200.v20110502/org.eclipse.equinox.http.servlet-1.1.200.v20110502.jar/>
> was not resolved.
> !SUBENTRY 2 org.eclipse.equinox.http.servlet 2 0 2012-02-16 20:04:49.290
> !MESSAGE Missing imported package javax.servlet.http_2.3.0.
> !SUBENTRY 2 org.eclipse.equinox.http.servlet 2 0 2012-02-16 20:04:49.290
> !MESSAGE Missing imported package javax.servlet_2.3.0.
> !ENTRY org.eclipse.osgi 2 0 2012-02-16 20:04:49.305
> !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 2012-02-16 20:04:49.305
> !MESSAGE Bundle org.eclipse.equinox.http.servlet_1.1.200.v20110502 [6]
> was not resolved.
> !SUBENTRY 2 org.eclipse.equinox.http.servlet 2 0 2012-02-16 20:04:49.305
> !MESSAGE Missing imported package javax.servlet_2.3.0.
> !SUBENTRY 2 org.eclipse.equinox.http.servlet 2 0 2012-02-16 20:04:49.305
> !MESSAGE Missing imported package javax.servlet.http_2.3.0.
> !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-16 20:04:49.305
> !MESSAGE Bundle org.eclipse.equinox.http.jetty_2.0.100.v20110502 [37]
> was not resolved.
> !SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2012-02-16 20:04:49.305
> !MESSAGE Missing imported package javax.servlet_[2.5.0,2.6.0).
> !SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2012-02-16 20:04:49.305
> !MESSAGE Missing imported package javax.servlet.http_[2.5.0,2.6.0).
> !SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2012-02-16 20:04:49.305
> !MESSAGE Missing imported package org.eclipse.equinox.http.servlet_1.0.0.
> !SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2012-02-16 20:04:49.305
> !MESSAGE Missing imported package org.mortbay.component_[6.1.0,7.0.0).
> !SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2012-02-16 20:04:49.305
> !MESSAGE Missing imported package org.mortbay.jetty_[6.1.0,7.0.0).
> !SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2012-02-16 20:04:49.305
> !MESSAGE Missing imported package org.mortbay.jetty.bio_[6.1.0,7.0.0).
> !SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2012-02-16 20:04:49.305
> !MESSAGE Missing imported package org.mortbay.jetty.handler_[6.1.0,7.0.0).
> !SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2012-02-16 20:04:49.305
> !MESSAGE Missing imported package org.mortbay.jetty.nio_[6.1.0,7.0.0).
> !SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2012-02-16 20:04:49.305
> !MESSAGE Missing imported package org.mortbay.jetty.security_[6.1.0,7.0.0).
> !SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2012-02-16 20:04:49.305
> !MESSAGE Missing imported package org.mortbay.jetty.servlet_[6.1.0,7.0.0).
> !SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2012-02-16 20:04:49.305
> !MESSAGE Missing imported package org.mortbay.log_[6.1.0,7.0.0).
> !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-16 20:04:49.305
> !MESSAGE Bundle org.mortbay.jetty.util_6.1.23.v201012071420 [48] was not
> resolved.
> !SUBENTRY 2 org.mortbay.jetty.util 2 0 2012-02-16 20:04:49.305
> !MESSAGE Missing imported package javax.servlet_0.0.0.
> !SUBENTRY 2 org.mortbay.jetty.util 2 0 2012-02-16 20:04:49.305
> !MESSAGE Missing imported package javax.servlet.http_0.0.0.
> !SUBENTRY 2 org.mortbay.jetty.util 2 0 2012-02-16 20:04:49.305
> !MESSAGE Missing optionally imported package org.slf4j_1.3.0.
> !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-16 20:04:49.305
> !MESSAGE Bundle org.mortbay.jetty.server_6.1.23.v201012071420 [51] was
> not resolved.
> !SUBENTRY 2 org.mortbay.jetty.server 2 0 2012-02-16 20:04:49.305
> !MESSAGE Missing imported package javax.servlet_2.5.0.
> !SUBENTRY 2 org.mortbay.jetty.server 2 0 2012-02-16 20:04:49.305
> !MESSAGE Missing imported package javax.servlet.http_2.5.0.
> !SUBENTRY 2 org.mortbay.jetty.server 2 0 2012-02-16 20:04:49.305
> !MESSAGE Missing optionally imported package javax.servlet.jsp_0.0.0.
> !SUBENTRY 2 org.mortbay.jetty.server 2 0 2012-02-16 20:04:49.305
> !MESSAGE Missing optionally imported package javax.servlet.resources_2.5.0.
> !SUBENTRY 2 org.mortbay.jetty.server 2 0 2012-02-16 20:04:49.305
> !MESSAGE Missing optionally imported package
> org.apache.jasper.servlet_0.0.0.
> !SUBENTRY 2 org.mortbay.jetty.server 2 0 2012-02-16 20:04:49.305
> !MESSAGE Missing imported package org.mortbay.component_6.1.0.
> !SUBENTRY 2 org.mortbay.jetty.server 2 0 2012-02-16 20:04:49.305
> !MESSAGE Missing optionally imported package
> org.mortbay.jetty.handler.management_0.0.0.
> !SUBENTRY 2 org.mortbay.jetty.server 2 0 2012-02-16 20:04:49.305
> !MESSAGE Missing imported package org.mortbay.log_6.1.0.
> !SUBENTRY 2 org.mortbay.jetty.server 2 0 2012-02-16 20:04:49.305
> !MESSAGE Missing imported package org.mortbay.servlet_6.1.0.
> !SUBENTRY 2 org.mortbay.jetty.server 2 0 2012-02-16 20:04:49.305
> !MESSAGE Missing imported package org.mortbay.thread_6.1.0.
> !SUBENTRY 2 org.mortbay.jetty.server 2 0 2012-02-16 20:04:49.305
> !MESSAGE Missing imported package org.mortbay.util_6.1.0.
> !SUBENTRY 2 org.mortbay.jetty.server 2 0 2012-02-16 20:04:49.305
> !MESSAGE Missing imported package org.mortbay.util.ajax_6.1.0.
> !ENTRY org.eclipse.ui 4 4 2012-02-16 20:04:56.631
> !MESSAGE Exception in
> org.eclipse.ui.internal.FolderLayout.addView(String):
> org.eclipse.ui.PartInitException: View descriptor not found:
> org.eclipse.ui.navigator.ProjectExplorer
> !ENTRY org.eclipse.ui 4 4 2012-02-16 20:04:56.631
> !MESSAGE Exception in
> org.eclipse.ui.internal.FolderLayout.addView(String):
> org.eclipse.ui.PartInitException: View descriptor not found:
> org.eclipse.ui.navigator.ProjectExplorer
> !STACK 1
> org.eclipse.ui.PartInitException: View descriptor not found:
> org.eclipse.ui.navigator.ProjectExplorer
> at org.eclipse.ui.internal.FolderLayout.addView(FolderLayout.java:75)
> at
> org.eclipse.ui.internal.ide.application.ResourcePerspective.defineLayout(ResourcePerspective.java:84)
> at
> org.eclipse.ui.internal.ide.application.ResourcePerspective.createInitialLayout(ResourcePerspective.java:49)
> at
> org.eclipse.ui.internal.Perspective.loadPredefinedPersp(Perspective.java:816)
> at
> org.eclipse.ui.internal.Perspective.createPresentation(Perspective.java:270)
> at org.eclipse.ui.internal.Perspective.<init>(Perspective.java:156)
> at
> org.eclipse.ui.internal.tweaklets.Workbench3xImplementation.createPerspective(Workbench3xImplementation.java:55)
> at
> org.eclipse.ui.internal.WorkbenchPage.createPerspective(WorkbenchPage.java:1748)
> at org.eclipse.ui.internal.WorkbenchPage.init(WorkbenchPage.java:2535)
> at org.eclipse.ui.internal.WorkbenchPage.<init>(WorkbenchPage.java:637)
> at
> org.eclipse.ui.internal.tweaklets.Workbench3xImplementation.createWorkbenchPage(Workbench3xImplementation.java:39)
> at
> org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:796)
> at
> org.eclipse.ui.internal.Workbench$23.runWithException(Workbench.java:1224)
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
> at
> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
> at
> org.eclipse.ui.internal.Workbench$33.runWithException(Workbench.java:1595)
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
> at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)
> at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:4683)
> at
> org.eclipse.ui.internal.StartupThreading.runWithoutExceptions(StartupThreading.java:94)
> at org.eclipse.ui.internal.Workbench.init(Workbench.java:1590)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2623)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
> at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
> at
> org.eclipse.tycho.surefire.osgibooter.UITestApplication.runApplication(UITestApplication.java:31)
> at
> org.eclipse.tycho.surefire.osgibooter.AbstractUITestApplication.run(AbstractUITestApplication.java:114)
> at
> org.eclipse.tycho.surefire.osgibooter.UITestApplication.start(UITestApplication.java:37)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> 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:344)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
> !SUBENTRY 1 org.eclipse.ui 4 0 2012-02-16 20:04:56.631
> !MESSAGE View descriptor not found: org.eclipse.ui.navigator.ProjectExplorer
> !ENTRY com.xxx.myapp 4 0 2012-02-16 20:05:01.786
> !MESSAGE unable to show console view
> !ENTRY com.xxx.myapp 4 0 2012-02-16 20:05:01.942
> !MESSAGE unable to show console view
> -------------------
> --
> God bless all,
> Ramesh
>
>
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user



_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user



Back to the top