Hi,

I am trying to use a dependent project (for the model layer) in my GWT
project. I am using Jdeveloper as the IDE and have two projects in my
application namely:

1.) GwtProject
2.) Model

I can compile, build and run the GwtProject successfully as long as I
don't set the dependent projects as Model in it. When I set my Model
project as the dependent project for GwtProject I start getting this
error in the hosted mode.


[TRACE] Module location: file:/C:/utilities/code.personal/gwt-
windows-1.6.4/Application1/GwtProject/war/WEB-INF/classes/com/path1/
path2/GwtProject.gwt.xml

[ERROR] Failure while parsing XML
org.xml.sax.SAXNotRecognizedException: 
http://apache.org/xml/features/nonvalidating/load-external-dtd
        at oracle.xml.jaxp.JXSAXParserFactory.setFeature
(JXSAXParserFactory.java:128)
        at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse
(ReflectiveParser.java:307)
        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:385)
        at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad
(ModuleDefLoader.java:243)
        at com.google.gwt.dev.cfg.ModuleDefLoader$1.load(ModuleDefLoader.java:
155)
        at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule
(ModuleDefLoader.java:269)
        at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath
(ModuleDefLoader.java:127)
        at com.google.gwt.dev.HostedModeBase.loadModule(HostedModeBase.java:
536)
        at com.google.gwt.dev.HostedMode.loadModule(HostedMode.java:426)
        at com.google.gwt.dev.HostedMode.doStartup(HostedMode.java:351)
        at com.google.gwt.dev.HostedModeBase.startUp(HostedModeBase.java:585)
        at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:397)
        at com.google.gwt.dev.HostedMode.main(HostedMode.java:232)


Adding 'Model' as the dependent project does not make any changes in
my GwtProject.gwt.xml file but still it throws up this error pointing
to the module xml file.

I have been through some of the similar posts in the forum,
recommending making a jar out of the second project and adding it to
the GwtProject, but I don't intend to follow that route, because that
would mean deploying my Model project to jar file everytime I make a
change in the project which is still under development.

Can anyone please point the error in the whole process?

Thanks,
Shishir


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

Reply via email to