1. #1
    Sencha User
    Join Date
    Jul 2011
    Posts
    15
    Vote Rating
    0
    dreadnaxt is on a distinguished road

      0  

    Default Unanswered: GXT 3.0.0-RC classpath problem

    Unanswered: GXT 3.0.0-RC classpath problem


    Hey guys, I spent about 3h today trying to solve this problem, but still w/o any success. I added gxt-3.0.0-rc.jar from the zip file to dependencies path and also to class path for run app. The project compiles w/o any errors (so it can see dependency), but when I start run-gwt-client, i'm getting the following error:
    Unable to find 'com/sencha/gxt/ui/GXT.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?

    Which indicates as i got insufficience of dependencie, or typo. I also tried to get GXT from sonatype repository, but there's only gxt-parent available and in that case there's nothing to ingerit.

    Could you please give an adveise where to put my effort? Need to start completely new project basing on gxt 3.0, but this thing delays it.

    (Using GXT 2.2.5 was causing no troubles at that point)

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,734
    Answers
    109
    Vote Rating
    90
    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


    If you are using maven, can you share the pom you are using? All of GXT is in maven central, see http://search.maven.org/#search%7Cga....sencha.gxt%22 for the available artifacts. For a working sample project using RC, take a look at https://github.com/niloc132/SenchaConSnake.

    If not using maven, can you explain what you mean by 'when I start run-gwt-client'? Is that an eclipse run configuration, and if so, is GXT on the classpath of that run config? If you added GXT 3 to the classpath after that run config was created, it might not have it by default.

  3. #3
    Sencha User
    Join Date
    Jul 2011
    Posts
    15
    Vote Rating
    0
    dreadnaxt is on a distinguished road

      0  

    Default


    Hey, Collin!

    Thank you for your reply!
    We're using maven, but for deployed versions. For developing we're working with Grails 2.0 and GXT. This run-gwt-client comes from Grails. Currently I'm switching to IntelliJ Idea, but I also tried this with Eclipse. So yes, it's run configuration in Eclips (Idea). I provide the classpath for this run-gwt-client configuration. Tomorrow I'll try to play a bit taking in account what you said about classpath and configuration.

  4. #4
    Sencha User
    Join Date
    Jul 2011
    Posts
    15
    Vote Rating
    0
    dreadnaxt is on a distinguished road

      0  

    Default


    So, finally the problem was in Grails BuildConfig, there should be a line

    Code:
    gwt.use.provided.deps = true
    Then it takes in account all provided libs, because at some point it was not only with GXT.

Thread Participants: 1