Error During Deployment Of Custom Webcenter Spaces Application (Doc ID 1287310.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle WebCenter - Version: 11.1.1.2.0 and later   [Release: 11g and later ]
Information in this document applies to any platform.

Goal

Is there any way to avoid this error when following the Extending Spaces White Paper on a JDeveloper 11.1.1.3 installation.

White paper is at http://download.oracle.com/otndocs/tech/webcenter/files/extendwebcenterspaces.zip

The following error is seen when Running the ANT script against the Clean-stage.


[javac] Compiling 1 source file to H:\project\extendwebcenterspaces_ps2\ExtendWebCenterSpaces\CustomPersistentSpacesTabs\classes
 [javac] H:\project\extendwebcenterspaces_ps2\ExtendWebCenterSpaces\CustomPersistentSpacesTabs\src\custom\webcenter\spaces\CustomPhaseListener.java:11: package javax.faces.event does not exist
 [javac] import javax.faces.event.PhaseEvent;
 [javac]             ^
 [javac] H:\project\extendwebcenterspaces_ps2\ExtendWebCenterSpaces\CustomPersistentSpacesTabs\src\custom\webcenter\spaces\CustomPhaseListener.java:12: package javax.faces.event does not exist
 [javac] import javax.faces.event.PhaseId;
 [javac]             ^
 [javac] H:\project\extendwebcenterspaces_ps2\ExtendWebCenterSpaces\CustomPersistentSpacesTabs\src\custom\webcenter\spaces\CustomPhaseListener.java:13: package javax.faces.event does not exist
 [javac] import javax.faces.event.PhaseListener;
 [javac]             ^
 [javac] H:\project\extendwebcenterspaces_ps2\ExtendWebCenterSpaces\CustomPersistentSpacesTabs\src\custom\webcenter\spaces\CustomPhaseListener.java:15: package oracle.adf.share.logging does not exist
 [javac] import oracle.adf.share.logging.ADFLogger;
 [javac]                ^
 [javac] H:\project\extendwebcenterspaces_ps2\ExtendWebCenterSpaces\CustomPersistentSpacesTabs\src\custom\webcenter\spaces\CustomPhaseListener.java:17: package oracle.webcenter.webcenterapp.context does not exist
 [javac] import oracle.webcenter.webcenterapp.context.WCApplicationContext;
 [javac]                       ^
 [javac] H:\project\extendwebcenterspaces_ps2\ExtendWebCenterSpaces\CustomPersistentSpacesTabs\src\custom\webcenter\spaces\CustomPhaseListener.java:18: package oracle.webcenter.webcenterapp.shell.pages does not exist
 [javac] import oracle.webcenter.webcenterapp.shell.pages.WCShellTabModel;
 [javac]                         ^
 [javac] H:\project\extendwebcenterspaces_ps2\ExtendWebCenterSpaces\CustomPersistentSpacesTabs\src\custom\webcenter\spaces\CustomPhaseListener.java:20: package oracle.webcenter.spaces.context does not exist
 [javac] import oracle.webcenter.spaces.context.SpacesContext;
 [javac]                    ^
 [javac]

Solution

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