Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-4038

tuscany-maven-plugin run dosen't load maven runtime dependencies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Java-SCA-2.0-Beta3
    • None
    • Maven Plugins
    • mac os 10.7, eclipse jee 3.7, project tuscany 2.0 demo 'helloworld use ZIP format contributions'
    • Patch Available

    Description

      project tuscany 2.0 demo 'helloworld use ZIP format contributions'

      no runtime dependencies, only classes in ${project.directory}/target/classes can be found.

      mvn tuscany:run

      console:
      ...
      install file:/Users/someone/Development/workspace/tutorial_soa/target/classes/ -start
      ...
      default> invoke HelloworldComponent sayHello myName
      invoke HelloworldComponent sayHello myName
      java.lang.NoClassDefFoundError: org/apache/commons/lang3/text/WordUtils
      at org.myapp.sca.hello.HelloworldImpl.sayHello(HelloworldImpl.java:16)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:164)
      at org.apache.tuscany.sca.core.invocation.InterceptorAsyncImpl.invoke(InterceptorAsyncImpl.java:58)
      at org.apache.tuscany.sca.core.invocation.RuntimeInvoker.invoke(RuntimeInvoker.java:125)
      at org.apache.tuscany.sca.core.invocation.RuntimeInvoker.invoke(RuntimeInvoker.java:108)
      at org.apache.tuscany.sca.core.assembly.impl.RuntimeEndpointImpl.invoke(RuntimeEndpointImpl.java:311)
      at org.apache.tuscany.sca.binding.ws.jaxws.JAXWSBindingProvider.invoke(JAXWSBindingProvider.java:207)
      at org.apache.tuscany.sca.binding.ws.jaxws.JAXWSBindingProvider.invoke(JAXWSBindingProvider.java:61)
      at com.sun.xml.internal.ws.api.server.InstanceResolver$1.invokeProvider(InstanceResolver.java:245)
      at com.sun.xml.internal.ws.server.InvokerTube$2.invokeProvider(InvokerTube.java:145)
      at com.sun.xml.internal.ws.server.provider.SyncProviderInvokerTube.processRequest(SyncProviderInvokerTube.java:67)
      at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:587)
      at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:546)
      at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:531)
      at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:428)
      at com.sun.xml.internal.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:232)
      at com.sun.xml.internal.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:460)
      at com.sun.xml.internal.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:233)
      at com.sun.xml.internal.ws.transport.http.server.WSHttpHandler.handleExchange(WSHttpHandler.java:95)
      at com.sun.xml.internal.ws.transport.http.server.WSHttpHandler.handle(WSHttpHandler.java:80)
      at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:65)
      at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:65)
      at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:68)
      at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:557)
      at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:65)
      at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:529)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:680)

      Attachments

        Activity

          People

            Unassigned Unassigned
            chshawkn chshawkn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified