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 9189791
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T20:18:50+00:00 2026-06-17T20:18:50+00:00

I have a jar file with source code packed. i inserted the jar in

  • 0

I have a jar file with source code packed.

i inserted the jar in war/WEB-INF/lib/xxx.jar Add to build path

but when i run the project i got an error

Edited Added gwt.xml

  <module rename-to='bookmanagementsystem'>

  <inherits name='com.google.gwt.user.User'/>
  <inherits name='com.google.gwt.user.theme.standard.Standard'/>
  <inherits name='com.example.Book'></inherits>
  <entry-point class='com.example.Book.client.Index'/>  
  
</module>

Edited

I solved
Plugin failed to connect to Development Mode server at 127.0.0.1:9997

Now i got a problem

Loading inherited module 'com.example.book'
         [ERROR] Unable to find 'com/example/book.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
      [ERROR] Line 6: Unexpected exception while processing element 'inherits'
  • 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-06-17T20:18:52+00:00Added an answer on June 17, 2026 at 8:18 pm

    If you want to include external jar to GWT then make sure you did the following

    1. check the jar has .gwt.xml file and it must specify the source.
    2. add it to lib folder
    3. configure build path and add jar to libraries
    4. select the jar from Order and Export
    5. inherits this module in your .gwt.xml file

    Eg. if you have a package in jar named “sample.source” and your .gwt.xml file in jar is “Source.gwt.xml” and this .gwt.xml file in “sample” folder and classes or entities in “source” folder

    Then your current project must inherits it. ie it must have the following tag

     <inherits name='sample.Source'/>
    

    Eg :
    Sorce.gwt.xml in jar file

    <module>
     <source path="">
     <include name="**/MyEntity.java"/>
     </source>
    </module>
    

    For reference :http://jonathan.lalou.free.fr/?p=1077

    GWT is not supporting serialization in client side so try to use RPC and use these classes from jar in server or you just copy the packages of jar and add to src of gwt project.

    OR

    I solved the problem the jar files must have java source code along with class files or pack java source code into jar and use.

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

Sidebar

Related Questions

I have a JAR-file in the WEB-INF/lib directory of my project that is displayed
I have a jar file that contains source code. How can I browse this
I have a jar file but unfortunately I lost source code due to my
I have a compiled Java Application (.jar file extension, no source code) which will
I have a jar file which I do not have the source code but
I have a jar file that I want to put in the shared lib
That is when you have any jar file attached to you your class path.
Where can I find the jar file or the source code of JEE6? Or
I have a external jar file named xxx.jar. I use xxx.jar in my GWT
I have a 3rd party .dll file and its source code as well (

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.