As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
src/main/config/module-context.xml
Thanks for your reply, Maribor. Sorry about the delay in coming back.
Here's post you requested (1) and also the file it references (2).
Either of the commented out beans in (2) causes the error to be thrown when uncommented.
Best Regards,-- Robin
(1)<?xml version='1.0' encoding='UTF-8'?><!--Licensed to the Apache Software Foundation (ASF) under one or morecontributor license agreements. The ASF licenses this file to You under the Apache License, Version 2.0(the "License"); you may not use this file except in compliance withthe License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.
--><!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans><!-- This is filtered by Maven at build time, so that module name is single sourced. --><import resource="classpath:alfresco/module/${project.artifactId}/context/service-context.xml" /></beans>
(2)
<?xml version='1.0' encoding='UTF-8'?><!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'><!--Licensed to the Apache Software Foundation (ASF) under one or morecontributor license agreements. See the NOTICE file distributed withthis work for additional information regarding copyright ownership.The ASF licenses this file to You under the Apache License, Version 2.0(the "License"); you may not use this file except in compliance withthe License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.--><beans>
<!-- A simple class that is initialized by Spring --><bean id="changeme.exampleBean" class="org.alfresco.demoamp.Demo" init-method="init" />
<!-- A simple module component that will be executed once --><bean id="changeme.exampleComponent" class="org.alfresco.demoamp.DemoComponent" parent="module.baseComponent" ><property name="moduleId" value="${project.artifactId}" /> <!-- See module.properties --><property name="name" value="exampleComponent" /><property name="description" value="A demonstration component" /><property name="sinceVersion" value="2.0" /><property name="appliesFromVersion" value="2.0" /><property name="nodeService" ref="NodeService" /><property name="nodeLocatorService" ref="nodeLocatorService" /></bean><bean id="com.someco.someco-repo.dictionaryBootstrap"parent="dictionaryModelBootstrap"depends-on="dictionaryBootstrap"><property name="models"><list><value>alfresco/module/${artifactId}/model/scModel.xml</value></list</property><property name="labels"><list><value>alfresco/module/${artifactId}/messages/scModel</value></list></property></bean><!-- bean id="com.someco.someco-repo.bootstrapConfigBootstrap"class="org.alfresco.web.config.WebClientConfigBootstrap"init-method="init"><property name="configs"><list><value>classpath:alfresco/module/${artifactId}/ui/web-client-config.xml</value></list></property></bean --><!--bean id="com.someco.someco-repo.bootstrapMyAmpBundlesBean"class="org.alfresco.web.app.ResourceBundleBootstrap"><property name="resourceBundles"><list><value>alfresco.module.${artifactId}.messages.webclient</value></list></property></bean --></beans>