You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to upload files but I don't get it working. I've reading different tutorials and how-tos and it seems I need to define a parameter of type Attachment or MultipartBody or annotate my parameter with @Multipart. It doesn't matter what I try because it doesn't work. Every time I define a parameter as Attachment or MultipartBody the application fails to start with the following error.
It seems that it's trying to instantiate Attachment class using an empty constructor but the class doesn't provide it. If I use MultipartBody I get the same error.
Does anyone have a working example of how to upload files with this plugin an SoapUI?
| Error java.lang.reflect.InvocationTargetException
| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
| Error at java.lang.reflect.Method.invoke(Method.java:498)
| Error at com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator.__sljlcgdc(ReflectionNavigator.java)
| Error at com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator.hasDefaultConstructor(ReflectionNavigator.java:500)
| Error at com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator.hasDefaultConstructor(ReflectionNavigator.java:47)
| Error at com.sun.xml.internal.bind.v2.model.impl.ClassInfoImpl.<init>(ClassInfoImpl.java:194)
| Error at com.sun.xml.internal.bind.v2.model.impl.RuntimeClassInfoImpl.<init>(RuntimeClassInfoImpl.java:87)
| Error at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.createClassInfo(RuntimeModelBuilder.java:98)
| Error at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.createClassInfo(RuntimeModelBuilder.java:69)
| Error at com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:242)
| Error at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:88)
| Error at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:69)
| Error at com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:212)
| Error at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:83)
| Error at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:69)
| Error at com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:360)
| Error at com.sun.xml.internal.bind.v2.model.impl.TypeRefImpl.calcRef(TypeRefImpl.java:81)
| Error at com.sun.xml.internal.bind.v2.model.impl.TypeRefImpl.getTarget(TypeRefImpl.java:58)
| Error at com.sun.xml.internal.bind.v2.model.impl.RuntimeTypeRefImpl.getTarget(RuntimeTypeRefImpl.java:47)
| Error at com.sun.xml.internal.bind.v2.model.impl.RuntimeTypeRefImpl.getTarget(RuntimeTypeRefImpl.java:40)
| Error at com.sun.xml.internal.bind.v2.model.impl.ElementPropertyInfoImpl$1.get(ElementPropertyInfoImpl.java:63)
| Error at com.sun.xml.internal.bind.v2.model.impl.ElementPropertyInfoImpl$1.get(ElementPropertyInfoImpl.java:61)
| Error at java.util.AbstractList$Itr.next(AbstractList.java:358)
| Error at com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:260)
| Error at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:88)
| Error at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:69)
| Error at com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:212)
| Error at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:83)
| Error at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:69)
| Error at com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:360)
| Error at com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:375)
| Error at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:439)
| Error at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:277)
| Error at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:124)
| Error at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1123)
| Error at com.sun.xml.internal.bind.v2.ContextFactory.createContext(ContextFactory.java:147)
| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
| Error at java.lang.reflect.Method.invoke(Method.java:498)
| Error at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:247)
| Error at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:234)
| Error at javax.xml.bind.ContextFinder.find(ContextFinder.java:462)
| Error at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:641)
| Error at org.apache.cxf.common.jaxb.JAXBContextCache.createContext(JAXBContextCache.java:358)
| Error at org.apache.cxf.common.jaxb.JAXBContextCache.getCachedContextAndSchemas(JAXBContextCache.java:246)
| Error at org.apache.cxf.jaxb.JAXBDataBinding.createJAXBContextAndSchemas(JAXBDataBinding.java:479)
| Error at org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:334)
| Error at org.apache.cxf.service.factory.AbstractServiceFactoryBean.initializeDataBindings(AbstractServiceFactoryBean.java:86)
| Error at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:467)
| Error at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:712)
| Error at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:527)
| Error at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:261)
| Error at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:215)
| Error at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:102)
| Error at org.grails.cxf.frontend.GrailsJaxWsServerFactoryBean.createEndpoint(GrailsJaxWsServerFactoryBean.groovy)
| Error at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:159)
| Error at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:211)
| Error at org.grails.cxf.frontend.GrailsJaxWsServerFactoryBean.create(GrailsJaxWsServerFactoryBean.groovy)
| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
| Error at java.lang.reflect.Method.invoke(Method.java:498)
| Error at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1426)
| Error at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
| Error at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
| Error at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1117)
| Error at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1012)
| Error at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
| Error at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
| Error at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
| Error at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
| Error at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
| Error at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
| Error at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
| Error at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:759)
| Error at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
| Error at org.codehaus.groovy.grails.commons.spring.DefaultRuntimeSpringConfiguration.getApplicationContext(DefaultRuntimeSpringConfiguration.java:156)
| Error at grails.spring.BeanBuilder.createApplicationContext(BeanBuilder.java:593)
| Error at grails.spring.BeanBuilder$createApplicationContext$0.call(Unknown Source)
| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
| Error at org.grails.cxf.servlet.GrailsCxfServlet.loadAdditionalConfig(GrailsCxfServlet.groovy:53)
| Error at org.grails.cxf.servlet.GrailsCxfServlet.init(GrailsCxfServlet.groovy:25)
| Error at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1282)
| Error at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1195)
| Error at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1085)
| Error at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5349)
| Error at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5641)
| Error at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
| Error at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571)
| Error at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561)
| Error at java.util.concurrent.FutureTask.run(FutureTask.java:266)
| Error at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
| Error at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
| Error at java.lang.Thread.run(Thread.java:745)
| Error Caused by: java.lang.NoSuchMethodException: org.apache.cxf.jaxrs.ext.multipart.MultipartBody.<init>()
| Error at java.lang.Class.getConstructor0(Class.java:3082)
| Error at java.lang.Class.getDeclaredConstructor(Class.java:2178)
| Error at org.springsource.loaded.ri.ReflectiveInterceptor.jlClassGetDeclaredConstructor(ReflectiveInterceptor.java:476)
| Error ... 99 more
| Error java.lang.reflect.InvocationTargetException
| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
| Error at java.lang.reflect.Method.invoke(Method.java:498)
| Error at com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator.__sljlcgdc(ReflectionNavigator.java)
| Error at com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator.hasDefaultConstructor(ReflectionNavigator.java:500)
| Error at com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator.hasDefaultConstructor(ReflectionNavigator.java:47)
| Error at com.sun.xml.internal.bind.v2.model.impl.ClassInfoImpl.<init>(ClassInfoImpl.java:194)
| Error at com.sun.xml.internal.bind.v2.model.impl.RuntimeClassInfoImpl.<init>(RuntimeClassInfoImpl.java:87)
| Error at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.createClassInfo(RuntimeModelBuilder.java:98)
| Error at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.createClassInfo(RuntimeModelBuilder.java:69)
| Error at com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:242)
| Error at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:88)
| Error at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:69)
| Error at com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:212)
| Error at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:83)
| Error at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:69)
| Error at com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:360)
| Error at com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:375)
| Error at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:439)
| Error at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:277)
| Error at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:124)
| Error at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1123)
| Error at com.sun.xml.internal.bind.v2.ContextFactory.createContext(ContextFactory.java:147)
| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
| Error at java.lang.reflect.Method.invoke(Method.java:498)
| Error at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:247)
| Error at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:234)
| Error at javax.xml.bind.ContextFinder.find(ContextFinder.java:462)
| Error at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:641)
| Error at org.apache.cxf.common.jaxb.JAXBContextCache.createContext(JAXBContextCache.java:358)
| Error at org.apache.cxf.common.jaxb.JAXBContextCache.getCachedContextAndSchemas(JAXBContextCache.java:246)
| Error at org.apache.cxf.jaxb.JAXBDataBinding.createJAXBContextAndSchemas(JAXBDataBinding.java:479)
| Error at org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:334)
| Error at org.apache.cxf.service.factory.AbstractServiceFactoryBean.initializeDataBindings(AbstractServiceFactoryBean.java:86)
| Error at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:467)
| Error at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:712)
| Error at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:527)
| Error at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:261)
| Error at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:215)
| Error at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:102)
| Error at org.grails.cxf.frontend.GrailsJaxWsServerFactoryBean.createEndpoint(GrailsJaxWsServerFactoryBean.groovy)
| Error at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:159)
| Error at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:211)
| Error at org.grails.cxf.frontend.GrailsJaxWsServerFactoryBean.create(GrailsJaxWsServerFactoryBean.groovy)
| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
| Error at java.lang.reflect.Method.invoke(Method.java:498)
| Error at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1426)
| Error at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
| Error at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
| Error at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1117)
| Error at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1012)
| Error at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
| Error at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
| Error at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
| Error at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
| Error at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
| Error at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
| Error at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
| Error at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:759)
| Error at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
| Error at org.codehaus.groovy.grails.commons.spring.DefaultRuntimeSpringConfiguration.getApplicationContext(DefaultRuntimeSpringConfiguration.java:156)
| Error at grails.spring.BeanBuilder.createApplicationContext(BeanBuilder.java:593)
| Error at grails.spring.BeanBuilder$createApplicationContext$0.call(Unknown Source)
| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
| Error at org.grails.cxf.servlet.GrailsCxfServlet.loadAdditionalConfig(GrailsCxfServlet.groovy:53)
| Error at org.grails.cxf.servlet.GrailsCxfServlet.init(GrailsCxfServlet.groovy:25)
| Error at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1282)
| Error at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1195)
| Error at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1085)
| Error at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5349)
| Error at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5641)
| Error at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
| Error at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571)
| Error at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561)
| Error at java.util.concurrent.FutureTask.run(FutureTask.java:266)
| Error at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
| Error at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
| Error at java.lang.Thread.run(Thread.java:745)
| Error Caused by: java.lang.NoSuchMethodException: org.apache.cxf.jaxrs.ext.multipart.Attachment.<init>()
| Error at java.lang.Class.getConstructor0(Class.java:3082)
| Error at java.lang.Class.getDeclaredConstructor(Class.java:2178)
| Error at org.springsource.loaded.ri.ReflectiveInterceptor.jlClassGetDeclaredConstructor(ReflectiveInterceptor.java:476)
The text was updated successfully, but these errors were encountered:
Hi,
I've been trying to upload files but I don't get it working. I've reading different tutorials and how-tos and it seems I need to define a parameter of type
Attachment
orMultipartBody
or annotate my parameter with@Multipart
. It doesn't matter what I try because it doesn't work. Every time I define a parameter as Attachment or MultipartBody the application fails to start with the following error.It seems that it's trying to instantiate
Attachment
class using an empty constructor but the class doesn't provide it. If I useMultipartBody
I get the same error.Does anyone have a working example of how to upload files with this plugin an SoapUI?
The text was updated successfully, but these errors were encountered: