I suspect in both cases, it cannot find the http component. 

In the case of http-binding.....

Loading Apache ServiceMix from file: servicemix.xml
Caught: org.springframework.beans.factory.BeanDefinitionStoreException:
Error registering bean with name '' defined in file
[C:\java\incubating-servicemix-3.0-SNAPSHOT\examples\http-binding\servicemix.xml]:
Class that bean class [org.apache.servicemix.components.http.HttpConnector]
depends on not found; nested exception is java.lang.NoClassDefFoundError:
org/mortbay/util/Attributes
org.springframework.beans.factory.BeanDefinitionStoreException: Error
registering bean with name '' defined in file
[C:\java\incubating-servicemix-3.0-SNAPSHOT\examples\http-binding\servicemix.xml]:
Class that bean class [org.apache.servicemix.components.http.HttpConnector]
depends on not found; nested exception is java.lang.NoClassDefFoundError:
org/mortbay/util/Attributes
java.lang.NoClassDefFoundError: org/mortbay/util/Attributes
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
        at java.security.AccessController.doPrivileged(Native Method)

In the case of soap-binding...........


Loading Apache ServiceMix from file: servicemix.xml
INFO - ComponentMBeanImpl.init(184) | Initializing component:
#SubscriptionManager#
INFO - DeploymentService.buildState(683) | Restoring service assemblies
INFO - JBIContainer.init(519) | ServiceMix JBI Container
(http://servicemix.org/) name: ServiceMix running version: 3.0-SNAPSHOT
INFO - AutoDeploymentService$2.run(505) | Directory: deploy: Archive
changed: processing soap-demo-sa.zip ...
INFO - AutoDeploymentService.updateArchive(265) | Components
servicemix-http, servicemix-jsr181 are not installed yet - adding
ServiceAssembly soap-demo to pending list
INFO - AutoDeploymentService$2.run(509) | Directory: deploy: Finished
installation of archive:  soap-demo-sa.zip

--
View this message in context: 
http://www.nabble.com/http-binding-and-soap-binding-example-broken-t1638798.html#a4438563
Sent from the ServiceMix - User forum at Nabble.com.

Reply via email to