Supposing you're using Tomcat as servlet container, look at {Tomcat_Home}/webapps/MyApp/WEB-INF/lib
, where MyApp
is your app name. There will be a gxclassR.jar
file that should match with the version of your Genexus installation. To test if you have the right one:
- Assure that there is not other similar lib, like
gxclassD.jar
, in the same folder. If there is, delete it.
- Go to the environment target folder where you're working (from the Genexus DE Menu "Tools -> Explore Target Environment Directory") and look for the
gxclassR.zip
file. Copy to the WEB-INF/lib folder
, rename it to gxclassR.jar
replacing actual gxclassR.zip
file.
- Restart tomcat application to assure that the new
gxclassR.jar
is being used.
If your object keep failing, then the problem may be the .class
associated to your genexus object. Maybe isn't correctly generated/compiled. So, to fix this:
- Force the building of the genexus object. For this, try the
Build with this only
option associated to the object. Activate the Force
option for this action, accessing to "Tools -> Options -> Build -> Build with this Only"
- Once forced the build, go once again to the environment target folder and look for the
.class
file/s associated to the object. Usually the name of the file/s matches the name of the object. Look the modification date and confirm that is recently.
- Copy this
.class
files to WEB-INF\classes
folder inside your webapp folder.
I think this is good enough info to fix your problem. If not, detail your error a little bit more.