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

JWS Java Discussion :

impossible de charger la ressource


Sujet :

JWS Java

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre averti
    Inscrit en
    Mars 2008
    Messages
    48
    Détails du profil
    Informations forums :
    Inscription : Mars 2008
    Messages : 48
    Par défaut impossible de charger la ressource
    mon application marche si je la compile normalement , mais si je veux la fair marché avec java web start il me sort "impossible de lancer l'application"
    voila les détails
    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
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="file:/F:/Documents%20and%20Settings/tarak/Bureau/projet/borneInteractive/dist/" href="launch.jnlp">
        <information>
            <title>borneInteractive</title>
            <vendor>tarak</vendor>
            <homepage href=""/>
            <description>borneInteractive</description>
            <description kind="short">borneInteractive</description>
        </information>
        <resources>
            <j2se version="1.5+"/>
            <jar href="borneInteractive.jar" main="true" download="eager"/>
            <jar href="lib/toplink-essentials.jar" download="eager"/>
            <jar href="lib/toplink-essentials-agent.jar" download="eager"/>
            <jar href="lib/hibernate-all.jar" download="eager"/>
            <jar href="lib/jboss-ejb3-all.jar" download="eager"/>
            <jar href="lib/thirdparty-all.jar" download="eager"/>
        </resources>
        <application-desc main-class="Borneinteractive.Main">
        </application-desc>
    </jnlp>
    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
    com.sun.deploy.net.FailedDownloadException: Impossible de charger la ressource : file:/F:/Documents%20and%20Settings/tarak/Bureau/projet/borneInteractive/dist/lib/jboss-ejb3-all.jar
    	at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
    	at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
    	at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
    	at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
    	at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
    	at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
    	at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
    	at com.sun.javaws.Launcher.downloadResources(Unknown Source)
    	at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
    	at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
    	at com.sun.javaws.Launcher.launch(Unknown Source)
    	at com.sun.javaws.Main.launchApp(Unknown Source)
    	at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    	at com.sun.javaws.Main$1.run(Unknown Source)
    	at java.lang.Thread.run(Thread.java:619)
    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
    java.util.zip.ZipException: duplicate entry: org/jboss/annotation/IgnoreDependency.class
    	at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:175)
    	at java.util.jar.JarOutputStream.putNextEntry(JarOutputStream.java:92)
    	at com.sun.deploy.net.HttpDownloadHelper.decompressWrite(Unknown Source)
    	at com.sun.deploy.net.HttpDownloadHelper.download(Unknown Source)
    	at com.sun.deploy.cache.Cache.downloadResourceToCache(Unknown Source)
    	at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
    	at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
    	at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
    	at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
    	at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
    	at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
    	at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
    	at com.sun.javaws.Launcher.downloadResources(Unknown Source)
    	at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
    	at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
    	at com.sun.javaws.Launcher.launch(Unknown Source)
    	at com.sun.javaws.Main.launchApp(Unknown Source)
    	at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    	at com.sun.javaws.Main$1.run(Unknown Source)
    	at java.lang.Thread.run(Thread.java:619)
    j utilise netbeans 6.1 et normalement j ai qu'une case a coché dans le menu de propriété du projet


  2. #2
    Expert éminent
    Avatar de tchize_
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2007
    Messages
    25 482
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 46
    Localisation : Belgique

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Avril 2007
    Messages : 25 482
    Par défaut
    Ta première erreur t'indique un fichier manquant. rajoute le, ou retire en la référence dans le jnlp. Ta deuxième erreur indique que deux jar fournissent une même classe. Identifie les jars en question et supprime le duplicatat.

  3. #3
    Membre averti
    Inscrit en
    Mars 2008
    Messages
    48
    Détails du profil
    Informations forums :
    Inscription : Mars 2008
    Messages : 48
    Par défaut
    merci , ça marche maintenant
    merci beaucoup

  4. #4
    Membre averti
    Inscrit en
    Juin 2008
    Messages
    17
    Détails du profil
    Informations forums :
    Inscription : Juin 2008
    Messages : 17
    Par défaut
    Si tout marche, une petite balise [résolu] ne serait pas de trop

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

Discussions similaires

  1. [Débutant] Impossible de charger la ressource de métadonnées spécifiée
    Par javacoder dans le forum ASP.NET
    Réponses: 1
    Dernier message: 02/12/2014, 17h15
  2. Réponses: 4
    Dernier message: 23/06/2008, 13h41
  3. Impossible de charger LIBMYSQL.DLL
    Par Dalès dans le forum Bases de données
    Réponses: 19
    Dernier message: 20/09/2006, 04h57
  4. [SERVLET][JDBC] Impossible de charger les pilotes
    Par cedric.picard dans le forum Servlets/JSP
    Réponses: 2
    Dernier message: 07/10/2004, 14h11
  5. [ServletContext]Charger une ressource dans la servletContext
    Par lalou33 dans le forum Servlets/JSP
    Réponses: 3
    Dernier message: 25/06/2004, 14h37

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