Error while trying example given in cdk guide
tutyrichard Oct 28, 2008 7:40 AMI am getting this error at the final step which is given in the CDK guide.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building inputDate
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory E:\encore\workspace\sandbox\inputDate\target
[INFO] Preparing cdk:generate
[WARNING] Removing: generate from forked lifecycle, to prevent recursive invocat
ion.
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 2 source files to E:\encore\workspace\sandbox\inputDate\target\
classes
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus
.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath,cdk'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] Setting property: cdk.resource.loader.class => 'org.ajax4jsf.builder.velo
city.ResourceLoader'.
[INFO] **************************************************************
[INFO] Starting Jakarta Velocity v1.4
[INFO] RuntimeInstance initializing.
[INFO] Default Properties File: org\apache\velocity\runtime\defaults\velocity.pr
operties
[INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime.
resource.ResourceManagerImpl)
[INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLo
aderResourceLoader
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] Resource Loader Instantiated: org.ajax4jsf.builder.velocity.ResourceLoade
r
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] ResourceCache : initialized. (class org.apache.velocity.runtime.resource.
ResourceCacheImpl)
[INFO] Default ResourceManager initialization complete.
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
[INFO] Created: 20 parsers.
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm
[INFO] Velocimacro : added new VM : #quietnull( a ) : source = VM_global_library
.vm
[INFO] Velocimacro : added new VM : #tagPropertyMethods12( source ) : source = V
M_global_library.vm
[INFO] Velocimacro : added new VM : #tagPropertyRelease( source ) : source = VM_
global_library.vm
[INFO] Velocimacro : VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT
replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be glob
al in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] [cdk:generate {execution: default}]
[INFO] Parse config file E:\encore\workspace\sandbox\inputDate\src\main\config\
component\inputDate.xml
[ERROR] Class java.lang.String for property value not equals with real bean prop
erty type: java.lang.Object
[ERROR] Class java.lang.String for property value not equals with real bean prop
erty type: java.lang.Object
[ERROR] Class java.lang.String for property value not equals with real bean prop
erty type: java.lang.Object
[ERROR] Class java.lang.String for property value not equals with real bean prop
erty type: java.lang.Object
[ERROR] Class java.lang.String for property value not equals with real bean prop
erty type: java.lang.Object
[INFO] Create tag class file com.infy.component.html.HtmlInputDate
[INFO] Component com.infy.InputDate included in taglib inputDate
[INFO] Component com.infy.InputDate included to taglib inputDate
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 3 source files to E:\encore\workspace\sandbox\inputDate\target\
classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
E:\encore\workspace\sandbox\inputDate\target\generated-component\java\com\infy\r
enderkit\html\InputDateRenderer.java:[199,49] cannot find symbol
symbol : method getValueAsString(javax.faces.context.FacesContext,com.infy.comp
onent.UIInputDate)
location: class com.infy.renderkit.html.InputDateRenderer
E:\encore\workspace\sandbox\inputDate\target\generated-component\java\com\infy\r
enderkit\html\InputDateRenderer.java:[199,49] cannot find symbol
symbol : method getValueAsString(javax.faces.context.FacesContext,com.infy.comp
onent.UIInputDate)
location: class com.infy.renderkit.html.InputDateRenderer
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Tue Oct 28 17:08:59 GMT+05:30 2008
[INFO] Final Memory: 18M/32M
[INFO] ------------------------------------------------------------------------