Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7562645
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T13:27:39+00:00 2026-05-30T13:27:39+00:00

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

  • 0

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—

UPDATE–

 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

Given below is a list of errors that were occurring previously, these got eliminated by going to Project Preferences->Validation-> Disabling XML validation. (These were part of the original question- I have updated this question now that I have resolved the problems due to the below errors myself…)

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   

What am I doing wrong here?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T13:27:40+00:00Added an answer on May 30, 2026 at 1:27 pm

    Make sure you are compiling the code as a GWT application and not as a pure Java one. To do so you have two options. Either compile your app and use an external web server or run/debug your application through the embedded to Eclipse Jetty web server. For the former, just look at your toolbar and locate a blue g button. Click its arrow marker and select the GWT Compile Project option. Finally, just copy the project’s war directory, after the successful compilation to the server’s service directory. For the latter, right click on the project and select the Run/Debug As -> Web Application option. Then you will be provided with a link that you can copy paste in a browser and test your application.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I followed the instructions in the Android WebView tutorial (at http://developer.android.com/resources/tutorials/views/hello-webview.html ). When I
I have followed all the instructions here: http://www.tonyspencer.com/2003/10/22/curl-with-php-and-apache-on-windows/ to install & config apache get
I have followed the instructions here: http://help.github.com/win-set-up-git/ to set up git on my windows
I have followed the instructions on http://railscasts.com/episodes/147-sortable-lists for creating a sortable list. The list
I have followed the instructions found at http://code.google.com/p/pubsubhubbub/wiki/DeveloperGettingStartedGuide to setup a hub. When I
I followed these instructions here: http://logback.qos.ch/consolePlugin.html I have the correct and found logback.xml, it
I followed instructions on http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/ and succesfully inserted sqlite database on android device so
I have problem with uploading files. I followed these instructions: http://symfony.com/doc/current/cookbook/doctrine/file_uploads.html and everything is
Admob code can't see on device. I followed the instructions here: http://www.admob.com/docs/AdMob_Android_SDK_Instructions.pdf everything ok,
I followed the instructions at http://code.google.com/webtoolkit/usingeclipse.html#compiling to compile and then open my html file

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.