1. #1
    Ext User
    Join Date
    Aug 2010
    Posts
    4
    Vote Rating
    0
    ygrenzinger is on a distinguished road

      0  

    Default GXT 2.2.0 and GWT Eclipse plugin - Errors when validating newly compiled units

    GXT 2.2.0 and GWT Eclipse plugin - Errors when validating newly compiled units


    Hello,

    I use GWT plugin from Google in hosted mode.
    With GXT 2.1.1 no problem.

    But with GXT 2.2.0 just released I have lots of error when displaying the page :
    17:07:47.518 [DEBUG] [com.cie1818.ariane.ihm.Ariane] Validating newly compiled units
    17:07:47.518 [ERROR] [com.cie1818.ariane.ihm.Ariane] Errors in 'jar:file:/D:/dev/sources/Ariane/trunk/ArianeIhmGXT/src/main/webapp/WEB-INF/lib/gxt.jar!/com/extjs/gxt/ui/client/aria/ToolBarHandler.java'
    17:07:47.533 [ERROR] [com.cie1818.ariane.ihm.Ariane] Line 36: The method firstActive(PagingToolBar) is undefined for the type ToolBarHandler
    etc etc

    17:07:48.002 [ERROR] [com.cie1818.ariane.ihm.Ariane] Errors in 'jar:file:/D:/dev/sources/Ariane/trunk/ArianeIhmGXT/src/main/webapp/WEB-INF/lib/gxt.jar!/com/extjs/gxt/ui/client/widget/grid/filters/Filter.java'
    17:07:48.018 [ERROR] [com.cie1818.ariane.ihm.Ariane] Line 119: Events.Serialize cannot be resolved
    etc etc

    There is number of "errors" like this.
    However the application seems to work fine.

    Any tips where it could come from ?

    Thanks,
    Yannick

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Are you sure that you updated the gxt.jar everywhere you reference it?

  3. #3
    Ext User
    Join Date
    Aug 2010
    Posts
    4
    Vote Rating
    0
    ygrenzinger is on a distinguished road

      0  

    Default


    "Are you sure that you updated the gxt.jar everywhere you reference it? "

    Really sure (dependancy managed by maven)
    I'm using gwt 2.0.3 and Eclipse 3.5

  4. #4
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Well, there error could indicate that you havent. Events.Serialize is there in the Events class. So an error that it cannot find the event could be that you are using an old gxt.jar somewhere, that does not ahve this event.

    Also you are using maven, i would really doublecheck this. Never trust a system to be perfect. You can also try to clean your workspace.

  5. #5
    Sencha User
    Join Date
    Oct 2010
    Posts
    2
    Vote Rating
    0
    pullo is on a distinguished road

      0  

    Default


    check for other gxt*.jars in your eclipse classpath. I had the same error. I had gxt.jar (2.1.1) and gxt-2.2.1.jar in my classpath ( in eclipse , go to debug configuration , classpath tab). removing gxt.jar solved the problem.
    gxt.jar (2.1.1) contains some of the same classes as gxt-2.2.1.jar , but with different access specifiers for the methods. for me the classes in gxt.jar were getting loaded and not the classes on gxt2.2.1, and hence this issue.
    -pullo

Similar Threads

  1. Available - GXT with GWT (on Eclipse) tutorial
    By rajs1 in forum Ext GWT: Discussion
    Replies: 0
    Last Post: 10 Jul 2010, 4:26 AM
  2. Hot Deploy GXT with Eclipse GWT Plugin
    By locutusUT in forum Ext GWT: Discussion
    Replies: 2
    Last Post: 16 Jun 2010, 1:12 PM
  3. How to setup gxt with google plugin for eclipse?
    By fredcn in forum Ext GWT: Discussion
    Replies: 2
    Last Post: 2 Jul 2009, 8:49 PM

Thread Participants: 2

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi