Hi Hong,
I got the exact same error when I built the admingui separately, i.e.,
when the admingui was not yet part of the V3 build.
I never got around that problem ...
Jan
Hong Zhang wrote:
> With svn update; mvn -U clean install, I got following compilation error:
>
> /home/hzhang/files/workspaces/v3/admingui/core/src/main/java/org/glassfish/admingui/handlers/TableHandlers.java:73:
> package com.sun.data.provider does not exist
> import com.sun.data.provider.RowKey;
> ^
> /home/hzhang/files/workspaces/v3/admingui/core/src/main/java/org/glassfish/admingui/handlers/TableHandlers.java:125:
> cannot find symbol
> symbol : class RowKey
> location: class org.glassfish.admingui.handlers.TableHandlers
> @HandlerOutput(name="rowKeys", type=RowKey[].class)})
> ^
> /home/hzhang/files/workspaces/v3/admingui/core/src/main/java/org/glassfish/admingui/handlers/TableHandlers.java:140:
> cannot find symbol
> symbol : class RowKey
> location: class org.glassfish.admingui.handlers.TableHandlers
> @HandlerInput(name="rowKeys", type=RowKey[].class,
> required=true)})
> ^
> /home/hzhang/files/workspaces/v3/admingui/core/src/main/java/org/glassfish/admingui/handlers/TableHandlers.java:73:
> package com.sun.data.provider does not exist
> import com.sun.data.provider.RowKey;
> ^
> /home/hzhang/files/workspaces/v3/admingui/core/src/main/java/org/glassfish/admingui/handlers/TableHandlers.java:125:
> cannot find symbol
> symbol : class RowKey
> location: class org.glassfish.admingui.handlers.TableHandlers
> @HandlerOutput(name="rowKeys", type=RowKey[].class)})
> ^
> /home/hzhang/files/workspaces/v3/admingui/core/src/main/java/org/glassfish/admingui/handlers/TableHandlers.java:140:
> cannot find symbol
> symbol : class RowKey
> location: class org.glassfish.admingui.handlers.TableHandlers
> @HandlerInput(name="rowKeys", type=RowKey[].class,
> required=true)})
> ^
> /home/hzhang/files/workspaces/v3/admingui/core/src/main/java/org/glassfish/admingui/handlers/TableHandlers.java:99:
> cannot access com.sun.data.provider.impl.ObjectListDataProvider
> file com/sun/data/provider/impl/ObjectListDataProvider.class not found
> MultipleListDataProvider dp =
> (MultipleListDataProvider)trg.getSourceData();
> ^
> /home/hzhang/files/workspaces/v3/admingui/core/src/main/java/org/glassfish/admingui/handlers/TableHandlers.java:102:
> cannot find symbol
> symbol : class RowKey
> location: class org.glassfish.admingui.handlers.TableHandlers
> RowKey[] rowKeys = trg.getSelectedRowKeys();
> ^
> /home/hzhang/files/workspaces/v3/admingui/core/src/main/java/org/glassfish/admingui/handlers/TableHandlers.java:144:
> cannot find symbol
> symbol : class RowKey
> location: class org.glassfish.admingui.handlers.TableHandlers
> RowKey[] keys = (RowKey []) handlerCtx.getInputValue("rowKeys");
> ^
> /home/hzhang/files/workspaces/v3/admingui/core/src/main/java/org/glassfish/admingui/handlers/TableHandlers.java:144:
> cannot find symbol
> symbol : class RowKey
> location: class org.glassfish.admingui.handlers.TableHandlers
> RowKey[] keys = (RowKey []) handlerCtx.getInputValue("rowKeys");
> ^
> /home/hzhang/files/workspaces/v3/admingui/core/src/main/java/org/glassfish/admingui/handlers/TableHandlers.java:146:
> inconvertible types
> found : java.lang.Object
> required:
> com.sun.jsftemplating.component.dataprovider.MultipleListDataProvider
> (MultipleListDataProvider) trg.getSourceData();
> ^
> /home/hzhang/files/workspaces/v3/admingui/core/src/main/java/org/glassfish/admingui/handlers/TableHandlers.java:147:
> cannot find symbol
> symbol : class RowKey
> location: class org.glassfish.admingui.handlers.TableHandlers
> for (RowKey key : keys) {
> ^
> /home/hzhang/files/workspaces/v3/admingui/core/src/main/java/org/glassfish/admingui/handlers/TableHandlers.java:165:
> inconvertible types
> found : java.lang.Object
> required:
> com.sun.jsftemplating.component.dataprovider.MultipleListDataProvider
> (MultipleListDataProvider) trg.getSourceData();
> ^
> /home/hzhang/files/workspaces/v3/admingui/core/src/main/java/org/glassfish/admingui/handlers/TableHandlers.java:254:
> inconvertible types
> found : java.lang.Object
> required:
> com.sun.jsftemplating.component.dataprovider.MultipleListDataProvider
> MultipleListDataProvider dp =
> (MultipleListDataProvider)trg.getSourceData();
>
> ^
> /home/hzhang/files/workspaces/v3/admingui/core/src/main/java/org/glassfish/admingui/handlers/TableHandlers.java:287:
> inconvertible types
> found : java.lang.Object
> required:
> com.sun.jsftemplating.component.dataprovider.MultipleListDataProvider
> MultipleListDataProvider dp =
> (MultipleListDataProvider)trg.getSourceData();
>
> ^
> /home/hzhang/files/workspaces/v3/admingui/core/src/main/java/org/glassfish/admingui/handlers/ApplicationHandlers.java:1293:
> inconvertible types
> found : java.lang.Object
> required:
> com.sun.jsftemplating.component.dataprovider.MultipleListDataProvider
> MultipleListDataProvider dp =
> (MultipleListDataProvider)trg.getSourceData();
>
> ^
> /home/hzhang/files/workspaces/v3/admingui/core/src/main/java/org/glassfish/admingui/handlers/StandAloneInstanceHandlers.java:388:
> inconvertible types
> found : java.lang.Object
> required:
> com.sun.jsftemplating.component.dataprovider.MultipleListDataProvider
> MultipleListDataProvider dp =
> (MultipleListDataProvider)trg.getSourceData();
>
> ^
> /home/hzhang/files/workspaces/v3/admingui/core/src/main/java/org/glassfish/admingui/handlers/StandAloneInstanceHandlers.java:579:
> inconvertible types
> found : java.lang.Object
> required:
> com.sun.jsftemplating.component.dataprovider.MultipleListDataProvider
> MultipleListDataProvider dp =
> (MultipleListDataProvider)trg.getSourceData();
>
> ^
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> 15 errors
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Fatal error compiling
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>