Error Extending Spaces: BUILD FAILED ... internal-targets.xml:54: Problem: failed to create task or type
Last updated on MARCH 08, 2017
Applies to:Oracle WebCenter Portal - Version 188.8.131.52.3 to 184.108.40.206.3 [Release 11g]
Information in this document applies to any platform.
+ The WebCenter Portal version currently in use is 220.127.116.11. This issue can occur when the 18.104.22.168.3 Bundle Patch 18085041 is being installed. The same error can occur simply when extending Spaces.
+ This is the section in the 22.214.171.124.3 Patch README being implemented:
After applying this patch you need to execute the below instructions to use the changes provided by this patch:
(1) Set the following system property to enable the fix - ContentTypeLazyCaching=true.
a) It can be set in setDomainEnv.sh of the domain as:
b) Add the argument "-DContentTypeLazyCaching=true" to:
WLS Admin Console -> Environment -> Servers -> WC_Spaces -> Configuration -> Server Start -> Arguments
if the start of the managed server is being done through the node manager.
(2) Add the following listener to the application WEB-INF/web.xml to enable the fix.
This listener on server startup intialises content type cache
- if you are using WebCenter Portal, the change will need to go onto the 'webcenter' application - refer to KM Note 1557319.1.
- if you are using Portal Application FrameWork, the change will need to go onto the custom named application.
(3) Start all servers (Admin Server and all Managed Server(s))
+ As we are using WebCenter Portal(Spaces), the change will need to go onto the 'webcenter' application so we are following Note 1557319.1:
How To Change WebCenter Spaces (webcenter.ear) Application Configuration Files (connections.xml, adf-config.xml, web.xml, etc.)? (Doc ID 1557319.1)
This is the failing step:
3.3.1. The extend.spaces.webapp.war will be generate as soon as the "Run Ant" dropdown menu is opened, and then select "clean-stage". This will take a few minutes - do make sure all is completed without any FAILURES.
The first screenshot in the uploaded ppt file shows this step . Run Ant -> clean-stage is selected.
This is the error:
D:\JDeveloper\mywork\DesignWebCenterSpaces\WebCenterSpacesExtensionLibrary\internal-targets.xml:54: Problem: failed to create task or type if
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any / declarations have taken place.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms