dev@jsftemplating.java.net

Re: JSFTemplating: problems working with jsftemplating

From: Michael Phoenix <michaelandrewphoenix_at_gmail.com>
Date: Sun, 13 May 2007 18:20:31 -0700

There is nothing called dataprovider.jar that is in the
build.propertiesfile. Where is it supposed to be located? The thing is
I have not changed
anything since the last time I built, so I don't understand why I am having
all these problems now.

On 5/12/07, Senthil Chidambaram <cchidamb_at_sun.com> wrote:
>
> Mike,
> Looks like dataprovider.jar (woodstock supplied) file is missing in your
> classpath, usually this is set for you in your build.properties file
> already. Could you pls double check your build.properties file under
> <JSFTEMPLATIN_ROOT> directory.
>
> thx
> Senthil
> Michael Phoenix wrote:
> > Well, I'm trying to work with jsftemplating to learn a little more
> > about it and am having nothing but problems. I tried to access my demo
> > project, which was working and got a 500 error with a long stack
> > trace. So Itried to re build from my cvs download and got a mass of
> > compile messages. Here are they are my dos buffer isn't big enough to
> > get all the error messages. Anybody know what's going on here?
> >
> > [exec] [apt] ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\MultipleListDataProvider.java:579: cannot find symbol
> > [exec] [apt] symbol : class RowKey
> > [exec] [apt] location: class
> > com.sun.jsftemplating.component.dataprov
> > ider.MultipleListDataProvider
> > [exec] [apt] protected int getRowIndex(RowKey rowKey) {
> > [exec] [apt] ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\MultipleListDataProvider.java:591: cannot find symbol
> > [exec] [apt] symbol : class RowKey
> > [exec] [apt] location: class
> > com.sun.jsftemplating.component.dataprov
> > ider.MultipleListDataProvider
> > [exec] [apt] protected RowKey getRowKey(int index) {
> > [exec] [apt] ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\MultipleListDataProvider.java:634: cannot find symbol
> > [exec] [apt] symbol : class RowKey
> > [exec] [apt] location: class
> > com.sun.jsftemplating.component.dataprov
> > ider.MultipleListDataProvider
> > [exec] [apt] protected Set<RowKey> _deletes = new
> > TreeSet<RowKey>
> > ();
> > [exec] [apt] ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\MultipleObjectFieldKeySupport.java:86: cannot find symbol
> > [exec] [apt] symbol : class FieldKey
> > [exec] [apt] location: class
> > com.sun.jsftemplating.component.dataprov
> > ider.MultipleObjectFieldKeySupport
> > [exec] [apt] public FieldKey getFieldKey(String
> > fieldId) throws D
> > ataProviderException {
> > [exec] [apt] ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\MultipleObjectFieldKeySupport.java:86: cannot find symbol
> > [exec] [apt] symbol : class DataProviderException
> > [exec] [apt] location: class
> > com.sun.jsftemplating.component.dataprov
> > ider.MultipleObjectFieldKeySupport
> > [exec] [apt] public FieldKey getFieldKey(String
> > fieldId) throws D
> > ataProviderException {
> > [exec]
> > [apt] ^
> >
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\MultipleObjectFieldKeySupport.java:104: cannot find
> symbol
> > [exec] [apt] symbol : class FieldKey
> > [exec] [apt] location: class
> > com.sun.jsftemplating.component.dataprov
> > ider.MultipleObjectFieldKeySupport
> > [exec] [apt] public FieldKey[] getFieldKeys() throws
> > DataProvider
> > Exception {
> > [exec] [apt] ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\MultipleObjectFieldKeySupport.java:104: cannot find
> symbol
> > [exec] [apt] symbol : class DataProviderException
> > [exec] [apt] location: class
> > com.sun.jsftemplating.component.dataprov
> > ider.MultipleObjectFieldKeySupport
> > [exec] [apt] public FieldKey[] getFieldKeys() throws
> > DataProvider
> > Exception {
> > [exec] [apt] ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\MultipleObjectFieldKeySupport.java:126: cannot find
> symbol
> > [exec] [apt] symbol : class FieldKey
> > [exec] [apt] location: class
> > com.sun.jsftemplating.component.dataprov
> > ider.MultipleObjectFieldKeySupport
> > [exec] [apt] public Class getType(FieldKey fieldKey)
> > throws DataP
> > roviderException {
> > [exec] [apt] ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\MultipleObjectFieldKeySupport.java:126: cannot find
> symbol
> > [exec] [apt] symbol : class DataProviderException
> > [exec] [apt] location: class
> > com.sun.jsftemplating.component.dataprov
> > ider.MultipleObjectFieldKeySupport
> > [exec] [apt] public Class getType(FieldKey fieldKey)
> > throws DataP
> > roviderException {
> > [exec]
> > [apt] ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\MultipleObjectFieldKeySupport.java:149: cannot find
> symbol
> > [exec] [apt] symbol : class FieldKey
> > [exec] [apt] location: class
> > com.sun.jsftemplating.component.dataprov
> > ider.MultipleObjectFieldKeySupport
> > [exec] [apt] public Object getValue(FieldKey fieldKey,
> > Object bas
> > e) throws DataProviderException {
> > [exec] [apt] ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\MultipleObjectFieldKeySupport.java:149: cannot find
> symbol
> > [exec] [apt] symbol : class DataProviderException
> > [exec] [apt] location: class
> > com.sun.jsftemplating.component.dataprov
> > ider.MultipleObjectFieldKeySupport
> > [exec] [apt] public Object getValue(FieldKey fieldKey,
> > Object bas
> > e) throws DataProviderException {
> > [exec] [apt]
> > ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\MultipleObjectFieldKeySupport.java:172: cannot find
> symbol
> > [exec] [apt] symbol : class FieldKey
> > [exec] [apt] location: class
> > com.sun.jsftemplating.component.dataprov
> > ider.MultipleObjectFieldKeySupport
> > [exec] [apt] public boolean isAssignable(FieldKey
> > fieldKey, Objec
> > t value) throws DataProviderException {
> > [exec] [apt] ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\MultipleObjectFieldKeySupport.java:172: cannot find
> symbol
> > [exec] [apt] symbol : class DataProviderException
> > [exec] [apt] location: class
> > com.sun.jsftemplating.component.dataprov
> > ider.MultipleObjectFieldKeySupport
> > [exec] [apt] public boolean isAssignable(FieldKey
> > fieldKey, Objec
> > t value) throws DataProviderException {
> > [exec] [apt]
> > ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\MultipleObjectFieldKeySupport.java:195: cannot find
> symbol
> > [exec] [apt] symbol : class FieldKey
> > [exec] [apt] location: class
> > com.sun.jsftemplating.component.dataprov
> > ider.MultipleObjectFieldKeySupport
> > [exec] [apt] public boolean isReadOnly(FieldKey
> > fieldKey) throws
> > DataProviderException {
> > [exec] [apt] ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\MultipleObjectFieldKeySupport.java:195: cannot find
> symbol
> > [exec] [apt] symbol : class DataProviderException
> > [exec] [apt] location: class
> > com.sun.jsftemplating.component.dataprov
> > ider.MultipleObjectFieldKeySupport
> > [exec] [apt] public boolean isReadOnly(FieldKey
> > fieldKey) throws
> > DataProviderException {
> > [exec] [apt]
> > ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\MultipleObjectFieldKeySupport.java:227: cannot find
> symbol
> > [exec] [apt] symbol : class FieldKey
> > [exec] [apt] location: class
> > com.sun.jsftemplating.component.dataprov
> > ider.MultipleObjectFieldKeySupport
> > [exec] [apt] public void setValue(FieldKey fieldKey,
> > Object base,
> > Object value) throws DataProviderException {
> > [exec] [apt] ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\MultipleObjectFieldKeySupport.java:227: cannot find
> symbol
> > [exec] [apt] symbol : class DataProviderException
> > [exec] [apt] location: class
> > com.sun.jsftemplating.component.dataprov
> > ider.MultipleObjectFieldKeySupport
> > [exec] [apt] public void setValue(FieldKey fieldKey,
> > Object base,
> > Object value) throws DataProviderException {
> > [exec] [apt]
> > ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\MultipleObjectFieldKeySupport.java:247: cannot find
> symbol
> > [exec] [apt] symbol : class ObjectFieldKeySupport
> > [exec] [apt] location: class
> > com.sun.jsftemplating.component.dataprov
> > ider.MultipleObjectFieldKeySupport
> > [exec] [apt] private List<ObjectFieldKeySupport>
> > _children = nul
> > l;
> > [exec] [apt] ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\IndexFieldKey.java:109: cannot find symbol
> > [exec] [apt] symbol : variable super
> > [exec] [apt] location: class
> > com.sun.jsftemplating.component.dataprov
> > ider.IndexFieldKey
> > [exec] [apt] boolean val = super.equals(obj);
> > [exec] [apt] ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\IndexFieldKey.java:110: inconvertible types
> > [exec] [apt] found : java.lang.Object
> > [exec] [apt] required:
> > com.sun.jsftemplating.component.dataprovider.I
> > ndexFieldKey
> > [exec] [apt] if (val && (obj instanceof
> > IndexFieldKey)) {
> > [exec] [apt] ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\IndexFieldKey.java:111: inconvertible types
> > [exec] [apt] found : java.lang.Object
> > [exec] [apt] required:
> > com.sun.jsftemplating.component.dataprovider.I
> > ndexFieldKey
> > [exec] [apt] val = ((IndexFieldKey)
> > obj).getIndex() == ge
> > tIndex();
> > [exec] [apt] ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\IndexFieldKey.java:122: cannot find symbol
> > [exec] [apt] symbol : method getFieldId()
> > [exec] [apt] location: class
> > com.sun.jsftemplating.component.dataprov
> > ider.IndexFieldKey
> > [exec] [apt] _hash = (getFieldId() +
> > getIndex()).hashCode
> > ();
> > [exec] [apt] ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\IndexFieldKey.java:122: operator + cannot be applied to
> > getFieldI
> > d,int
> > [exec] [apt] _hash = (getFieldId() +
> > getIndex()).hashCode
> > ();
> > [exec] [apt] ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\IndexFieldKey.java:122: <nulltype> cannot be dereferenced
> > [exec] [apt] _hash = (getFieldId() +
> > getIndex()).hashCode
> > ();
> > [exec] [apt] ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\IndexFieldKey.java:135: cannot find symbol
> > [exec] [apt] symbol : method getFieldId()
> > [exec] [apt] location: class
> > com.sun.jsftemplating.component.dataprov
> > ider.IndexFieldKey
> > [exec] [apt] return "IndexFieldKey[" + getIndex() +
> > "][" + ge
> > tFieldId() + "]"; // NOI18N
> > [exec]
> > [apt] ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\MapObjectFieldKeySupport.java:50: cannot find symbol
> > [exec] [apt] symbol : method getClass()
> > [exec] [apt] location: class
> > com.sun.jsftemplating.component.dataprov
> > ider.MapObjectFieldKeySupport
> > [exec] [apt] throw new
> > IllegalArgumentException(this.getC
> > lass().getName()
> > [exec] [apt] ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\MapObjectFieldKeySupport.java:64: cannot find symbol
> > [exec] [apt] symbol : class FieldKey
> > [exec] [apt] location: class
> > com.sun.jsftemplating.component.dataprov
> > ider.MapObjectFieldKeySupport
> > [exec] [apt] FieldKey key = super.getFieldKey
> (fieldId);
> > [exec] [apt] ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\MapObjectFieldKeySupport.java:64: cannot find symbol
> > [exec] [apt] symbol : variable super
> > [exec] [apt] location: class
> > com.sun.jsftemplating.component.dataprov
> > ider.MapObjectFieldKeySupport
> > [exec] [apt] FieldKey key = super.getFieldKey
> (fieldId);
> > [exec] [apt] ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\MapObjectFieldKeySupport.java:67: cannot find symbol
> > [exec] [apt] symbol : class FieldKey
> > [exec] [apt] location: class
> > com.sun.jsftemplating.component.dataprov
> > ider.MapObjectFieldKeySupport
> > [exec] [apt] key = new FieldKey(fieldId);
> > [exec] [apt] ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\MapObjectFieldKeySupport.java:77: cannot find symbol
> > [exec] [apt] symbol : class FieldKey
> > [exec] [apt] location: class
> > com.sun.jsftemplating.component.dataprov
> > ider.MapObjectFieldKeySupport
> > [exec] [apt] FieldKey keys[] = super.getFieldKeys();
> > [exec] [apt] ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\MapObjectFieldKeySupport.java:77: cannot find symbol
> > [exec] [apt] symbol : variable super
> > [exec] [apt] location: class
> > com.sun.jsftemplating.component.dataprov
> > ider.MapObjectFieldKeySupport
> > [exec] [apt] FieldKey keys[] = super.getFieldKeys();
> > [exec] [apt] ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\MapObjectFieldKeySupport.java:79: cannot find symbol
> > [exec] [apt] symbol : class FieldKey
> > [exec] [apt] location: class
> > com.sun.jsftemplating.component.dataprov
> > ider.MapObjectFieldKeySupport
> > [exec] [apt] FieldKey tmp[] = new
> > FieldKey[keys.length +
> > _inst.size()];
> > [exec] [apt] ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\MapObjectFieldKeySupport.java:79: cannot find symbol
> > [exec] [apt] symbol : class FieldKey
> > [exec] [apt] location: class
> > com.sun.jsftemplating.component.dataprov
> > ider.MapObjectFieldKeySupport
> > [exec] [apt] FieldKey tmp[] = new
> > FieldKey[keys.length +
> > _inst.size()];
> > [exec] [apt] ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\MapObjectFieldKeySupport.java:82: cannot find symbol
> > [exec] [apt] symbol : class FieldKey
> > [exec] [apt] location: class
> > com.sun.jsftemplating.component.dataprov
> > ider.MapObjectFieldKeySupport
> > [exec] [apt] for (FieldKey key : keys) {
> > [exec] [apt] ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\MapObjectFieldKeySupport.java:88: cannot find symbol
> > [exec] [apt] symbol : class FieldKey
> > [exec] [apt] location: class
> > com.sun.jsftemplating.component.dataprov
> > ider.MapObjectFieldKeySupport
> > [exec] [apt] tmp[cnt++] = new FieldKey(
> > key.toString()
> > );
> > [exec] [apt] ^
> > [exec] [apt]
> > C:\jsftemplating\src\java\com\sun\jsftemplating\componen
> > t\dataprovider\MapObjectFieldKeySupport.java:103: cannot find symbol
> > [exec] [apt] symbol : variable super
> > [exec] [apt] location: class
> > com.sun.jsftemplating.component.dataprov
> > ider.MapObjectFieldKeySupport
> > [exec] [apt] Class type = super.getType (fieldKey);
> > [exec] [apt] ^
> > [exec] [apt] Note: Some input files use or override a
> > deprecated API.
> >
> > [exec] [apt] Note: Recompile with -Xlint:deprecation for
> > details.
> > [exec] [apt] Note: Some input files use unchecked or unsafe
> > operation
> > s.
> > [exec] [apt] Note: Recompile with -Xlint:unchecked for
> details.
> > [exec] [apt] 100 errors
> > [exec]
> > [exec] BUILD FAILED
> > [exec] C:\jsftemplating\aptbuild.xml:31: Compile failed; see the
> > compiler e
> > rror output for details.
> > [exec]
> > [exec] Total time: 10 seconds
> >
> > jar:
> > [jar] Updating jar: C:\jsftemplating\dist\jsftemplating.jar
> >
> > build:
> >
> > BUILD SUCCESSFUL
> > Total time: 13 seconds
> > C:\jsftemplating>
>