1. #1
    Sencha User puja_wijaksono's Avatar
    Join Date
    Sep 2011
    Location
    Jakarta
    Posts
    6
    Vote Rating
    0
    puja_wijaksono is on a distinguished road

      0  

    Default Unanswered: No source code is available for type.. ; did you forget to inherit a required module?

    Unanswered: No source code is available for type.. ; did you forget to inherit a required module?


    Hello everyone,

    I just wanna ask about error message that I've got.. maybe one of you have experienced the same problem like this message. Share with me please.. what's wrong about it??
    This is it..:

    [ERROR] Errors in 'file:/E:/trunk/WebDesktop2/src/com/extjs/gxt/samples/desktop/server/CustomerEntryImpl.java'
    [ERROR] Line 25: No source code is available for type com.google.gwt.user.server.rpc.RemoteServiceServlet; did you forget to inherit a required module?
    [ERROR] Line 33: No source code is available for type java.sql.Connection; did you forget to inherit a required module?
    [ERROR] Line 34: No source code is available for type java.sql.Statement; did you forget to inherit a required module?
    [ERROR] Line 40: No source code is available for type java.sql.ResultSet; did you forget to inherit a required module?
    [ERROR] Line 67: No source code is available for type java.sql.PreparedStatement; did you forget to inherit a required module?
    [ERROR] Line 815: No source code is available for type java.text.DecimalFormat; did you forget to inherit a required module?
    [ERROR] Line 898: No source code is available for type java.sql.SQLException; did you forget to inherit a required module?
    [ERROR] Line 1472: No source code is available for type java.sql.Types; did you forget to inherit a required module?

    Thanks in advice

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,734
    Vote Rating
    90
    Answers
    109
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    From your error it appears you are trying to use the CustomerEntryImpl class from the client side code, even though that class is in the server package. That class extends a servlet (RemoteServiceServlet), and web browsers cannot run servlets.

    Check your module files to make sure you are not adding <source> tags to point to any package which has server code in it, and make sure not to reference server classes from your client code.

Thread Participants: 1