Wuhai’s Weblog

July 28, 2008

Axis2 codegen for eclipse – InvocationTargetException

Filed under: Java — wuhai @ 1:04 pm

Eclipse 3.4 – Axis2 1.4. Downloaded Axis2 eclipse codegen wizard 1.4, but it is not working, getting InvocationTargetException all the time.

Solution: Download it from here:

http://www.javaeye.com/post/560587

axis2_codegen_wizard_130

27 Comments »

  1. Hi
    I am facing same issue , But i understand english only hence unbale to download the file from http://www.javaeye.com/post/560587 , dont understand where to register and how to register ??

    Can you please , join all the parts in http://www.javaeye.com/post/560587 and upload in website like http://www.4shared.com and give us one link to download from

    waiting for your response
    Regards
    LAvnish

    Comment by lavnish — September 27, 2008 @ 7:22 pm | Reply

  2. you need a login!

    Comment by Buhai — October 23, 2008 @ 6:55 pm | Reply

  3. Hi Guys,
    I just uploaded the file as ppt, you need to download and rename the file to use .zip as suffix. Then unzip it under plugins folder.
    - Hai

    Comment by wuhai — October 27, 2008 @ 4:57 am | Reply

  4. You may want to try steps below.

    1) Close eclipse

    2) Copying the “backport-util-concurrent-3.1.jar” and “geronimo-stax-api_1.0_spec-1.0.1.jar” from “$AXIS2_HOME/lib/” to “$ECLIPSE_HOME/plugins/Axis2_Codegen_Wizard_1.3.0/lib/”

    3) Add the following into the “runtime” element “$ECLIPSE_HOME/plugins/Axis2_Codegen_Wizard_1.3.0/plugin.xml” :

    4) In “$ECLIPSE_HOME/plugins/Axis2_Codegen_Wizard_1.3.0/plugin.xml” changing the version attribute of the “plugin” element from “1.3.0″ to “1.4.0″.
    5) Now changing the version also in the plugin’s folder name from “Axis2_Codegen_Wizard_1.3.0″ to “Axis2_Codegen_Wizard_1.4.0″.

    6) Start eclipse and try the plugin

    Let me know if this does not help you.

    Comment by Sheetal Mohan Sharma — November 4, 2008 @ 5:23 pm | Reply

    • Thanks . it worked.
      Philip

      Comment by Phiip — July 22, 2009 @ 8:50 pm | Reply

    • Thanks a lot! It works now for me.

      Comment by Steven Linh — August 26, 2009 @ 7:01 am | Reply

  5. I’ve tried the exact same steps as you listed, but unfortunately I get the exception.

    Comment by Ervin — November 7, 2008 @ 10:17 pm | Reply

  6. It WORKED now, thanks!
    But in addition you have to add the following lines to plugin.xml:

    Comment by Ervin Ramollari — November 7, 2008 @ 11:01 pm | Reply

  7. Comment by Ervin Ramollari — November 7, 2008 @ 11:01 pm | Reply

  8. It works definitely! Thanks a lot, otherwise it should´d been a nightmare.

    Comment by JKGerrikagoitia — November 17, 2008 @ 1:52 pm | Reply

  9. Thank you, Thank you!! It worked great. However, I needed to leave the version number to 1.3.0 on both the dir name and in plugin.xml

    Comment by mssx — December 16, 2008 @ 6:05 pm | Reply

  10. Thank you Sheetal, it helped. You are genius! :)
    Eclipse with its plugins behaves sometimes so akwardly.. it just makes me mad. And IBM RAD is even worse

    Comment by David Votrubec — February 11, 2009 @ 10:28 am | Reply

  11. Hi,

    it works….
    Cheers!!!!

    Comment by Ranjeet — February 18, 2009 @ 2:37 pm | Reply

  12. Last input in the url http://www.javaeye.com/topic/192534 works!!! Thanks!

    Comment by Asmita — February 25, 2009 @ 5:50 pm | Reply

  13. Thanks a lot,

    this really helped me!

    Comment by Max — February 26, 2009 @ 11:52 am | Reply

  14. Thanks a lot, i am using RAD 7.5, still it works.

    Comment by Nagaraj — March 3, 2009 @ 3:34 am | Reply

  15. I am using RAD7.0
    I tried above steps mentioned. But still getting InvocationTargetException.

    Can someone guide what may be the reason?

    Regards,
    -Mayuresh

    Comment by Mayuresh — March 12, 2009 @ 7:32 pm | Reply

  16. I’ve been able to get the plugin working for my RAD 6.x but so far haven’t been able to get it working for RAD v7.5.

    It just doesn’t show the wizard.

    Is there anything special you have to do for this particular version? (Nagaraj?)

    Comment by Eric — March 16, 2009 @ 4:56 am | Reply

  17. Thank-you all. Finally got my codegen working

    I followed Sheetal’s approach, and it worked for me. Much obliged.

    Comment by Tim Duggan — April 6, 2009 @ 3:09 am | Reply

  18. Thank you all from Argentina!!

    Comment by Leandro — April 14, 2009 @ 3:00 pm | Reply

  19. Hey thanks a lot for your valuable guidance without that it would have been brain scrating activity

    Comment by vivek — April 28, 2009 @ 6:33 pm | Reply

  20. I made the changes as above….That worked!!!
    Thanks a billion.

    Comment by Ramya — May 20, 2009 @ 8:42 pm | Reply

  21. downloaded .ppt and it works fine on eclipse 3.5 (galileo).
    Thanks!

    Comment by Kostis — July 31, 2009 @ 7:09 am | Reply

  22. Thanks for the solution for the InvocationTargetException problem.

    Comment by Sanky — August 26, 2009 @ 6:01 am | Reply

  23. I followed the steps correctly. I still get the same exception. I’m using Eclipse Galileo. Can someone please help me?? :-(

    Comment by rainbow — August 27, 2009 @ 3:51 pm | Reply

  24. [...] vía Posted by rubensa Filed in Eclipse, Recetas Leave a Comment » [...]

    Pingback by Axis 2.0 – Code Generator Wizard para Eclipse – InvocationTargetException « El Blog de rubensa — October 21, 2009 @ 10:50 am | Reply

  25. Try using “-clean” in Eclipse’s run command line to update Plugins config (so the changes in “Axis2_Codegen_Wizard_1.3.0/plugin.xml” take effect).

    Comment by rubensa — October 21, 2009 @ 10:59 am | Reply


RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.