Oh my god¡¡¡¡ Four months working with xdoclets+Jboss+struts,and always the same error, "Malformed UTF-8 char -- is an XML encoding declaration missing?" (line number may be too low)."
I always thought that was a extrange config error with my classpath but... The strange think for me is that if I open the ejb-jar.xml, write a blankspace in some part of the document, save it and re-deploy all work perfectly. I never thought about an international character inside an xml document could give any problem. Thank you very much Emerson for give your solution. By far is better than mine. Maybe error that Jboss show is not very clear, an email to jboss-dev or one post in Jboss-Forums???? Thank you very very much, pardon for my english. Regards, Enrique, _____________________________ Enrique Rodriguez Lasterra -----Mensaje original----- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]En nombre de Emerson Cargnin - MSA Enviado el: lunes, 29 de abril de 2002 4:07 Para: [EMAIL PROTECTED] Asunto: Re: [Xdoclet-user] Can't deploy to jboss/orion (utf-8 error) I solved it : ) i had some á (internation chars) chars inside ejb comments... ----- Original Message ----- From: Emerson Cargnin - MSA To: [EMAIL PROTECTED] Sent: Sunday, April 28, 2002 8:49 PM Subject: [Xdoclet-user] Can't deploy to jboss/orion (utf-8 error) While trying to deploy to jboos and oc4j I get the follwing error messages : JBOSS: 20:43:54,375 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss -3.0.0RC1/server/default/deploy/cadastrocobranca.ear 20:43:54,375 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-3.0.0RC1/ server/default/deploy/cadastrocobranca.ear 20:43:54,453 ERROR [XmlFileLoader] Character conversion error: "Malformed UTF-8 char -- is an XML encoding declaration missing?" (line number may be too low).:- 1:1 org.xml.sax.SAXParseException: Character conversion error: "Malformed UTF-8 char -- is an XML encoding declaration missing?" (line number may be too low). OC4J Auto-deploying cadastrocobranca (Assembly had been updated)... Error in application cadastrocobranca: Error loading package at file:/C:/oraUlt/ j2ee/home/applications/cadastrocobranca/cobranca-ejb.jar, IO Error parsing META- INF/ejb-jar.xml in C:\oraUlt\j2ee\home\applications\cadastrocobranca/cobranca-ej b.jar: Invalid UTF8 encoding. Thanks in advance... Emerson Cargnin _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user