ERLEDIGT
NEIN
NEIN
ANTWORTEN
0
0
ZUGRIFFE
315
315
EMPFEHLEN
-
Code :
1
[size=2][color=#ff0000]Exception in thread "main" [/color][/size][u][size=2][color=#000080]org.jdom.IllegalAddException[/color][/size][/u][size=2][color=#000080][/color][/size][size=2][color=#ff0000]: Class java.lang.String is of unrecognized type and cannot be added[/color][/size]
das passiert bei folgendem code (Document mit root wurde im Constructor schon erstellt)
Code :1
Code :1
Code :1
Code :1 2 3 4 5 6
public void addElement(Vector v){ Element node = new Element("list"); node.addContent(v); <------- root.addContent(node); ......... [size=2][color=#ff0000][/color][/size]
im vector sind nen paar strings, ich hab hier schon gesucht nur schinbar hatte den fehler noch keiner und ich hab keine idee. ich dachte erst das das jar nich richtig eingebunden ist, allerdings muss es das ja da ich auf desen objekte zugreifen/erstellen kann....
danke
Ähnliche Themen
-
Rückmeldung bei: SSLException: Unrecognized SSL message...
Von StehtimSchilf im Forum Java GrundlagenAntworten: 4Letzter Beitrag: 02.09.10, 16:35 -
XSD: Element 'value' has both a 'type' attribute and a 'anonymous type' child.
Von DAB268 im Forum XML TechnologienAntworten: 1Letzter Beitrag: 07.01.10, 16:45 -
JDOM: SAXBuidler cannot be resolved to a type
Von thedaystar im Forum JavaAntworten: 1Letzter Beitrag: 08.01.09, 21:12 -
org.jdom.IllegalDataException: The data "" is not legal for a JDOM character content
Von tekilla209 im Forum JavaAntworten: 5Letzter Beitrag: 30.05.07, 11:24 -
Unrecognized Windows sockets error bei Server-Programm
Von Frosch99 im Forum JavaAntworten: 0Letzter Beitrag: 15.05.06, 12:14





Zitieren
Login





