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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T02:59:51+00:00 2026-06-17T02:59:51+00:00

Before migrating to maven, we used Ant and there were no problems with launching

  • 0

Before migrating to maven, we used Ant and there were no problems with launching Dev Mode from under IntelliJ IDEA. But now the project is under Maven. So I made, I think, all needed configuration, and when I run debugger I see login page, but after logging in I receive the following error:

[ERROR] Resource img/remove_filter_btn.png not found. Is the name specified as Class.getResource() would expect?

Here is how I use resource:

public interface Resources extends ClientBundle {

    @Source("img/remove_filter_btn.png")
    ImageResource removeBtn();
}

The project structure is the following:

Module
|--Submodule
|  |--src
|  | |--main
|  | | |--java
|  | |   |--package
|  | |     |--class
|  | |--webapp
|  |   |--img
|  |     |--remove_filter_btn.png
|  |--target
|    |--ROOT
|      |--img
|        |--remove_filter_btn.png
|--utils
   |--tomcat
      |--webapps
         |--ROOT
            |--img
               |--remove_filter_btn.png

War file is launched in tomcat that is located in utils folder.

In fact, I don’t know where GWT looks for this resource. Maybe there’s a solution on how to get the point where GWT starts looking resources for?

At the moment this is the only question because i think that it is the only left issue before debug would start working.

  • 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-17T02:59:53+00:00Added an answer on June 17, 2026 at 2:59 am

    The images consumed by ClientBundle into ImageResources are expected to be in the source tree, not in the external web resources (i.e. in target/ or webapp/).

    When you write

    package my.project.something.client
    //...
    public interface Resources extends ClientBundle {
        @Source("img/remove_filter_btn.png")
        ImageResource removeBtn();
    }
    

    you are telling ClientBundle that it can find the image at src/my/project/something/client/img/remove_filter_btn.png.

    Keep in mind that the purpose of ClientBundle isn’t just to wrap up pathname strings so they can be easily used in code, but to actually compile the image into your app. In the case of small images, it will often actually put the entire image into the app so there is no need for any spriting at all. Even if this isn’t possible, it will still rewrite the images so they can be cached forever by the browser, and try to optimize them to not use any more space than actually needed.

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

Sidebar

Related Questions

I'm working on migrating code from Visual Basic 6 to Visual Basic.NET, but before
We're currently migrating from SVN to TFS; Today there are Trunks, Branches and Tags
We're eventually migrating an application to SQL Server 2008, but before we do that,
When migrating the app from M/S datastore to HRD there are certain pitfalls to
I'm migrating from Passenger to Unicorn, and with Passenger I used to run my
I'm testing out the backup and restore of TFS, before migrating to it for
After migrating my Drupal (6.16) installation from shared hosting to Linode VPS (Ubunto 10.04
I am migrating some C++ code from structures to classes. I was using structures
Has anyone tried migrating from ScrewTurn to Confluence ? I'm hoping that I can
I've got a Guava Cache (or rather, I am migrating from MapMaker to Cache

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.