Quantcast
Channel: Alfresco Forums - Usando Alfresco
Viewing all articles
Browse latest Browse all 384

Import/Export from command line

$
0
0

Hello

I'm trying to make a .acp import a file using the console with the command:

java -XX: MaxPermSize = 512m -classpath classes / alfresco / module: classes: lib / * org.alfresco.tools.Import -user admin admin -s -pwd workspace: // SpacesStore verbose file.acp

The process starts correctly but stops and displays the following error:

Alfresco Repository Importer
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:449)
at org.springframework.util.ReflectionUtils.doWithMethods (ReflectionUtils.java:431)
at org.springframework.util.ReflectionUtils.getAllDeclaredMethods (ReflectionUtils.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:626)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:565)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1277)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:302)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:578)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:398)
at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:93)
at org.alfresco.util.BaseApplicationContextHelper.getApplicationContext(BaseApplicationContextHelper.java:67)
at org.alfresco.util.ApplicationContextHelper.getApplicationContext (ApplicationContextHelper.java:46)
at org.alfresco.tools.Tool.initialiseRepository (Tool.java:262)
at org.alfresco.tools.Tool.start (Tool.java:222)
at org.alfresco.tools.Import.main (Import.java:60)
Caused by: java.lang.ClassNotFoundException: javax.servlet.ServletContext
java.net.URLClassLoader at $ 1.run (URLClassLoader.java:202)
at java.security.AccessController.doPrivileged (Native Method)
at java.net.URLClassLoader.findClass (URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass (ClassLoader.java:306)
sun.misc.Launcher at $ AppClassLoader.loadClass (Launcher.java:301)
at java.lang.ClassLoader.loadClass (ClassLoader.java:247)
... 19 more

Any idea what could be the problem.

I'm using Alfresco Enterprise 3.4.7

Thanks and regards.

3.4
import

Viewing all articles
Browse latest Browse all 384

Trending Articles


Vimeo 10.7.1 by Vimeo.com, Inc.


UPDATE SC IDOL: TWO BECOME ONE


KASAMBAHAY BILL IN THE HOUSE


Girasoles para colorear


Presence Quotes – Positive Quotes


EASY COME, EASY GO


Love with Heart Breaking Quotes


Re:Mutton Pies (lleechef)


Ka longiing longsem kaba skhem bad kaba khlain ka pynlong kein ia ka...


Vimeo 10.7.0 by Vimeo.com, Inc.


FORECLOSURE OF REAL ESTATE MORTGAGE


FORTUITOUS EVENT


Pokemon para colorear


Sapos para colorear


Smile Quotes


Letting Go Quotes


Love Song lyrics that marks your Heart


RE: Mutton Pies (frankie241)


Hato lada ym dei namar ka jingpyrshah jong U JJM Nichols Roy (Bah Joy) ngin...


Long Distance Relationship Tagalog Love Quotes