La balise code, c'est le bidule en forme de shmurt ( # ) dans les boutons
@ sinok :
voila ce que contien mon manifest :
Code:
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 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205
| Manifest-Version: 1.0
Class-Path: .
Main-Class: com.senova.main.ThermoSoftMain
Name: org/w3c/tidy/Tidy.class
Java-Bean: True
Name: org/apache/regexp
Implementation-Vendor: Apache Software Foundation
Implementation-Title: org.apache.regexp
Implementation-Version: 2.5.1
Specification-Vendor: Apache Software Foundation
Specification-Title: Java Regular Expression package
Implementation-URL: <a href="http://jakarta.apache.org/regexp" target="_blank">http://jakarta.apache.org/regexp</a>
Comment: Java Regular Expression package
Specification-Version: 1.2
Name: common
Implementation-Vendor: Sun Microsystems Inc.
Implementation-Title: MySQL Connector/J
Implementation-Version: 5.1.13
Implementation-Vendor-Id: com.mysql
Specification-Vendor: Sun Microsystems Inc.
Specification-Title: JDBC
Specification-Version: 4.0
Name: org/htmlparser/Parser.class
Java-Bean: True
Name: runtime
Implementation-Vendor: Princeton University
Implementation-Title: runtime
Implementation-Version: 2.5.1
Specification-Vendor: Princeton University
Specification-Title: Runtime component of JCup
Implementation-URL: <a href="http://www.cs.princeton.edu/~appel/modern/java/CUP" target="_blank">http://www.cs.princeton.edu/~appel/modern/java/CUP</a>
/
Comment: Runtime component of JCup
Specification-Version: 0.10j
Name: org/apache/xpath
Implementation-Vendor: Apache Software Foundation
Implementation-Title: org.apache.xpath
Implementation-URL: <a href="http://xml.apache.org/xalan-j/dist/" target="_blank">http://xml.apache.org/xalan-j/dist/</a>
Implementation-Version: 2.5.1
Comment: XPath engine
Name: org/apache/log4j/
Implementation-Vendor: "Apache Software Foundation"
Implementation-Title: log4j
Implementation-Version: 1.2.13
Name: org/htmlparser/beans/HTMLTextBean.class
Java-Bean: True
Name: org/apache/xml
Implementation-Vendor: Apache Software Foundation
Implementation-Title: org.apache.xml
Implementation-URL: <a href="http://xml.apache.org/xalan-j/dist/" target="_blank">http://xml.apache.org/xalan-j/dist/</a>
Implementation-Version: 2.5.1
Comment: DTM implementation and utilities
Name: org/apache/bcel
Implementation-Vendor: Apache Software Foundation
Implementation-Title: org.apache.bcel
Implementation-Version: 2.5.1
Specification-Vendor: Markus Dahm
Specification-Title: Byte Code Engineering Library
Implementation-URL: <a href="http://jakarta.apache.org/bcel" target="_blank">http://jakarta.apache.org/bcel</a>
Comment: Byte Code Engineering Library
Specification-Version: 5.0 rc1
Name: org/apache/commons/httpclient
Implementation-Vendor: Apache Software Foundation
Implementation-Title: org.apache.commons.httpclient
Implementation-Version: 3.1
Implementation-Vendor-Id: org.apache
Specification-Vendor: Apache Software Foundation
Specification-Title: Jakarta Commons HttpClient
Specification-Version: 3.1
Extension-name: org.apache.commons.httpclient
X-Compile-Source-JDK: 1.2
X-Compile-Target-JDK: 1.2
Name: org/apache/xalan/xsltc
Implementation-Vendor: Apache Software Foundation
Implementation-Title: org.apache.xalan.xsltc
Implementation-Version: 2.5.1
Specification-Vendor: Sun Microsystems Inc.
Specification-Title: Java API for XML Processing
Implementation-URL: <a href="http://xml.apache.org/xalan-j/dist/" target="_blank">http://xml.apache.org/xalan-j/dist/</a>
Comment: Main XSLTC engine implementing TrAX/JAXP
Specification-Version: 1.2
Name: javax/xml/parsers/
Implementation-Vendor: Sun Microsystems Inc.
Implementation-Title: javax.xml.parsers
Implementation-Version: 1.2.01
Specification-Vendor: Sun Microsystems Inc.
Specification-Title: Java API for XML Processing
Implementation-URL: <a href="http://java.sun.com/xml/jaxp.html" target="_blank">http://java.sun.com/xml/jaxp.html</a>
Comment: based on xml-commons external 1.2.01
Specification-Version: 1.2
Name: java_cup
Implementation-Vendor: Princeton University
Implementation-Title: java_cup
Implementation-Version: 2.5.1
Specification-Vendor: Princeton University
Specification-Title: Parser Generator for Java
Implementation-URL: <a href="http://www.cs.princeton.edu/~appel/modern/java/CUP" target="_blank">http://www.cs.princeton.edu/~appel/modern/java/CUP</a>
/
Comment: Parser Generator for Java
Specification-Version: 0.10j
Name: org/apache/xml/resolver
Implementation-Vendor: Apache Software Foundation
Implementation-Title: org.apache.xml.resolver.Catalog
Implementation-URL: <a href="http://xml.apache.org/commons/" target="_blank">http://xml.apache.org/commons/</a>
Implementation-Version: 1.1
Comment: xml-commons Resolver code
Name: org/htmlparser/beans/StringBean.class
Java-Bean: True
Name: javax/xml/transform/
Implementation-Vendor: Sun Microsystems Inc.
Implementation-Title: javax.xml.transform
Implementation-Version: 1.2.01
Specification-Vendor: Sun Microsystems Inc.
Specification-Title: Java API for XML Processing
Implementation-URL: <a href="http://java.sun.com/xml/jaxp.html" target="_blank">http://java.sun.com/xml/jaxp.html</a>
Comment: based on xml-commons external 1.2.01
Specification-Version: 1.2
Name: org/xml/sax/
Implementation-Vendor: David Megginson
Implementation-Title: org.xml.sax
Implementation-Version: 2.0.1
Specification-Vendor: David Megginson
Specification-Title: Simple API for XML
Implementation-URL: <a href="http://www.saxproject.org/" target="_blank">http://www.saxproject.org/</a>
Comment: based on xml-commons external 1.2.01
Specification-Version: 2.0.1
Name: org/w3c/dom/
Implementation-Vendor: World Wide Web Consortium
Implementation-Title: org.w3c.dom
Implementation-Version: 1.0
Specification-Vendor: World Wide Web Consortium
Specification-Title: Document Object Model, Level 2 Core
Implementation-URL: <a href="http://www.w3c.org/DOM/" target="_blank">http://www.w3c.org/DOM/</a>
Comment: based on xml-commons external 1.2.01
Specification-Version: 1.0
Name: JLex
Implementation-Vendor: Princeton University
Implementation-Title: JLex
Implementation-Version: 2.5.1
Specification-Vendor: Princeton University
Specification-Title: A Lexical Analyzer for Java
Implementation-URL: <a href="http://www.cs.princeton.edu/~appel/modern/java/JLe" target="_blank">http://www.cs.princeton.edu/~appel/modern/java/JLe</a>
x/
Comment: A Lexical Analyzer for Java
Specification-Version: 1.2.5
Name: org/apache/xerces/xni/
Implementation-Vendor: Apache Software Foundation
Implementation-Title: org.apache.xerces.xni
Implementation-Version: 1.1
Specification-Vendor: Apache Software Foundation
Specification-Title: Xerces Native Interface
Implementation-URL: <a href="http://xml.apache.org/xerces2-j/" target="_blank">http://xml.apache.org/xerces2-j/</a>
Comment: Xerces Native Interface
Specification-Version: 1.1
Name: org/htmlparser/beans/HTMLLinkBean.class
Java-Bean: True
Name: org/apache/xalan
Implementation-Vendor: Apache Software Foundation
Implementation-Title: org.apache.xalan
Implementation-Version: 2.5.1
Specification-Vendor: Sun Microsystems Inc.
Specification-Title: Java API for XML Processing
Implementation-URL: <a href="http://xml.apache.org/xalan-j/dist/" target="_blank">http://xml.apache.org/xalan-j/dist/</a>
Specification-Version: 1.2
Comment: Main Xalan engine implementing TrAX/JAXP
Name: org/apache/xerces/impl/Version.class
Implementation-Vendor: Apache Software Foundation
Implementation-Title: org.apache.xerces.impl.Version
Implementation-URL: <a href="http://xml.apache.org/xerces2-j/" target="_blank">http://xml.apache.org/xerces2-j/</a>
Implementation-Version: 2.6.2
Comment: Xerces-J 2.6.2
Name: org/htmlparser/beans/LinkBean.class
Java-Bean: True
Name: org/apache/xmlbeans/
Implementation-Vendor: Apache Software Foundation
Implementation-Title: org.apache.xmlbeans
Implementation-URL: <a href="http://xmlbeans.apache.org/" target="_blank">http://xmlbeans.apache.org/</a>
Implementation-Version: 2.5.0-r882429
Comment: Apache XmlBeans version 2.5.0-r882429 |
jai deja essayé un truc ke javai trouvé dans un otre forum et qui consistait à mettre dans classpath toutes les librairies externes que j'avais utilisé mais NON PLUS ca ne marchait pas.
les librairies sont dans un répertoir nommé lib, jai meme placé le .jar dans ce dossier avec tout les .jar ( notament le poi-3.7....) mai RIEN NY FAIt
@ tchize : voila le stacktrace complet de l'erreur, j'avais pas de try catch dans mon projet puisque sur eclipse tout fonctionnait correctement dc là j'ai fais ce que tu m'a demandé et voilà ce que j'obtiens :
Code:
1 2 3 4 5 6 7 8
|
Fichier extrait
Extracting: word/footnotes.xml
...
Extracting: word/numbering.xml
Fichier extrait
Extracting: customXml/_rels/item1.xml.rels
Fichier extrait |
j'en ai marre
Code:
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
|
org.apache.poi.POIXMLException: java.lang.reflect.InvocationTargetException
at org.apache.poi.xssf.usermodel.XSSFFactory.createDocumentPart(XSSFFact
ory.java:61)
at org.apache.poi.POIXMLDocumentPart.read(POIXMLDocumentPart.java:277)
at org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:186)
at org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:1
89)
at com.senova.rapportgenerator.RapportGenerator.generateGraphes(RapportG
enerator.java:568)
at com.senova.rapportgenerator.RapportGenerator.<init>(RapportGenerator.
java:89)
at com.senova.rapportgenerator.XMLBilanGenerator.<init>(XMLBilanGenerato
r.java:66)
at com.senova.fenetreprincipale.FenetrePrincipale.genererRapport(Fenetre
Principale.java:245)
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 com.trolltech.qt.internal.QSignalEmitterInternal$AbstractSignalIntern
al.emit_helper(QSignalEmitterInternal.java:368)
at com.trolltech.qt.QSignalEmitter$Signal1.emit(QSignalEmitter.java:209)
at com.trolltech.qt.gui.QApplication.exec(Native Method)
at com.senova.main.ThermoSoftMain.main(ThermoSoftMain.java:34)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.apache.poi.xssf.usermodel.XSSFFactory.createDocumentPart(XSSFFact
ory.java:59)
... 15 more
Caused by: java.lang.NoSuchMethodError: org.openxmlformats.schemas.spreadsheetml
.x2006.main.CTNumFmts.getNumFmtList()Ljava/util/List;
at org.apache.poi.xssf.model.StylesTable.readFrom(StylesTable.java:114)
at org.apache.poi.xssf.model.StylesTable.<init>(StylesTable.java:92)
... 20 more
org.apache.poi.POIXMLException: java.lang.reflect.InvocationTargetException |
A l'aide !! s'il vous plaît, ca me rend fou ce truc