Archived

This forum has been archived. Please start a new discussion on GitHub.

Regenerate slice classes

Hi,

I have a little search engine using Ice and Lucene. I was using IceJ 2.1.2, and now I'm testing the improvements that offers IceJ 3.0.0. Do I need to regenerate the classes that slice2java creates? What can happens if I use 3.0.0 version but I don't regenerate this classes?

Thanks a lot for your time!

Comments

  • Yes, you have to run the Ice 3.0.0 slice2java translator and regenerate the stubs and skeletons. Besides fixing a few bugs (see the CHANGES file for details), some of the internal interfaces in 3.0.0 have changed as well. If you don't use the proper translator, you will probably see some java.lang.NoSuchMethodError exceptions and possibly some java.lang.NoClassDefFoundError exceptions.

    Cheers
  • Hi Brent,

    Thanks a lot! I run slice2java inmediatly! :D

    Best regards!