IBM Support

C:\Sterling\Foundation\bin\buildEAR.xml:578: taskdef class weblogic.wsee.tools.a nttasks.JwscTask cannot be found

Troubleshooting


Problem

C:\Sterling\Foundation\bin\buildEAR.xml:578: taskdef class weblogic.wsee.tools.a nttasks.JwscTask cannot be found

Symptom

MCF 8.0

When building the application ear using buildear.sh (or buildear.cmd), you encounter the error below.

Error Message

BUILD FAILED
C:\Sterling\Foundation\bi n\buildEAR.xml:112: The following error occurred while
executing this line:
C:\Sterling\Foundation\bi n\buildEAR.xml:482: The following error occurred while
executing this line:
C:\Sterling\Foundation\bi n\buildEAR.xml:473: The following error occurred while
executing this line:
C:\Sterling\Foundation\bi n\buildEAR.xml:578: taskdef class weblogic.wsee.tools.a
nttasks.JwscTask cannot be found

Resolving The Problem

Add a BEA_DIR property to your sandbox.cfg file and set its value to your WebLogic home directory.
Then run the <INSTALL_DIR>/bin/setupfiles.sh (or setupfiles.cmd) script to propagate the new BEA_DIR value to the required locations.
Then re-run the buildear.sh (or buildear.cmd) command.

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

NFX6117

Product Synonym

[<p><b>]Function Area[</b><p>];buildear.sh;[<p><b>]Escalation ID[</b><p>];43615;[<p><b>]Severity[</b><p>];Normal;[<p><b>]Type[</b><p>];NormalFix

Document Information

Modified date:
16 June 2018

UID

swg21553241