cancel
Showing results for 
Search instead for 
Did you mean: 

Exception Starting Server afte Spring framework Registration

oluwasegzy
Champ in-the-making
Champ in-the-making
Can somebody help me with how to resolve this issue,

I am using a java class as my controller for webscript.

I registered my Spring framework configuration file as shown below

<?xml version=’1.0’ encoding=’UTF-8’? >
<!DOCTYPE beans PUBLIC ‘-//SPRING//DTD BEAN 2.0//EN’
http://www.springframework.org/dtd/spring-beans-2.0.dtd’>
<beans>
<bean id="webscript.org.example.javadir.get"
class="org.example.JavaDir" parent="webscript">
<property name="repository" ref="repositoryHelper"/>
</bean>
</beans>

but i have this exception when starting my Alfresco Tomcat Server

Offending resource: class path resource [alfresco/application-context.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from file [C:\Alfresco\tomcat\shared\classes\alfresco\extension\javadir-context.xml]; nested exception is org.apache.xerces.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence.
   at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)
   at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
10 REPLIES 10

oluwasegzy
Champ in-the-making
Champ in-the-making
I have being looking for the jar for org.springframework.extensions.webscripts but have being able to find it.

I understand this the package that replaces org.alfresco.web.scripts in the Alfresco V 3.3 and above


Please where can i get this packeage