|
From: Tobias K. <tux...@de...> - 2008-01-25 10:48:44
|
Hi together, due to high spamming on this list I leave it. Please answer mails also with PM to me. Greetings, Tobias Tobias Krais schrieb: > 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 > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |