IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Maven Java Discussion :

Problème lancement du product


Sujet :

Maven Java

  1. #1
    Membre du Club
    Profil pro
    Inscrit en
    Novembre 2010
    Messages
    75
    Détails du profil
    Informations personnelles :
    Localisation : Canada

    Informations forums :
    Inscription : Novembre 2010
    Messages : 75
    Points : 49
    Points
    49
    Par défaut Problème lancement du product
    Bonjour,

    J'ai suivi ce tutoriel : http://codeandme.blogspot.ca/2012/12...-products.html

    Et le .product se créé bien mais quand je le lance dans mon Eclipse en cliquant sur la flèche verte j'ai l'erreur :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    !SESSION 2013-02-21 16:19:05.968 -----------------------------------------------
    eclipse.buildId=unknown
    java.version=1.7.0_11
    java.vendor=Oracle Corporation
    BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=fr_FR
    Framework arguments:  -product com.example.tycho.product.tycho_product
    Command-line arguments:  -product com.example.tycho.product.tycho_product -data C:\Users\Elodie\Documents\projets\ECLIPSE\workspaces\TychoElo/../runtime-Tycho.product -dev file:C:/Users/Elodie/Documents/projets/ECLIPSE/workspaces/TychoElo/.metadata/.plugins/org.eclipse.pde.core/Tycho.product/dev.properties -os win32 -ws win32 -arch x86_64 -consoleLog
     
    !ENTRY org.eclipse.ui.workbench 4 0 2013-02-21 16:19:07.376
    !MESSAGE FrameworkEvent ERROR
    !STACK 0
    org.osgi.framework.BundleException: The bundle "org.eclipse.ui.workbench_3.105.0.v20121210-193513 [178]" could not be resolved. Reason: Missing Constraint: Require-Bundle: org.eclipse.e4.ui.workbench.swt; bundle-version="0.9.1"
    	at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1332)
    	at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1316)
    	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:1176)
    	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.update.configurator 4 0 2013-02-21 16:19:07.474
    !MESSAGE Unable to find feature.xml in directory: C:\Users\Elodie\Documents\projets\ECLIPSE\eclipse\features\org.eclipse.xsd_2.9.0.v20121217-0429
     
    !ENTRY org.eclipse.osgi 2 0 2013-02-21 16:19:08.059
    !MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
    ...
    ...
    ...
    ...
    !SUBENTRY 1 org.eclipse.osgi 2 0 2013-02-21 16:19:08.173
    !MESSAGE Bundle org.w3c.dom.svg_1.1.0.v201011041433 [185] was not resolved.
    !SUBENTRY 2 org.w3c.dom.svg 2 0 2013-02-21 16:19:08.173
    !MESSAGE Missing required bundle org.w3c.dom.smil_[1.0.0,1.1.0).
    !SUBENTRY 2 org.w3c.dom.svg 2 0 2013-02-21 16:19:08.173
    !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=JavaSE)(version=1.3))(&(osgi.ee=CDC/Foundation)(version=1.0)))".
     
    !ENTRY org.eclipse.osgi 4 0 2013-02-21 16:19:08.174
    !MESSAGE Application error
    !STACK 1
    java.lang.RuntimeException: Application "org.eclipse.ui.ide.workbench" could not be found in the registry. The applications available are: org.eclipse.ant.core.antRunner, org.eclipse.equinox.app.error, org.eclipse.equinox.p2.director, org.eclipse.equinox.p2.garbagecollector.application, org.eclipse.equinox.p2.publisher.InstallPublisher, org.eclipse.equinox.p2.publisher.EclipseGenerator, org.eclipse.equinox.p2.publisher.ProductPublisher, org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher, org.eclipse.equinox.p2.reconciler.application, org.eclipse.equinox.p2.repository.repo2runnable, org.eclipse.equinox.p2.repository.metadataverifier, org.eclipse.equinox.p2.artifact.repository.mirrorApplication, org.eclipse.equinox.p2.metadata.repository.mirrorApplication, org.eclipse.equinox.p2.updatesite.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.CategoryPublisher, org.eclipse.help.base.infocenterApplication, org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool.
    	at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:248)
    	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:353)
    	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
    	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:629)
    	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
    	at org.eclipse.equinox.launcher.Main.run(Main.java:1443)
    	at org.eclipse.equinox.launcher.Main.main(Main.java:1419)
    Pourriez-vous m'indiquer ce qui engendre cette erreur svp ?

  2. #2
    Membre du Club
    Profil pro
    Inscrit en
    Novembre 2010
    Messages
    75
    Détails du profil
    Informations personnelles :
    Localisation : Canada

    Informations forums :
    Inscription : Novembre 2010
    Messages : 75
    Points : 49
    Points
    49
    Par défaut
    Bonjour,

    Avec le tutoriel : http://mbaron.developpez.com/eclipse/introtycho/#L2-B

    Je n'utilise pas org.sonatype.tycho mais org.eclipse.tycho avec la version 0.16.0

    Ça compile mais lors du lancement du product j'ai l'erreur suivante :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    !SESSION Thu Feb 21 17:33:45 EST 2013 ------------------------------------------
    !ENTRY org.eclipse.equinox.launcher 4 0 2013-02-21 17:33:45.526
    !MESSAGE Exception launching the Eclipse Platform:
    !STACK
    java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
    	at java.net.URLClassLoader$1.run(Unknown Source)
    	at java.net.URLClassLoader$1.run(Unknown Source)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.net.URLClassLoader.findClass(Unknown Source)
    	at java.lang.ClassLoader.loadClass(Unknown Source)
    	at java.lang.ClassLoader.loadClass(Unknown Source)
    	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:626)
    	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
    	at org.eclipse.equinox.launcher.Main.run(Main.java:1443)
    	at org.eclipse.equinox.launcher.Main.main(Main.java:1419)

  3. #3
    Membre du Club
    Profil pro
    Inscrit en
    Novembre 2010
    Messages
    75
    Détails du profil
    Informations personnelles :
    Localisation : Canada

    Informations forums :
    Inscription : Novembre 2010
    Messages : 75
    Points : 49
    Points
    49
    Par défaut
    Pour information j'ai lancé mon product basé sur "plug-ins" et non pas sur "features" et cela fonctionne, mais ne me demandez pas pourquoi.

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. [problème Lancement]
    Par wello00 dans le forum XMLRAD
    Réponses: 2
    Dernier message: 19/03/2006, 22h11
  2. [MFC] problème lancement application MDI
    Par Denn's dans le forum MFC
    Réponses: 4
    Dernier message: 17/02/2006, 16h26
  3. Problème lancement excel à partir d'une DLL
    Par irnbru dans le forum MFC
    Réponses: 8
    Dernier message: 03/11/2005, 12h00
  4. Problème lancement Apache, port occupé
    Par talggir dans le forum Apache
    Réponses: 4
    Dernier message: 13/09/2004, 08h42
  5. problème lancement executable avec winexec()
    Par semenzato dans le forum MFC
    Réponses: 5
    Dernier message: 19/01/2004, 11h48

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo