Hi, I also have the same doubt,
I tried to embed Alfresco into my web application war, I did this,
in my web.xml, I have put —>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/web-application-context.xml</param-value>
</context-param>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
And in my WEB-INF, this is my directory structure –>
WEB-INF
|
|—- classes
| |—-alfresco
| | |—- (all config xml files (the same config folder from Alfresco Embedded Sample Project))
| |—-alfresco-global.properties
| |—- log4j.properties
|—- lib
|— all dependency jars (same jars from from Alfresco Embedded Sample Project's dependencies folder))
But still I am not able to start my server it gives me a lot different errors,
So I want to know, if I am doing right or is there anything missing or wrong here….. Please need help with this.