Please let me how to resolve the below given error

The source was saved, but was not compiled due to the following errors:

com.wm.app.b2b.server.ServiceException: [B2BSERV.0014.9116] Unable to locate or start compiler

You need a Java SDK installed on your IS machine.
The path to the java compiler should also be in the PATH variable on that machine.
You can find all this in the documentation.

Hello,

I am getting the simillar kind of error inspite of setting the JDK path to “path” env variable, could there be any reason for this error to occur.

Error:
" The source was saved, but was not compiled due to the following errors:

com.wm.app.b2b.server.ServiceException: [ISS.0026.9104] Missing class Customer"

Observation: Eventhough the WMDeveloper shows this error, i could see the class file in the corresponding location in the server file system.

Regards,
Srivatsa Katta

Hello Srivatsa ,

You have to make your class ‘Customer’ available, e.g. by

  1. putting the ‘Customer.class’ file in all package folders where its called, i.e.
    ‘…\packages<package name>\code\classes<folder><package name>’ OR
  2. putting the jar file containing class ‘Customer’ in folder
    ‘…\packages<package name>\code\jars’ (recommend solution)

Good luck

André

Hi André ,

Thanks for your sugession. But the actual problem was not with the unavailablity of the class, its problem with the path.

I have set the the java compiler path in “watt.server.compile” to absolute path it started working.

Thanks a lot,
Srivatsa Katta