may be b/c I place my spring xml under META-INF/spring ??

-Dan

On Thu, May 17, 2012 at 12:39 PM, Achim Nierbeck
<[email protected]> wrote:
> Hi Dan,
>
> first of all I don't think that you need to include the osgi.jar.
> To me it looks a lot like your spring config does contain something
> that doesn't work in a OSGi-Classloader environment.
> So maybe you should show us an example of what your xmls look like.
>
> regards, Achim
>
> 2012/5/15 Dan Tran <[email protected]>:
>> plain Spring 3.1.1.  No spring-dm.
>>
>> Thanks
>>
>> -Dan
>>
>> On Tue, May 15, 2012 at 12:03 AM, Achim Nierbeck
>> <[email protected]> wrote:
>>> Hi Dan,
>>>
>>> are you trying to use spring-dm or plain spring?
>>>
>>> regards, Achim
>>>
>>> 2012/5/15 Dan Tran <[email protected]>:
>>>> ping again, just in case this lost in the wide :-)
>>>>
>>>> -D
>>>>
>>>> On Sat, May 12, 2012 at 10:44 AM, Dan Tran <[email protected]> wrote:
>>>>> Note: osgi-core-4.2.0 does not have the package
>>>>> org.eclipse.osgi.service.urlconversion.URLConverter.  It is under 3.x
>>>>>
>>>>> -D
>>>>>
>>>>>
>>>>>
>>>>> On Sat, May 12, 2012 at 10:19 AM, Dan Tran <[email protected]> wrote:
>>>>>> Hello,
>>>>>>
>>>>>> This is another attempt to load my JSF2 webapp to karaf ( thanks for
>>>>>> pax-web-1.1.x, loading JSF 2.x is now possible ). However, I run into
>>>>>> another problem loading spring at init time
>>>>>>
>>>>>> here is the error
>>>>>>
>>>>>> Offending resource: class path resource
>>>>>> [com/mycomp/shared/setting/applicationContext.xml]; nested exception
>>>>>> is org.springframework.beans.factory.BeanDefinitionStoreException:
>>>>>> Unexpected exception parsing XML document from class path resource
>>>>>> [META-INF/spring/ll-setting.xml]; nested exception is
>>>>>> java.lang.NoClassDefFoundError:
>>>>>> org.eclipse.osgi.service.urlconversion.URLConverter not found by mc
>>>>>> [64]
>>>>>>
>>>>>>
>>>>>> is this a bug? or just the way I am setting my spring resource config
>>>>>> file?  O I need osgi.jar in my war file?
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> -D
>>>
>>>
>>>
>>> --
>>>
>>> Apache Karaf <http://karaf.apache.org/> Committer & PMC
>>> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
>>> Committer & Project Lead
>>> OPS4J Pax for Vaadin
>>> <http://team.ops4j.org/wiki/display/PAXVAADIN/Home> Commiter & Project
>>> Lead
>>> blog <http://notizblog.nierbeck.de/>
>
>
>
> --
>
> Apache Karaf <http://karaf.apache.org/> Committer & PMC
> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
> Committer & Project Lead
> OPS4J Pax for Vaadin
> <http://team.ops4j.org/wiki/display/PAXVAADIN/Home> Commiter & Project
> Lead
> blog <http://notizblog.nierbeck.de/>

Reply via email to