You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Benson Margulies <bi...@basistech.com> on 2007/09/30 16:00:26 UTC
class not found error on 2.0.2 when trying to use log4j
[junit] Testcase:
testEchoNoException(com.basistech.rnm.index.ws.EchoTest): Caused an
ERROR
[junit] null
[junit] java.lang.ExceptionInInitializerError
[junit] at
org.apache.cxf.aegis.util.jdom.StaxBuilder.<init>(StaxBuilder.java:134)
[junit] at
org.apache.cxf.aegis.type.XMLTypeCreator.getDocument(XMLTypeCreator.java
:114)
[junit] at
org.apache.cxf.aegis.type.XMLTypeCreator.findMapping(XMLTypeCreator.java
:173)
[junit] at
org.apache.cxf.aegis.type.XMLTypeCreator.isEnum(XMLTypeCreator.java:125)
[junit] at
org.apache.cxf.aegis.type.AbstractTypeCreator.createTypeForClass(Abstrac
tTypeCreator.java:114)
[junit] at
org.apache.cxf.aegis.databinding.AegisDatabinding.getParameterType(Aegis
Databinding.java:400)
[junit] at
org.apache.cxf.aegis.databinding.AegisDatabinding.initializeMessage(Aegi
sDatabinding.java:230)
[junit] at
org.apache.cxf.aegis.databinding.AegisDatabinding.initializeOperation(Ae
gisDatabinding.java:208)
[junit] at
org.apache.cxf.aegis.databinding.AegisDatabinding.initialize(AegisDatabi
nding.java:153)
[junit] at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildService
FromClass(ReflectionServiceFactoryBean.java:244)
[junit] at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeSe
rviceModel(ReflectionServiceFactoryBean.java:272)
[junit] at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(Refle
ctionServiceFactoryBean.java:146)
[junit] at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsService
FactoryBean.java:89)
[junit] at
org.apache.cxf.frontend.AbstractEndpointFactory.createEndpoint(AbstractE
ndpointFactory.java:83)
[junit] at
org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:
107)
[junit] at
org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBea
n.java:147)
[junit] at
com.basistech.rnm.index.ws.WebServiceTestCase.setUp(WebServiceTestCase.j
ava:39)
[junit] Caused by: java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException
[junit] at
org.apache.cxf.common.logging.LogUtils.createLogger(LogUtils.java:93)
[junit] at
org.apache.cxf.common.logging.LogUtils.getL7dLogger(LogUtils.java:62)
[junit] at
org.apache.cxf.staxutils.StaxUtils.<clinit>(StaxUtils.java:63)
[junit] Caused by: java.lang.reflect.InvocationTargetException
[junit] at
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
[junit] at
org.apache.cxf.common.logging.LogUtils.createLogger(LogUtils.java:85)
[junit] Caused by: java.util.MissingResourceException: Can't find
org.apache.cxf.staxutils.Messages bundle
[junit] at
java.util.logging.Logger.setupResourceInfo(Logger.java:1309)
[junit] at java.util.logging.Logger.<init>(Logger.java:204)
[junit] at
org.apache.cxf.common.logging.AbstractDelegatingLogger.<init>(AbstractDe
legatingLogger.java:43)
[junit] at
org.apache.cxf.common.logging.Log4jLogger.<init>(Log4jLogger.java:66)
[junit]
RE: class not found error on 2.0.2 when trying to use log4j
Posted by Freeman Fang <fr...@gmail.com>.
That's the same problem when we integrate cxf with servicemix, we also need
this logging feature but have to wait for next cxf 2.0.3 release.
Freeman
bmargulies wrote:
>
> Sadly, I need to package up my own product now against a released
> version of CXF.
>
> Also, building the trunk blows up because it can't find some pieces of
> spring 2.0.6 in the maven repos.
>
>> -----Original Message-----
>> From: Freeman Fang [mailto:freeman.fang@gmail.com]
>> Sent: Sunday, September 30, 2007 9:35 PM
>> To: cxf-user@incubator.apache.org
>> Subject: Re: class not found error on 2.0.2 when trying to use log4j
>>
>>
>> Just try the latest trunk.
>>
>> We get it fixed after 2.0.2 release
>>
>> Best Regards
>>
>> Freeman
>>
>> bmargulies wrote:
>> >
>> > [junit] Testcase:
>> > testEchoNoException(com.basistech.rnm.index.ws.EchoTest): Caused an
>> > ERROR
>> >
>> > [junit] null
>> >
>> > [junit] java.lang.ExceptionInInitializerError
>> >
>> > [junit] at
>> >
> org.apache.cxf.aegis.util.jdom.StaxBuilder.<init>(StaxBuilder.java:134)
>> >
>> > [junit] at
>> >
> org.apache.cxf.aegis.type.XMLTypeCreator.getDocument(XMLTypeCreator.java
>> > :114)
>> >
>> > [junit] at
>> >
> org.apache.cxf.aegis.type.XMLTypeCreator.findMapping(XMLTypeCreator.java
>> > :173)
>> >
>> > [junit] at
>> >
> org.apache.cxf.aegis.type.XMLTypeCreator.isEnum(XMLTypeCreator.java:125)
>> >
>> > [junit] at
>> >
> org.apache.cxf.aegis.type.AbstractTypeCreator.createTypeForClass(Abstrac
>> > tTypeCreator.java:114)
>> >
>> > [junit] at
>> >
> org.apache.cxf.aegis.databinding.AegisDatabinding.getParameterType(Aegis
>> > Databinding.java:400)
>> >
>> > [junit] at
>> >
> org.apache.cxf.aegis.databinding.AegisDatabinding.initializeMessage(Aegi
>> > sDatabinding.java:230)
>> >
>> > [junit] at
>> >
> org.apache.cxf.aegis.databinding.AegisDatabinding.initializeOperation(Ae
>> > gisDatabinding.java:208)
>> >
>> > [junit] at
>> >
> org.apache.cxf.aegis.databinding.AegisDatabinding.initialize(AegisDatabi
>> > nding.java:153)
>> >
>> > [junit] at
>> >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildService
>> > FromClass(ReflectionServiceFactoryBean.java:244)
>> >
>> > [junit] at
>> >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeSe
>> > rviceModel(ReflectionServiceFactoryBean.java:272)
>> >
>> > [junit] at
>> >
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(Refle
>> > ctionServiceFactoryBean.java:146)
>> >
>> > [junit] at
>> >
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsService
>> > FactoryBean.java:89)
>> >
>> > [junit] at
>> >
> org.apache.cxf.frontend.AbstractEndpointFactory.createEndpoint(AbstractE
>> > ndpointFactory.java:83)
>> >
>> > [junit] at
>> >
> org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:
>> > 107)
>> >
>> > [junit] at
>> >
> org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBea
>> > n.java:147)
>> >
>> > [junit] at
>> >
> com.basistech.rnm.index.ws.WebServiceTestCase.setUp(WebServiceTestCase.j
>> > ava:39)
>> >
>> > [junit] Caused by: java.lang.RuntimeException:
>> > java.lang.reflect.InvocationTargetException
>> >
>> > [junit] at
>> >
> org.apache.cxf.common.logging.LogUtils.createLogger(LogUtils.java:93)
>> >
>> > [junit] at
>> >
> org.apache.cxf.common.logging.LogUtils.getL7dLogger(LogUtils.java:62)
>> >
>> > [junit] at
>> > org.apache.cxf.staxutils.StaxUtils.<clinit>(StaxUtils.java:63)
>> >
>> > [junit] Caused by: java.lang.reflect.InvocationTargetException
>> >
>> > [junit] at
>> > java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>> >
>> > [junit] at
>> >
> org.apache.cxf.common.logging.LogUtils.createLogger(LogUtils.java:85)
>> >
>> > [junit] Caused by: java.util.MissingResourceException: Can't
> find
>> > org.apache.cxf.staxutils.Messages bundle
>> >
>> > [junit] at
>> > java.util.logging.Logger.setupResourceInfo(Logger.java:1309)
>> >
>> > [junit] at java.util.logging.Logger.<init>(Logger.java:204)
>> >
>> > [junit] at
>> >
> org.apache.cxf.common.logging.AbstractDelegatingLogger.<init>(AbstractDe
>> > legatingLogger.java:43)
>> >
>> > [junit] at
>> >
> org.apache.cxf.common.logging.Log4jLogger.<init>(Log4jLogger.java:66)
>> >
>> > [junit]
>> >
>> >
>> >
>>
>> --
>> View this message in context:
> http://www.nabble.com/class-not-found-error-
>> on-2.0.2-when-trying-to-use-log4j-tf4543531.html#a12972137
>> Sent from the cxf-user mailing list archive at Nabble.com.
>
>
>
--
View this message in context: http://www.nabble.com/class-not-found-error-on-2.0.2-when-trying-to-use-log4j-tf4543531.html#a12972285
Sent from the cxf-user mailing list archive at Nabble.com.
RE: class not found error on 2.0.2 when trying to use log4j
Posted by Benson Margulies <bi...@basistech.com>.
Sadly, I need to package up my own product now against a released
version of CXF.
Also, building the trunk blows up because it can't find some pieces of
spring 2.0.6 in the maven repos.
> -----Original Message-----
> From: Freeman Fang [mailto:freeman.fang@gmail.com]
> Sent: Sunday, September 30, 2007 9:35 PM
> To: cxf-user@incubator.apache.org
> Subject: Re: class not found error on 2.0.2 when trying to use log4j
>
>
> Just try the latest trunk.
>
> We get it fixed after 2.0.2 release
>
> Best Regards
>
> Freeman
>
> bmargulies wrote:
> >
> > [junit] Testcase:
> > testEchoNoException(com.basistech.rnm.index.ws.EchoTest): Caused an
> > ERROR
> >
> > [junit] null
> >
> > [junit] java.lang.ExceptionInInitializerError
> >
> > [junit] at
> >
org.apache.cxf.aegis.util.jdom.StaxBuilder.<init>(StaxBuilder.java:134)
> >
> > [junit] at
> >
org.apache.cxf.aegis.type.XMLTypeCreator.getDocument(XMLTypeCreator.java
> > :114)
> >
> > [junit] at
> >
org.apache.cxf.aegis.type.XMLTypeCreator.findMapping(XMLTypeCreator.java
> > :173)
> >
> > [junit] at
> >
org.apache.cxf.aegis.type.XMLTypeCreator.isEnum(XMLTypeCreator.java:125)
> >
> > [junit] at
> >
org.apache.cxf.aegis.type.AbstractTypeCreator.createTypeForClass(Abstrac
> > tTypeCreator.java:114)
> >
> > [junit] at
> >
org.apache.cxf.aegis.databinding.AegisDatabinding.getParameterType(Aegis
> > Databinding.java:400)
> >
> > [junit] at
> >
org.apache.cxf.aegis.databinding.AegisDatabinding.initializeMessage(Aegi
> > sDatabinding.java:230)
> >
> > [junit] at
> >
org.apache.cxf.aegis.databinding.AegisDatabinding.initializeOperation(Ae
> > gisDatabinding.java:208)
> >
> > [junit] at
> >
org.apache.cxf.aegis.databinding.AegisDatabinding.initialize(AegisDatabi
> > nding.java:153)
> >
> > [junit] at
> >
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildService
> > FromClass(ReflectionServiceFactoryBean.java:244)
> >
> > [junit] at
> >
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeSe
> > rviceModel(ReflectionServiceFactoryBean.java:272)
> >
> > [junit] at
> >
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(Refle
> > ctionServiceFactoryBean.java:146)
> >
> > [junit] at
> >
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsService
> > FactoryBean.java:89)
> >
> > [junit] at
> >
org.apache.cxf.frontend.AbstractEndpointFactory.createEndpoint(AbstractE
> > ndpointFactory.java:83)
> >
> > [junit] at
> >
org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:
> > 107)
> >
> > [junit] at
> >
org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBea
> > n.java:147)
> >
> > [junit] at
> >
com.basistech.rnm.index.ws.WebServiceTestCase.setUp(WebServiceTestCase.j
> > ava:39)
> >
> > [junit] Caused by: java.lang.RuntimeException:
> > java.lang.reflect.InvocationTargetException
> >
> > [junit] at
> >
org.apache.cxf.common.logging.LogUtils.createLogger(LogUtils.java:93)
> >
> > [junit] at
> >
org.apache.cxf.common.logging.LogUtils.getL7dLogger(LogUtils.java:62)
> >
> > [junit] at
> > org.apache.cxf.staxutils.StaxUtils.<clinit>(StaxUtils.java:63)
> >
> > [junit] Caused by: java.lang.reflect.InvocationTargetException
> >
> > [junit] at
> > java.lang.reflect.Constructor.newInstance(Constructor.java:494)
> >
> > [junit] at
> >
org.apache.cxf.common.logging.LogUtils.createLogger(LogUtils.java:85)
> >
> > [junit] Caused by: java.util.MissingResourceException: Can't
find
> > org.apache.cxf.staxutils.Messages bundle
> >
> > [junit] at
> > java.util.logging.Logger.setupResourceInfo(Logger.java:1309)
> >
> > [junit] at java.util.logging.Logger.<init>(Logger.java:204)
> >
> > [junit] at
> >
org.apache.cxf.common.logging.AbstractDelegatingLogger.<init>(AbstractDe
> > legatingLogger.java:43)
> >
> > [junit] at
> >
org.apache.cxf.common.logging.Log4jLogger.<init>(Log4jLogger.java:66)
> >
> > [junit]
> >
> >
> >
>
> --
> View this message in context:
http://www.nabble.com/class-not-found-error-
> on-2.0.2-when-trying-to-use-log4j-tf4543531.html#a12972137
> Sent from the cxf-user mailing list archive at Nabble.com.
Re: class not found error on 2.0.2 when trying to use log4j
Posted by Freeman Fang <fr...@gmail.com>.
Just try the latest trunk.
We get it fixed after 2.0.2 release
Best Regards
Freeman
bmargulies wrote:
>
> [junit] Testcase:
> testEchoNoException(com.basistech.rnm.index.ws.EchoTest): Caused an
> ERROR
>
> [junit] null
>
> [junit] java.lang.ExceptionInInitializerError
>
> [junit] at
> org.apache.cxf.aegis.util.jdom.StaxBuilder.<init>(StaxBuilder.java:134)
>
> [junit] at
> org.apache.cxf.aegis.type.XMLTypeCreator.getDocument(XMLTypeCreator.java
> :114)
>
> [junit] at
> org.apache.cxf.aegis.type.XMLTypeCreator.findMapping(XMLTypeCreator.java
> :173)
>
> [junit] at
> org.apache.cxf.aegis.type.XMLTypeCreator.isEnum(XMLTypeCreator.java:125)
>
> [junit] at
> org.apache.cxf.aegis.type.AbstractTypeCreator.createTypeForClass(Abstrac
> tTypeCreator.java:114)
>
> [junit] at
> org.apache.cxf.aegis.databinding.AegisDatabinding.getParameterType(Aegis
> Databinding.java:400)
>
> [junit] at
> org.apache.cxf.aegis.databinding.AegisDatabinding.initializeMessage(Aegi
> sDatabinding.java:230)
>
> [junit] at
> org.apache.cxf.aegis.databinding.AegisDatabinding.initializeOperation(Ae
> gisDatabinding.java:208)
>
> [junit] at
> org.apache.cxf.aegis.databinding.AegisDatabinding.initialize(AegisDatabi
> nding.java:153)
>
> [junit] at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildService
> FromClass(ReflectionServiceFactoryBean.java:244)
>
> [junit] at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeSe
> rviceModel(ReflectionServiceFactoryBean.java:272)
>
> [junit] at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(Refle
> ctionServiceFactoryBean.java:146)
>
> [junit] at
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsService
> FactoryBean.java:89)
>
> [junit] at
> org.apache.cxf.frontend.AbstractEndpointFactory.createEndpoint(AbstractE
> ndpointFactory.java:83)
>
> [junit] at
> org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:
> 107)
>
> [junit] at
> org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBea
> n.java:147)
>
> [junit] at
> com.basistech.rnm.index.ws.WebServiceTestCase.setUp(WebServiceTestCase.j
> ava:39)
>
> [junit] Caused by: java.lang.RuntimeException:
> java.lang.reflect.InvocationTargetException
>
> [junit] at
> org.apache.cxf.common.logging.LogUtils.createLogger(LogUtils.java:93)
>
> [junit] at
> org.apache.cxf.common.logging.LogUtils.getL7dLogger(LogUtils.java:62)
>
> [junit] at
> org.apache.cxf.staxutils.StaxUtils.<clinit>(StaxUtils.java:63)
>
> [junit] Caused by: java.lang.reflect.InvocationTargetException
>
> [junit] at
> java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>
> [junit] at
> org.apache.cxf.common.logging.LogUtils.createLogger(LogUtils.java:85)
>
> [junit] Caused by: java.util.MissingResourceException: Can't find
> org.apache.cxf.staxutils.Messages bundle
>
> [junit] at
> java.util.logging.Logger.setupResourceInfo(Logger.java:1309)
>
> [junit] at java.util.logging.Logger.<init>(Logger.java:204)
>
> [junit] at
> org.apache.cxf.common.logging.AbstractDelegatingLogger.<init>(AbstractDe
> legatingLogger.java:43)
>
> [junit] at
> org.apache.cxf.common.logging.Log4jLogger.<init>(Log4jLogger.java:66)
>
> [junit]
>
>
>
--
View this message in context: http://www.nabble.com/class-not-found-error-on-2.0.2-when-trying-to-use-log4j-tf4543531.html#a12972137
Sent from the cxf-user mailing list archive at Nabble.com.