-
Mar 3rd, 2011, 03:17 PM
#1
Lang:Groovy - Classpath - Could not determine scripted object
I have been trying for 2 days now to get a simple groovy script and try to inject it. I am getting = could not determine scripted object type for GroovyScriptFactory. I don't know if I am.
I have my groovy class as well as the interface in the following package.
org.springframework.sample.batch.example
My xml file is located in thelaunch-context.xml file.
What am I doing wrong? Thanks.
Error creating bean with name 'pdfGenerator': BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'pdfGenerator': Could not determine scripted object type for GroovyScriptFactory: script source locator [classpath:org/springframework/sample/batch/example/GroovyGenerator.groovy]; nested exception is java.io.FileNotFoundException: class path resource [org/springframework/sample/batch/example/GroovyGenerator.groovy] cannot be opened because it does not exist
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules