Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    beginner at smart gwt- getting multiple errors when i try to create a simple UI

    I have followed the instructions at http://www.javacodegeeks.com/2011/01/advanced-smartgwt-tutorial-part-1.html and tried to create a simple screen that uses Smart GWT.

    I have also combined this with a popup window that is basically to allow the user to sign in via Oauth- it is invoked with a single line of code from the main window of browser.

    When I try to build this project in Eclipse, I am getting the following errors---

    Description Resource Path Location Type

    Content is not allowed in prolog. DBListDS.ds.xml /Spark Crawler/WebContent/com.google.api.gwt.oauth2.script.OAuth2Script/sc/schema line 1 XML
    Content is not allowed in prolog. DBSchema.ds.xml /Spark Crawler/WebContent/com.google.api.gwt.oauth2.script.OAuth2Script/sc/schema line 1 XML
    Content is not allowed in prolog. DataSource.ds.xml /Spark Crawler/WebContent/com.google.api.gwt.oauth2.script.OAuth2Script/sc/schema line 1 XML
    Content is not allowed in prolog. DataSourceField.ds.xml /Spark Crawler/WebContent/com.google.api.gwt.oauth2.script.OAuth2Script/sc/schema line 1 XML
    Content is not allowed in prolog. DataSourceStore.ds.xml /Spark Crawler/WebContent/com.google.api.gwt.oauth2.script.OAuth2Script/sc/schema line 1 XML
    Content is not allowed in prolog. JVMClassTreeDS.ds.xml /Spark Crawler/WebContent/com.google.api.gwt.oauth2.script.OAuth2Script/sc/schema line 1 XML
    Content is not allowed in prolog. QuartzJobs.ds.xml /Spark Crawler/WebContent/com.google.api.gwt.oauth2.script.OAuth2Script/sc/schema line 1 XML
    Content is not allowed in prolog. QuartzScheduler.ds.xml /Spark Crawler/WebContent/com.google.api.gwt.oauth2.script.OAuth2Script/sc/schema line 1 XML
    Content is not allowed in prolog. QuartzTriggers.ds.xml /Spark Crawler/WebContent/com.google.api.gwt.oauth2.script.OAuth2Script/sc/schema line 1 XML
    Content is not allowed in prolog. SchemaSet.ds.xml /Spark Crawler/WebContent/com.google.api.gwt.oauth2.script.OAuth2Script/sc/schema line 1 XML
    Content is not allowed in prolog. SimpleType.ds.xml /Spark Crawler/WebContent/com.google.api.gwt.oauth2.script.OAuth2Script/sc/schema line 1 XML
    Content is not allowed in prolog. Validator.ds.xml /Spark
    Crawler/WebContent/com.google.api.gwt.oauth2.script.OAuth2Script/sc/schema line 1 XML
    Content is not allowed in prolog. WSDLMessage.ds.xml /Spark Crawler/WebContent/com.google.api.gwt.oauth2.script.OAuth2Script/sc/schema line 1 XML
    Content is not allowed in prolog. WSOperationHeader.ds.xml /Spark Crawler/WebContent/com.google.api.gwt.oauth2.script.OAuth2Script/sc/schema line 1 XML
    Content is not allowed in prolog. WebService.ds.xml /Spark Crawler/WebContent/com.google.api.gwt.oauth2.script.OAuth2Script/sc/schema line 1 XML
    Content is not allowed in prolog. WebServiceOperation.ds.xml /Spark Crawler/WebContent/com.google.api.gwt.oauth2.script.OAuth2Script/sc/schema line 1 XML
    Content is not allowed in prolog. XSComplexType.ds.xml /Spark Crawler/WebContent/com.google.api.gwt.oauth2.script.OAuth2Script/sc/schema line 1 XML
    Content is not allowed in prolog. XSElement.ds.xml /Spark Crawler/WebContent/com.google.api.gwt.oauth2.script.OAuth2Script/sc/schema line 1 XML Internal validation error java.lang.ArrayIndexOutOfBoundsException
    ISC_DataBinding.js /Spark Crawler/WebContent/com.google.api.gwt.oauth2.script.OAuth2Script/sc/modules line 0 JavaScript Problem


    What am I doing wrong here? I am using Smart GWT v3.0 GPL Edition.

    Thanks,
    Arvind.

    #2
    I just changed the processing settings for XML documents from Errors to Warnings in Project->Preferences->Validation.

    Now the only error remaining is gwt error lava.lang.arrayindexoutofbounds exception

    How do I determine why and where this error is occurring, so that I can resolve it?

    Thanks,
    Arvind.

    Comment

    Working...
    X