Hi Gal!!

Thanks for your time: I paste the XML file, but the error is a classpath
issue. This error had when compile with maven and fix when add
xercesImpl 2.9.1 as dependency in project (with scope provided) and in the
plugin gwt-maven-plugin.

If I can pass xercesImpl 2.9.1 to the plugin I will fix this problem.

En espaƱol. Teniamos este error y lo solucionamos agregando xercesImpl como
dependencia en el proyecto y en el plugin. Pero el tema es como hacemos para
pasarle xerces al plugin de eclipse. Es como que toma un parseador SAX viejo
y no funciona, pero si tomara xerces funciona.

<?xml version="1.0" encoding="UTF-8"?>
<module rename-to='embalajeApp'>
<!-- Inherit the core Web Toolkit stuff. -->
<inherits name='com.google.gwt.user.User' />
<inherits name="com.google.gwt.i18n.I18N" />
<inherits name='com.google.gwt.user.theme.standard.Standard' />

<!-- Other module inherits -->
<inherits name="com.google.gwt.activity.Activity" />
<inherits name="com.google.gwt.place.Place" />
<!-- GIN: DI para JavaScript -->
<inherits name="com.google.gwt.inject.Inject" />
<!-- Gwt dispatch -->
<inherits name='net.customware.gwt.dispatch.Dispatch' />

<!-- javax.inject -->
<inherits name='javax.JSR330' />

<!-- validation framework -->
<inherits name='eu.maydu.gwt.validation.ValidationLibrary' />

<!-- Specify the app entry point class. -->
<entry-point
class='...........' />

<!-- Specify the paths for translatable code -->
<source path='client' />
<source path='shared' />

<!-- Spanish language, independent of country -->
<extend-property name="locale" values="es_AR"/>
 <set-property name="locale" value="es_AR" />

<!-- THIS LINE IS ADDED FOR DEBUGGING PURPOSE -->
<set-configuration-property name="CssResource.style" value="pretty"/>
</module>



2011/6/29 Gal Dolber <gal.dol...@gmail.com>

> Can you copy&paste the gwt module file that its failing? It should be
> gov.senasa.embalajemadera.EmbalajeMadera.gwt.xml
>
> On Wed, Jun 29, 2011 at 12:24 PM, Juan Pablo Gardella <
> gardellajuanpa...@gmail.com> wrote:
>
>> Any ideas?
>>
>>
>> 2011/6/29 Juan Pablo Gardella <gardellajuanpa...@gmail.com>
>>
>>> Hi folks,
>>>
>>> When run in Eclipse an GWT application show me an error (only in a Mac).
>>> This error I can fix in maven when add xercesImpl 2.9.1 as depedency in the
>>> project and in the plugins. But in eclipse I don't know how resolve.
>>>
>>> Enviroment:
>>>
>>> Apache Maven 2.2.1 (r801777; 2009-08-06 16:16:01-0300)
>>> Java version: 1.6.0_24
>>> Java home:
>>> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
>>> Default locale: en_US, platform encoding: MacRoman
>>> OS name: "mac os x" version: "10.6.8" arch: "i386" Family: "mac"
>>>
>>> Error:
>>>
>>> 2011-06-29 00:04:22.908 java[20592:903] [Java CocoaComponent
>>> compatibility mode]: Enabled
>>> 2011-06-29 00:04:22.912 java[20592:903] [Java CocoaComponent
>>> compatibility mode]: Setting timeout for SWT to 0.100000
>>> [WARN] Unable to process 'file:/Users/XXXX/WEB-INF/web.xml' for servlet
>>> validation
>>> org.xml.sax.SAXNotRecognizedException: unrecognized feature
>>> http://apache.org/xml/features/nonvalidating/load-external-dtd
>>>     at org.gjt.xpp.sax2.Driver.setFeature(Driver.java:178)
>>>     at
>>> org.gjt.xpp.jaxp11.SAXParserImpl.setFeatures(SAXParserImpl.java:149)
>>>     at org.gjt.xpp.jaxp11.SAXParserImpl.<init>(SAXParserImpl.java:132)
>>>     at
>>> org.gjt.xpp.jaxp11.SAXParserFactoryImpl.newSAXParserImpl(SAXParserFactoryImpl.java:114)
>>>     at
>>> org.gjt.xpp.jaxp11.SAXParserFactoryImpl.setFeature(SAXParserFactoryImpl.java:142)
>>>     at
>>> com.google.gwt.dev.ServletValidator.create(ServletValidator.java:188)
>>>     at
>>> com.google.gwt.dev.ServletValidator.create(ServletValidator.java:172)
>>>     at com.google.gwt.dev.DevMode.doStartup(DevMode.java:426)
>>>     at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1045)
>>>     at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:804)
>>>     at com.google.gwt.dev.DevMode.main(DevMode.java:309)
>>> Loading modules
>>>    gov.senasa.embalajemadera.EmbalajeMadera
>>>       [ERROR] Failure while parsing XML
>>> org.xml.sax.SAXNotRecognizedException: unrecognized feature
>>> http://apache.org/xml/features/nonvalidating/load-external-dtd
>>>     at org.gjt.xpp.sax2.Driver.setFeature(Driver.java:178)
>>>     at
>>> org.gjt.xpp.jaxp11.SAXParserImpl.setFeatures(SAXParserImpl.java:149)
>>>     at org.gjt.xpp.jaxp11.SAXParserImpl.<init>(SAXParserImpl.java:132)
>>>     at
>>> org.gjt.xpp.jaxp11.SAXParserFactoryImpl.newSAXParserImpl(SAXParserFactoryImpl.java:114)
>>>     at
>>> org.gjt.xpp.jaxp11.SAXParserFactoryImpl.setFeature(SAXParserFactoryImpl.java:142)
>>>     at
>>> com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:324)
>>>     at
>>> com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100(ReflectiveParser.java:48)
>>>     at
>>> com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:402)
>>>     at
>>> com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:280)
>>>     at
>>> com.google.gwt.dev.cfg.ModuleDefLoader$1.load(ModuleDefLoader.java:192)
>>>     at
>>> com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:308)
>>>     at
>>> com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:151)
>>>     at com.google.gwt.dev.DevModeBase.loadModule(DevModeBase.java:979)
>>>     at com.google.gwt.dev.DevMode.loadModule(DevMode.java:548)
>>>     at com.google.gwt.dev.DevMode.doStartup(DevMode.java:436)
>>>     at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1045)
>>>     at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:804)
>>>     at com.google.gwt.dev.DevMode.main(DevMode.java:309)
>>>       [ERROR] Unexpected error while processing XML
>>> com.google.gwt.core.ext.UnableToCompleteException: (see previous log
>>> entries)
>>>     at
>>> com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:355)
>>>     at
>>> com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100(ReflectiveParser.java:48)
>>>     at
>>> com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:402)
>>>     at
>>> com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:280)
>>>     at
>>> com.google.gwt.dev.cfg.ModuleDefLoader$1.load(ModuleDefLoader.java:192)
>>>     at
>>> com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:308)
>>>     at
>>> com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:151)
>>>     at com.google.gwt.dev.DevModeBase.loadModule(DevModeBase.java:979)
>>>     at com.google.gwt.dev.DevMode.loadModule(DevMode.java:548)
>>>     at com.google.gwt.dev.DevMode.doStartup(DevMode.java:436)
>>>     at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1045)
>>>     at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:804)
>>>     at com.google.gwt.dev.DevMode.main(DevMode.java:309)
>>> [ERROR] shell failed in doStartup method
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>
>
> --
> Guit: Elegant, beautiful, modular and *production ready* gwt applications.
>
> http://code.google.com/p/guit/
>
>
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to