سؤال

أنا جديد على تطوير كل من Zest وEclipse e4.هدفي في الوقت الحالي هو إنشاء تطبيق بسيط وتصور رسم بياني باستخدام Zest في إحدى طرق عرضه.لذلك أنا أتابع هذا البرنامج التعليمي وانتهى بي الأمر بتطبيق عمل بسيط يتكون من نافذة رئيسية واحدة مقسمة إلى 3 أجزاء.

الآن أريد عرض رسم بياني في أحد الأجزاء.وللقيام بذلك، قمت بتنزيل إطار عمل مرفق البيئة العالمية بالكامل إلى Eclipse الخاص بي من هنا باستخدام ميزة "تثبيت برنامج جديد" في Eclipse.حتى الان جيدة جدا.

بعد ذلك، أحاول إضافة التبعيات التالية إلى قسم المكونات الإضافية المطلوبة في ملف البيان: org.eclipse.zest.core و org.eclipse.zest.layouts

عند تشغيل المشروع انتهى بي الأمر

لم يتم العثور على معرف التطبيق

عندما أقوم بإزالتهم، كل شيء يعمل كالمعتاد.هل لديكم أي فكرة يا رفاق كيف يمكنني إصلاح هذا؟

هذه هي رسالة الخطأ:

!SESSION 2013-11-18 18:38:56.285 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_21
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -product com.andrey.e4.rcp.todo.product -clearPersistedState
Command-line arguments:  -product com.andrey.e4.rcp.todo.product -data     C:\Users\Andrez\Desktop\projects/../runtime-com.andrey.e4.rcp.todo.product -dev file:C:/Users/Andrez/Desktop/projects/.metadata/.plugins/org.eclipse.pde.core/com.andrey.e4.rcp.todo.product/dev.properties -os win32 -ws win32 -arch x86 -consoleLog -clearPersistedState

!ENTRY org.eclipse.equinox.app 0 0 2013-11-18 18:38:57.835
!MESSAGE Product com.andrey.e4.rcp.todo.product could not be found.

!ENTRY org.eclipse.osgi 2 0 2013-11-18 18:38:57.890
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-11-18 18:38:57.891
!MESSAGE Bundle initial@reference:file:../../projects/com.andrey.e4.rcp.todo/ was not resolved.
!SUBENTRY 2 com.andrey.e4.rcp.todo 2 0 2013-11-18 18:38:57.891
!MESSAGE Missing required bundle org.eclipse.zest.layouts_1.1.0.
!SUBENTRY 2 com.andrey.e4.rcp.todo 2 0 2013-11-18 18:38:57.891
!MESSAGE Missing required bundle org.eclipse.zest.core_1.5.0.

!ENTRY org.eclipse.osgi 2 0 2013-11-18 18:38:57.900
!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 2013-11-18 18:38:57.901
!MESSAGE Bundle com.andrey.e4.rcp.todo_1.0.0.qualifier [70] was not resolved.
!SUBENTRY 2 com.andrey.e4.rcp.todo 2 0 2013-11-18 18:38:57.901
!MESSAGE Missing required bundle org.eclipse.zest.core_1.5.0.
!SUBENTRY 2 com.andrey.e4.rcp.todo 2 0 2013-11-18 18:38:57.901
!MESSAGE Missing required bundle org.eclipse.zest.layouts_1.1.0.

!ENTRY org.eclipse.osgi 2 0 2013-11-18 18:38:57.932
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-11-18 18:38:57.932
!MESSAGE Bundle initial@reference:file:../../projects/com.andrey.e4.rcp.todo/ was not resolved.
!SUBENTRY 2 com.andrey.e4.rcp.todo 2 0 2013-11-18 18:38:57.933
!MESSAGE Missing required bundle org.eclipse.zest.layouts_1.1.0.
!SUBENTRY 2 com.andrey.e4.rcp.todo 2 0 2013-11-18 18:38:57.933
!MESSAGE Missing required bundle org.eclipse.zest.core_1.5.0.

!ENTRY org.eclipse.osgi 2 0 2013-11-18 18:38:57.939
!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 2013-11-18 18:38:57.939
!MESSAGE Bundle com.andrey.e4.rcp.todo_1.0.0.qualifier [70] was not resolved.
!SUBENTRY 2 com.andrey.e4.rcp.todo 2 0 2013-11-18 18:38:57.939
!MESSAGE Missing required bundle org.eclipse.zest.core_1.5.0.
!SUBENTRY 2 com.andrey.e4.rcp.todo 2 0 2013-11-18 18:38:57.940
!MESSAGE Missing required bundle org.eclipse.zest.layouts_1.1.0.

!ENTRY org.eclipse.osgi 4 0 2013-11-18 18:38:57.946
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:242)
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:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
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:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
هل كانت مفيدة؟

المحلول

أول شيء سأحاوله هو النقر فوق الزر "إضافة المكونات الإضافية المطلوبة" في علامة التبويب "المكونات الإضافية" في تكوين التشغيل الخاص بك.يمكنك أيضًا تجربة تشغيل منتج مختلف في علامة التبويب "الرئيسية" في تكوين التشغيل.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top