You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Krzysztof Sobkowiak (JIRA)" <ji...@apache.org> on 2016/01/30 22:44:39 UTC

[jira] [Created] (SM-2848) cxf-wsn-client client fails due to wrong slf4j version

Krzysztof Sobkowiak created SM-2848:
---------------------------------------

             Summary: cxf-wsn-client client fails due to wrong slf4j version
                 Key: SM-2848
                 URL: https://issues.apache.org/jira/browse/SM-2848
             Project: ServiceMix
          Issue Type: Bug
          Components: examples
            Reporter: Krzysztof Sobkowiak
            Assignee: Krzysztof Sobkowiak
             Fix For: 7.0.0.M1, 7.0.0


{code}
kso@lenovo:~/work/projects/asf/smx/servicemix-master/examples/cxf/cxf-wsn/cxf-wsn-client$ mvn clean install exec:java
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache ServiceMix :: Examples :: CXF WSN :: Client 7.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 

................................

[INFO] --- exec-maven-plugin:1.3.2:java (default-cli) @ cxf-wsn-client ---
[WARNING] Warning: killAfter is now deprecated. Do you need it ? Please comment on MEXEC-6.
Jan 30, 2016 10:38:18 PM org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean buildServiceFromWSDL
INFO: Creating Service {http://cxf.apache.org/wsn/jaxws}NotificationConsumerService from WSDL: jar:file:/home/kso/.m2/repository/org/apache/cxf/services/wsn/cxf-services-wsn-api/3.1.4/cxf-services-wsn-api-3.1.4.jar!/org/apache/cxf/wsn/wsdl/wsn.wsdl
Jan 30, 2016 10:38:18 PM org.apache.cxf.endpoint.ServerImpl initDestination
INFO: Setting the server's publish address to be http://localhost:9001/MyConsumer
[WARNING] 
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.arrayFormat(Ljava/lang/String;[Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple;
	at org.eclipse.jetty.util.log.JettyAwareLogger.log(JettyAwareLogger.java:619)
	at org.eclipse.jetty.util.log.JettyAwareLogger.info(JettyAwareLogger.java:314)
	at org.eclipse.jetty.util.log.Slf4jLog.info(Slf4jLog.java:74)
	at org.eclipse.jetty.util.log.Log.initialized(Log.java:186)
	at org.eclipse.jetty.util.log.Log.getLogger(Log.java:288)
	at org.eclipse.jetty.util.log.Log.getLogger(Log.java:278)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.<clinit>(AbstractLifeCycle.java:35)
	at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.createJettyHTTPHandler(JettyHTTPDestination.java:181)
	at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.activate(JettyHTTPDestination.java:174)
	at org.apache.cxf.transport.AbstractObservable.setMessageObserver(AbstractObservable.java:53)
	at org.apache.cxf.binding.AbstractBindingFactory.addListener(AbstractBindingFactory.java:95)
	at org.apache.cxf.binding.soap.SoapBindingFactory.addListener(SoapBindingFactory.java:895)
	at org.apache.cxf.endpoint.ServerImpl.start(ServerImpl.java:123)
	at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:366)
	at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:255)
	at org.apache.cxf.wsn.util.CXFWSNHelper.publish(CXFWSNHelper.java:96)
	at org.apache.cxf.wsn.client.Consumer.<init>(Consumer.java:55)
	at org.apache.servicemix.examples.cxf.client.Client.main(Client.java:54)
	... 6 more
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.320 s
[INFO] Finished at: 2016-01-30T22:38:18+01:00
[INFO] Final Memory: 47M/662M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.2:java (default-cli) on project cxf-wsn-client: An exception occured while executing the Java class. null: InvocationTargetException: org.slf4j.helpers.MessageFormatter.arrayFormat(Ljava/lang/String;[Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple; -> [Help 1]




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)