Hi i visited this link " http://wiki.alfresco.com/wiki/AMP_Files " but not find the exact solution. i have created the dir structure as mentioned here and then i zip this folder and rename it to .amp , then paste this amp file to /alfresco/amps folder and run apply_amps.bat the following error occurs :
This script will apply all the AMPs in D:\alfresco2.2.0\amps to the alfresco.war file in D:\alfresco2.2.0\tomcat\webapps Press control-c to stop this script . . . Press any key to continue . . . Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.simontuffs.onejar.Boot.run(Boot.java:287) at com.simontuffs.onejar.Boot.main(Boot.java:137) Caused by: java.lang.NoClassDefFoundError: org/safehaus/uuid/UUIDGenerator at org.alfresco.repo.module.tool.ModuleManagementTool.generateGuid(ModuleManagementTool.java:809) at org.alfresco.repo.module.tool.ModuleManagementTool.copyToWar(ModuleManagementTool.java:570) at org.alfresco.repo.module.tool.ModuleManagementTool.copyToWar(ModuleManagementTool.java:597) at org.alfresco.repo.module.tool.ModuleManagementTool.installModule(ModuleManagementTool.java:359) at org.alfresco.repo.module.tool.ModuleManagementTool.installModules(ModuleManagementTool.java:168) at org.alfresco.repo.module.tool.ModuleManagementTool.installModules(ModuleManagementTool.java:151) at org.alfresco.repo.module.tool.ModuleManagementTool.main(ModuleManagementTool.java:782) … 6 more Caused by: java.lang.ClassNotFoundException: org.safehaus.uuid.UUIDGenerator at com.simontuffs.onejar.JarClassLoader.findClass(JarClassLoader.java:535) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) … 13 more About to clean out tomcat/webapps/alfresco directory and temporary files… Press control-c to stop this script . . . Press any key to continue . . .