But I can neither compile nor run the application. The message which
appears in the console is :
Loading modules
mypackage.MyApp
Loading inherited module 'mypackage.controller'
Loading inherited module 'mypackage.view'
[ERROR] Failure while parsing XML
org.xml.sax.SAXParseException: Element type "set-property-name" must
be followed by either attribute specifications, ">" or "/>".
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:
1231)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
$JAXPSAXParser.parse(SAXParserImpl.java:522)
But I can see in my module file that I have closed the set-property-
name elements correctly. ?
I attempted to revise the xml file and rerun using the following :
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Toolkit
Yes, this is obviously not XML, you have a dash between set-property
and name that shouldn't be there:
<set-property name="gwt.logging.logLevel" value="INFO" />
(BTW, you can either use "></set-property>" or "/>" to "close" the
element)
leslie
unread,
Nov 6, 2010, 4:34:06 PM11/6/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Toolkit
Thank you so much Thomas! I couldn't even see that mistake I made! I
think I will find this logging functionality very helpful today and
I'm grateful to be able to keep going with it.
Amandeep
unread,
Apr 7, 2011, 9:51:55 AM4/7/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google-We...@googlegroups.com
> > I'm attempting to use the Logging feature available in GWT 2.1 and I'm > having trouble.
> The message which > appears in the console is : > > Loading modules > mypackage.MyApp > Loading inherited module 'mypackage.controller' > Loading inherited module 'mypackage.view' > [ERROR] Failure while parsing XML > org.xml.sax.SAXParseException: Element type "set-property-name" must > be followed by either attribute specifications, ">" or "/>".