Results 1 to 3 of 3
  1. #1
    trust is offline Member
    Join Date
    Jul 2009
    Posts
    9
    Rep Power
    0

    Default Gwt how to import external gar?

    Gwt, how to import external jar? I have Exception No source code is available for type "my class"; did you forget to inherit a required module?

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Add the jar file in to the class path and import it in your application.

    Are you working on any IDEs? Most of the IDEs do that for you.

  3. #3
    trust is offline Member
    Join Date
    Jul 2009
    Posts
    9
    Rep Power
    0

    Default

    Ide Eclipse, i import import org.apache.xmlrpc.client.XmlRpcClientConfigImpl;bu t i have exception
    Java Code:
    Compiling module com.Chart_Test
       Refreshing module from source
          Validating newly compiled units
             Removing units with errors
                [ERROR] Errors in 'file:/F:/Example%20JAVA/Chart_Test/src/com/client/Chart_Test.java'
                   [ERROR] Line 14: No source code is available for type org.apache.xmlrpc.client.XmlRpcClientConfigImpl; did you forget to inherit a required module?
       Computing all possible rebind results for 'com.client.Chart_Test'
          Rebinding com.client.Chart_Test
             Checking rule <generate-with class='com.google.gwt.user.rebind.ui.ImageBundleGenerator'/>
                [ERROR] Unable to find type 'com.client.Chart_Test'
                   [ERROR] Hint: Previous compiler errors may have made this type unavailable
                   [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly

Similar Threads

  1. external library help
    By SIAS87 in forum Java Applets
    Replies: 0
    Last Post: 03-28-2009, 03:12 PM
  2. Executing external command through JSP
    By rudranee in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 03-21-2009, 09:22 AM
  3. External DTD requirements
    By jwilley44 in forum XML
    Replies: 0
    Last Post: 03-06-2009, 09:25 PM
  4. How to execute external EXE?
    By 2bGeek in forum AWT / Swing
    Replies: 3
    Last Post: 02-21-2009, 12:59 AM
  5. Howto force to use an external jar
    By riccardo_b in forum Eclipse
    Replies: 0
    Last Post: 12-11-2008, 10:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •