Hi all,
I'm newbie in Alfresco and I'm reading the book Professional Alfresco and Alfresco wiki to understand how to write my service using Javascript and Java.
For reference here are the listing of the files and their locations:
Via Alfresco Explorer: Company Home -> Data Dictionary -> Web Scripts Extensions -> org -> example -> javadir.get.desc.xml
Via Alfresco Explorer: Company Home -> Data Dictionary -> Web Scripts Extensions -> org -> example -> javadir.get.html.ftl
Created and copied the javadir-context.xml into tomcat/shared/classes/alfresco/extension
Created and copied the classes into tomcat/shared/classes/org/example/JavaDir.class
When I try to restart tomcat, I can see that DeclarativeWebScript class is missing:
"problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/springframework/extensions/webscripts/DeclarativeWebScript"
How can I fix that problem?
thanks,
Andrea