Home Help Center

Regenerate slice classes

lucsatlucsat Member Jordi RubioOrganization: Grupo IntercomProject: I+D
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

  • beaglesbeagles Member Brent EaglesOrganization: Eagles Technologies IncProject: Asterisk SCF ✭✭✭
    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
  • lucsatlucsat Member Jordi RubioOrganization: Grupo IntercomProject: I+D
    Hi Brent,

    Thanks a lot! I run slice2java inmediatly! :D

    Best regards!
Sign In or Register to comment.