then , put the following codes in the file.
Code : Tout sélectionner
@echo on
set DEPLOY_DIR=..\build
set CLASSPATH=%DEPLOY_DIR%\server.jar;%DEPLOY_DIR%\common.jar;%DEPLOY_DIR%\clientCatalog.jar;%DEPLOY_DIR%\clientCustomer.jar;%DEPLOY_DIR%\clientOrder.jar;%MYSQL_HOME%\lib\mysql-connector-java-5.1.21-bin.jar;
rmiregistry
then you can run the "RegisterServices.java" in the eclipse.
It works for me.It finally shows "Petstore services are registered."