Tag: SCA

java.lang.NoSuchMethodError org.objectweb.asm.ClassWriter hatası

Exception in thread “main” org.osoa.sca.ServiceRuntimeException: java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(I)V at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:204) at org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createSCANodeFromClassLoader(NodeFactoryImpl.java:37) at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.init(DefaultSCADomain.java:178) at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init>(DefaultSCADomain.java:100) at org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:182) at org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:63) at com.aa.tools.resource.test.TSMain.main(TSMain.java:17) Caused by: java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(I)V at org.apache.tuscany.sca.interfacedef.java.jaxws.BaseBeanGenerator.generate(BaseBeanGenerator.java:436) at org.apache.tuscany.sca.interfacedef.java.jaxws.FaultBeanGenerator.generate(FaultBeanGenerator.java:94) at org.apache.tuscany.sca.interfacedef.java.jaxws.GeneratedDataTypeImpl.getPhysical(GeneratedDataTypeImpl.java:106) at org.apache.tuscany.sca.binding.ws.wsdlgen.Interface2WSDLGenerator.generateOperation(Interface2WSDLGenerator.java:705) at org.apache.tuscany.sca.binding.ws.wsdlgen.Interface2WSDLGenerator.generate(Interface2WSDLGenerator.java:318) at org.apache.tuscany.sca.binding.ws.wsdlgen.BindingWSDLGenerator.createWSDLInterfaceContract(BindingWSDLGenerator.java:307) at org.apache.tuscany.sca.binding.ws.wsdlgen.BindingWSDLGenerator.createWSDLDocument(BindingWSDLGenerator.java:205) at org.apache.tuscany.sca.binding.ws.wsdlgen.BindingWSDLGenerator.generateWSDL(BindingWSDLGenerator.java:163) at org.apache.tuscany.sca.binding.ws.xml.BindingBuilderImpl.build(BindingBuilderImpl.java:48) at org.apache.tuscany.sca.assembly.builder.impl.ComponentServiceBindingBuilderImpl.buildServiceBindings(ComponentServiceBindingBuilderImpl.java:68) at org.apache.tuscany.sca.assembly.builder.impl.ComponentServiceBindingBuilderImpl.build(ComponentServiceBindingBuilderImpl.java:48) at org.apache.tuscany.sca.assembly.builder.impl.CompositeBuilderImpl.build(CompositeBuilderImpl.java:259) at org.apache.tuscany.sca.node.impl.RuntimeBootStrapper.buildComposite(RuntimeBootStrapper.java:255) at org.apache.tuscany.sca.node.impl.NodeImpl.configureNode(NodeImpl.java:632) at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:200)…

Read More

jdeveloper 11g ve tuscany

önce tuscany indirin yeni bir proje oluşturun tuscany jarlarını projeye ekleyin interface ve implementation kodları package com.aaa.testsca002; import javax.jws.WebService; @WebService public interface IMerhabDunya { public String getResponse(String message); } //——————- package com.aaa.testsca002; import javax.jws.WebService; @WebService public class MerhabaDunya implements IMerhabDunya { public MerhabaDunya() { super(); } public String getResponse( String message){ return message; } }…

Read More