Hi, this is my first attempt to use the command line Export functionality and I get this error:
Alfresco Repository Exporter
The following error has occurred:
javax/servlet/ServletContext
java.lang.NoClassDefFoundError: javax/servlet/ServletContext
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at java.lang.Class.getDeclaredMethods(Class.java:1791)
at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:267)
etc.
The above is with alfresco community edition 3.2r2.
Now my java programming skills are a bit rusty, but I would not expect a commandline program to need a servlet context.
Could this be a bug or am I doing something wrong?
The command is taken from the example on the Wiki:
<java and classpath> org.alfresco.tools.Export -user admin -pwd <xxxx> -store user://alfrescoUserStore -verbose users.acp
The wiki 3.1 classpath was used as a basis and I replaced all xxx.jar entries for which I identified newer files .