Schönen guten Tag,
ich bin ziemlich neu in Sachen RCP / RAP unterwegs.
Ich schaffe es nicht die RAP Anwendung "Hallo World" zum Laufen zu bringen. Ich habe eine Mac OS X Lion 64bit.
Es kommt immer folgende Fehlermeldung im Browser:
Die Internetrecherche hat mir auch nichts gebracht. Ich vermute es fehlt was, damit der integrierte Server läuft. Da ich aber die ganze Sache noch nicht verstehe, ist es schwer herauszufinden.
Wäre schön, wenn mir einer von Euch kurz sagen könnte wie das mit RAP funktioniert und was bei mir fehlt.
Danke im Voraus.
Sven
Und in der Konsole habe ich folgende Meldungen:
ich bin ziemlich neu in Sachen RCP / RAP unterwegs.
Ich schaffe es nicht die RAP Anwendung "Hallo World" zum Laufen zu bringen. Ich habe eine Mac OS X Lion 64bit.
Es kommt immer folgende Fehlermeldung im Browser:
Code:
HTTP ERROR 404
Problem accessing /rap. Reason:
ProxyServlet: /rap
Powered by Jetty://
Die Internetrecherche hat mir auch nichts gebracht. Ich vermute es fehlt was, damit der integrierte Server läuft. Da ich aber die ganze Sache noch nicht verstehe, ist es schwer herauszufinden.
Wäre schön, wenn mir einer von Euch kurz sagen könnte wie das mit RAP funktioniert und was bei mir fehlt.
Danke im Voraus.
Sven
Und in der Konsole habe ich folgende Meldungen:
Code:
osgi> !SESSION 2012-04-28 14:25:21.070 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_31
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=de_DE
Command-line arguments: -dev file:/Volumes/Daten/Daten-Sven/Programmierung/Java/Workspace/.metadata/.plugins/org.eclipse.pde.core/MyFirstRAP/dev.properties -os macosx -ws cocoa -arch x86_64 -console -consolelog -data /Volumes/Daten/Daten-Sven/Programmierung/Java/Workspace/.metadata/.plugins/org.eclipse.rap.ui.launch/MyFirstRAP
!ENTRY org.eclipse.rap.ui.views 4 0 2012-04-28 14:25:22.043
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: The bundle "org.eclipse.rap.ui.views_1.5.0.20110926-1702 [6]" could not be resolved. Reason: Missing Constraint: Require-Bundle: org.eclipse.rap.ui; bundle-version="[1.2.0,4.0.0)"
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1328)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1312)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1177)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
!ENTRY org.eclipse.rap.ui 4 0 2012-04-28 14:25:22.117
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: The bundle "org.eclipse.rap.ui_1.5.0.20110926-1702 [15]" could not be resolved. Reason: Missing Constraint: Require-Bundle: org.eclipse.rap.ui.workbench; bundle-version="[1.3.0,2.0.0)"
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1328)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1312)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1177)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
!ENTRY org.eclipse.rap.design.example 4 0 2012-04-28 14:25:22.119
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: The bundle "org.eclipse.rap.design.example_1.5.0.20110926-1702 [18]" could not be resolved. Reason: Missing Constraint: Require-Bundle: org.eclipse.rap.ui; bundle-version="1.2.0"
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1328)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1312)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1177)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
2012-04-28 14:25:22.146:INFO:org.mortbay.log:Logging to STDERRorg.mortbay.log via org.mortbay.log.Slf4jLog
2012-04-28 14:25:22.226:INFO::jetty-6.1.x
2012-04-28 14:25:22.293:INFO::Started SelectChannelConnector@0.0.0.0:8080
!ENTRY org.eclipse.rap.ui.workbench 4 0 2012-04-28 14:25:22.297
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: The bundle "org.eclipse.rap.ui.workbench_1.5.0.20110926-1702 [23]" could not be resolved. Reason: Missing Constraint: Import-Package: org.eclipse.rap.rwt.osgi; version="[1.0.0,2.0.0)"
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1328)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1312)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1177)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
!ENTRY MyFirstRAP 4 0 2012-04-28 14:25:22.304
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: The bundle "MyFirstRAP_1.0.0.qualifier [35]" could not be resolved. Reason: Missing Constraint: Require-Bundle: org.eclipse.rap.ui; bundle-version="0.0.0"
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1328)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1312)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1177)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
!ENTRY org.eclipse.osgi 4 0 2012-04-28 14:25:22.308
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.rap.design.example_1.5.0.20110926-1702.jar/ was not resolved.
!ENTRY org.eclipse.osgi 4 0 2012-04-28 14:25:22.308
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.rap.ui.views_1.5.0.20110926-1702.jar/ was not resolved.
!ENTRY org.eclipse.osgi 4 0 2012-04-28 14:25:22.309
!MESSAGE Bundle initial@reference:file:../../../../MyFirstRAP/ was not resolved.
!ENTRY org.eclipse.osgi 4 0 2012-04-28 14:25:22.309
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.rap.ui_1.5.0.20110926-1702.jar/ was not resolved.
!ENTRY org.eclipse.osgi 4 0 2012-04-28 14:25:22.309
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.rap.ui.workbench_1.5.0.20110926-1702.jar/ was not resolved.