|
From: Tobias K. <tux...@de...> - 2008-01-25 08:54:36
|
Hi together, I am new to the spring framework and I encounter serious problems. I use Eclipse and my project using Spring 2.5.1 works very well. But the application I develop will be an OpenOffice extension and here the problems beginn. An OpenOffice Extension is a zip compressed file with the extension .oxt. Here the relevant part of my extension (name: JudasComponent.oxt): JudasComponent.oxt |-> conf/ | |-> applicationContext-YaCupDB.xml | |-> jdbc.properties | |-> log4j.properties |-> lib/ | |-> spring.jar | |-> other relevant jars |-> META-INF/ | |-> manifest.xml |-> JudasComponent.uno.jar | |-> de/ | | |-> classes of the OpenOffice Extension | |-> META-INF/ | | |-> MANIFEST.MF |-> other files, irrelevant for spring When starting my OpenOffice Extension, i get the following error: -----%<----- org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/tx] Offending resource: URL [file:/home/tobias/.openoffice.org2/user/uno_packages/cache/uno_packages/g9A3TQ_/JudasComponent.oxt/conf/applicationContext-YaCupDB.xml] ... -----%<----- As far I researched, the reason for this error is that the spring.handlers file is not found. Why does it work when starting my application within Eclipse and not as an OpenOffice Extension? Can someone help me to solve this issue? Help is highly appreciated! Greetings, Tobias |