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

  • Home
  • SEARCH
  • 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 6198907
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T04:05:42+00:00 2026-05-24T04:05:42+00:00

I am trying to use : http://code.google.com/p/jspf/ within a GWT framework. I know that

  • 0

I am trying to use : http://code.google.com/p/jspf/ within a GWT framework. I know that GWT needs source of the included classes. I have placed the code for jspf in my {SRC_DIR} and my build.xml contains this entry:

 <path id="project.class.path">
    <pathelement location="${basedir}/src" />
        <fileset dir="${war_lib_dir}" includes="**/*.jar" />
    <pathelement location="${javac_precompile_classes_dir}" />
 </path>

But when I run the ant task, it fails with :

[echo] Starting GWTC
    [java] Compiling module com.x.y.z
    [java]    Validating newly compiled units
    [java]       [ERROR] Errors in 'file:/u/v/XyzClass.java'
    [java]          [ERROR] Line 201: No source code is available for type net.xeoh.plugins.base.util.JSPFProperties; did you forget to inherit a required module?
    [java]          [ERROR] Line 203: No source code is available for type net.xeoh.plugins.base.PluginManager; did you forget to inherit a required module?
    [java]          [ERROR] Line 208: No source code is available for type net.xeoh.plugins.base.impl.PluginManagerFactory; did you forget to inherit a required module?
    [java]          [ERROR] Line 209: No source code is available for type net.xeoh.plugins.base.util.uri.ClassURI; did you forget to inherit a required module?
    [java]          [ERROR] Line 211: No source code is available for type com.netapp.sysmgr.plugin.SysmgrPlugin; did you forget to inherit a required module?
    [java]    Finding entry point classes

Snippet from build.xml

<target name="javac" depends="libs" description="Compile server java source and any other required files">
<echo>Compiling server source</echo>
<mkdir dir="${war_classes_dir}" />
<javac srcdir="${basedir}/src" includes="**/server/**/*.java" encoding="utf-8" destdir="${war_classes_dir}"
    source="1.5" target="1.5" nowarn="true" debug="true" debuglevel="lines,vars,source">
    <classpath>
        <path refid="project.class.path" />
    </classpath>
</javac>
<echo>Pre-compiling vendor specific source</echo>
<mkdir dir="${javac_precompile_classes_dir}" />
<javac srcdir="${basedir}/src" includes="**/vendor/**/*.java" encoding="utf-8" destdir="${javac_precompile_classes_dir}"
    source="1.5" target="1.5" nowarn="true" debug="true" debuglevel="lines,vars,source">
    <classpath refid="project.class.path" />
</javac>

  • 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-24T04:05:44+00:00Added an answer on May 24, 2026 at 4:05 am

    GWT needs the sources because it compiles it to JavaScript. The errors are because you have used source code in the client side of your application that isn’t organized in a module file (.gwt.xml file) or you didn’t inherit the module file. This is what the error refers to: did you forget to inherit a required module. Just adding the sources will not help GWT to find the sources, there must be a module file too.

    To be able to use those sources there must be a module file present or you must create on yourself and inherit it in your module file. Here is the documentation on modules: http://code.google.com/intl/nl-NL/webtoolkit/doc/1.6/DevGuideOrganizingProjects.html#DevGuideModules Although the documentation is somewhat brief on how to create your own module file for this situation.

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

Sidebar

Related Questions

No related questions found

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.