incubator-yoko-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukas Zapletal" <lukas.zaple...@gmail.com>
Subject Compiling the hello_world example in current Svn
Date Fri, 13 Jul 2007 08:30:30 GMT
Hello, sorry to by annoying but I cant compile the example:

c:\Repos\yoko\distribution\src\main\samples\ws\hello_world>set
YOKO_HOME=c:\work\yoko-incubating-bin-1.0

(this is unpacked distribution ZIP I have built just few moments ago from svn)

c:\Repos\yoko\distribution\src\main\samples\ws\hello_world>ant
generate.corba.wsdl
Buildfile: build.xml

generate.corba.wsdl:
     [echo] Generating corba binding using wsdltoidl...
     [java] 13.7.2007 10:10:03
org.apache.yoko.tools.processors.wsdl.WSDLToCorbaProcessor
setOutputFile
     [java] WARNING: Using default wsdl/idl filenames...
     [java] Retrieving document at '../resources/HelloWorld.wsdl'.

BUILD SUCCESSFUL
Total time: 2 seconds
c:\Repos\yoko\distribution\src\main\samples\ws\hello_world>ant build
Buildfile: build.xml

generate.server.code:
     [echo] Generating server code using wsdl2java...
    [mkdir] Created dir:
c:\Repos\yoko\distribution\src\main\samples\ws\hello_world\build\src
    [mkdir] Created dir:
c:\Repos\yoko\distribution\src\main\samples\ws\hello_world\build\classes
     [java] 13.7.2007 10:24:58
org.apache.cxf.tools.wsdlto.core.PluginLoader loadPlugin
     [java] INFO: Loading plugin
jar:file:/C:/Pike/yoko-incubating-bin-1.0/lib/cxf-tools-wsdlto-frontend-jaxws-2.0-incubator.jar!/META-INF/t
ools-plugin.xml
     [java] 13.7.2007 10:24:58
org.apache.cxf.tools.wsdlto.core.PluginLoader loadPlugin
     [java] INFO: Found 1 frontends in <jaxws> plugin.
     [java] 13.7.2007 10:24:58
org.apache.cxf.tools.wsdlto.core.PluginLoader loadPlugin
     [java] INFO: Loading <jaxws> frontend from <jaxws> plugin.
     [java] 13.7.2007 10:24:58
org.apache.cxf.tools.wsdlto.core.PluginLoader loadPlugin
     [java] INFO: Loading plugin
jar:file:/C:/Pike/yoko-incubating-bin-1.0/lib/cxf-tools-wsdlto-databinding-jaxb-2.0-incubator.jar!/META-INF
/tools-plugin.xml
     [java] 13.7.2007 10:24:58
org.apache.cxf.tools.wsdlto.core.PluginLoader loadPlugin
     [java] INFO: Found 1 databindings in <jaxb> plugin.
     [java] 13.7.2007 10:24:58
org.apache.cxf.tools.wsdlto.core.PluginLoader loadPlugin
     [java] INFO: Loading <jaxb> databinding from <jaxb> plugin.
     [java] Exception in thread "main" java.lang.NoClassDefFoundError:
com/sun/codemodel/CodeWriter
     [java]     at java.lang.Class.forName0(Native Method)
     [java]     at java.lang.Class.forName(Class.java:169)
     [java]     at
org.apache.cxf.tools.wsdlto.core.PluginLoader.loadDataBindingProfile(PluginLoader.java:393)
     [java]     at
org.apache.cxf.tools.wsdlto.core.PluginLoader.getDataBindingProfile(PluginLoader.java:406)
     [java]     at
org.apache.cxf.tools.wsdlto.WSDLToJava.loadDataBinding(WSDLToJava.java:69)
     [java]     at
org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:92)
     [java]     at
org.apache.cxf.tools.wsdlto.WSDLToJava.main(WSDLToJava.java:171)

BUILD FAILED
c:\Repos\yoko\distribution\src\main\samples\ws\hello_world\build.xml:65:
The following error occurred while executing this line:
c:\Repos\yoko\distribution\src\main\samples\ws\hello_world\build.xml:116:
Java returned: 1

Total time: 1 second
c:\Repos\yoko\distribution\src\main\samples\ws\hello_world>

-- 
Lukas Zapletal
http://lukas.zapletalovi.com

Mime
View raw message