Hello,
I am trying to evaluate the SmartGWT Pro version (2.4), so I downloaded the evaluation version, and now I want to integrate it to an existing smartgwt LPGL project.
I followed the instructions here:
http://www.smartclient.com/smartgwte...wtEESetup.html
When I update my modulename.gwt.xml with:
everything runs fine.
But since I am only interested in the "pro" version, I replaced that with:
but I get this error:
[ERROR] Unable to find 'com/smartgwtpro/SmartGwtPro.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
the whole error stack:
here is my modulename.gwt.xml:
what am I doing wrong?
Thanks!
I am trying to evaluate the SmartGWT Pro version (2.4), so I downloaded the evaluation version, and now I want to integrate it to an existing smartgwt LPGL project.
I followed the instructions here:
http://www.smartclient.com/smartgwte...wtEESetup.html
When I update my modulename.gwt.xml with:
Code:
<inherits name="com.smartgwtee.SmartGwtEE"/> <inherits name="com.smartgwtee.tools.Tools"/>
But since I am only interested in the "pro" version, I replaced that with:
Code:
<inherits name="com.smartgwtpro.SmartGwtPro"/> <inherits name="com.smartgwtpro.tools.Tools"/>
[ERROR] Unable to find 'com/smartgwtpro/SmartGwtPro.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
the whole error stack:
Code:
Loading modules zedes2.Zedes2 Loading inherited module 'com.smartgwtpro.SmartGwtPro' [ERROR] Unable to find 'com/smartgwtpro/SmartGwtPro.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? [ERROR] Line 7: Unexpected exception while processing element 'inherits' com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries) at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:248) at com.google.gwt.dev.cfg.ModuleDefSchema$BodySchema.__inherits_begin(ModuleDefSchema.java:413) at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:230) at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.java:274) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:331) 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:266) at com.google.gwt.dev.cfg.ModuleDefLoader$1.load(ModuleDefLoader.java:178) at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:294) at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:147) at com.google.gwt.dev.DevModeBase.loadModule(DevModeBase.java:973) at com.google.gwt.dev.DevMode.loadModule(DevMode.java:482) at com.google.gwt.dev.DevMode.doSlowStartup(DevMode.java:372) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1081) at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:795) at com.google.gwt.dev.DevMode.main(DevMode.java:282) [ERROR] Failure while parsing XML com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries) at com.google.gwt.dev.util.xml.DefaultSchema.onHandlerException(DefaultSchema.java:58) at com.google.gwt.dev.util.xml.Schema.onHandlerException(Schema.java:66) at com.google.gwt.dev.util.xml.Schema.onHandlerException(Schema.java:66) at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:240) at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.java:274) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:331) 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:266) at com.google.gwt.dev.cfg.ModuleDefLoader$1.load(ModuleDefLoader.java:178) at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:294) at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:147) at com.google.gwt.dev.DevModeBase.loadModule(DevModeBase.java:973) at com.google.gwt.dev.DevMode.loadModule(DevMode.java:482) at com.google.gwt.dev.DevMode.doSlowStartup(DevMode.java:372) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1081) at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:795) at com.google.gwt.dev.DevMode.main(DevMode.java:282) [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:266) at com.google.gwt.dev.cfg.ModuleDefLoader$1.load(ModuleDefLoader.java:178) at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:294) at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:147) at com.google.gwt.dev.DevModeBase.loadModule(DevModeBase.java:973) at com.google.gwt.dev.DevMode.loadModule(DevMode.java:482) at com.google.gwt.dev.DevMode.doSlowStartup(DevMode.java:372) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1081) at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:795) at com.google.gwt.dev.DevMode.main(DevMode.java:282) [ERROR] shell failed in doSlowStartup method
Code:
<?xml version="1.0" encoding="UTF-8"?> <module rename-to='zedes2'> <!-- Inherit the core Web Toolkit stuff. --> <inherits name='com.google.gwt.user.User'/> <inherits name='com.google.gwt.inject.Inject'/> <inherits name="com.google.gwt.uibinder.UiBinder" /> <inherits name="com.smartgwtpro.SmartGwtPro"/> <inherits name="com.smartgwtpro.tools.Tools"/> <!-- Inherit the default GWT style sheet. You can change --> <!-- the theme of your GWT application by uncommenting --> <!-- any one of the following lines. --> <inherits name='com.google.gwt.user.theme.standard.Standard'/> <!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> --> <!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/> --> <!-- Other module inherits --> <inherits name='com.gwtplatform.mvp.Mvp' /> <inherits name='com.gwtplatform.dispatch.Dispatch' /> <inherits name="com.smartclient.theme.enterpriseblue.EnterpriseBlue"/> <inherits name="com.smartclient.theme.enterpriseblue.EnterpriseBlueResources"/> <!-- Specify the app entry point class. --> <entry-point class='zedes2.client.Zedes2'/> <!-- Specify the paths for translatable code --> <source path='client'/> <source path='shared'/> <!-- Set user agents --> <set-property name="user.agent" value="gecko1_8"/> <!-- In any real-world application, you will define at least --> <!-- one locale in addition to the default locale. --> <extend-property name="locale" values="en"/> <define-configuration-property name="gin.ginjector" is-multi-valued="false" /> <set-configuration-property name="gin.ginjector" value="zedes2.client.gin.MyGinjector" /> </module>
Thanks!
Comment