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

helloworld-bpel fails when using 1.2, RC1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Java-SCA-1.2
    • Java-SCA-1.2
    • Java SCA Samples
    • None
    • Windows xp,
      set JAVA_HOME=C:\Program Files\Java\jdk1.5.0_11
      set PATH=%PATH%;C:\tuscany\maven-2.0.4\bin
      set PATH=%PATH%;C:\tuscany\apache-ant-1.6.5\bin
      set PATH=%PATH%;C:\tuscany\svn-win32-1.3.0\bin

    Description

      C:\tuscany\sca\tuscany-sca-1.2-incubating-SNAPSHOT\samples\helloworld-bpel>ant c
      lean compile run
      Buildfile: build.xml

      clean:
      [delete] Deleting 128 files from C:\tuscany\sca\tuscany-sca-1.2-incubating-SN
      APSHOT\samples\helloworld-bpel\target
      [delete] Deleted 7 directories from C:\tuscany\sca\tuscany-sca-1.2-incubating
      -SNAPSHOT\samples\helloworld-bpel\target

      init:
      [mkdir] Created dir: C:\tuscany\sca\tuscany-sca-1.2-incubating-SNAPSHOT\samp
      les\helloworld-bpel\target\classes
      [mkdir] Created dir: C:\tuscany\sca\tuscany-sca-1.2-incubating-SNAPSHOT\samp
      les\helloworld-bpel\target\wsdl2java-source

      generate-wsdl:
      [java] Exception in thread "main" java.lang.NoClassDefFoundError: org/apach
      e/tuscany/sdo/util/DataObjectUtil
      [java] at org.apache.tuscany.sdo.generate.XSD2JavaGenerator.getSchemaNa
      mespace(XSD2JavaGenerator.java:235)
      [java] at org.apache.tuscany.sdo.generate.XSD2JavaGenerator.run(XSD2Jav
      aGenerator.java:145)
      [java] at org.apache.tuscany.sdo.generate.XSD2JavaGenerator.main(XSD2Ja
      vaGenerator.java:97)
      [java] Java Result: 1
      [java] Exception in thread "main" java.lang.NoClassDefFoundError: org/apach
      e/tuscany/sdo/util/DataObjectUtil
      [java] at org.apache.tuscany.sdo.generate.XSD2JavaGenerator.getSchemaNa
      mespace(XSD2JavaGenerator.java:235)
      [java] at org.apache.tuscany.sdo.generate.XSD2JavaGenerator.generateFro
      mXMLSchema(XSD2JavaGenerator.java:273)
      [java] at org.apache.tuscany.tools.wsdl2java.generate.WSDL2JavaGenerato
      r.generateFromWSDL(WSDL2JavaGenerator.java:204)
      [java] at org.apache.tuscany.tools.wsdl2java.generate.WSDL2JavaGenerato
      r.main(WSDL2JavaGenerator.java:154)
      [java] Java Result: 1

      unzip-ode-db:
      [unzip] Expanding: C:\tuscany\sca\tuscany-sca-1.2-incubating-SNAPSHOT\lib\od
      e-dao-jpa-ojpa-derby-1.1.zip into C:\tuscany\sca\tuscany-sca-1.2-incubating-SNAP
      SHOT\samples\helloworld-bpel\target\database

      compile:
      [javac] Compiling 1 source file to C:\tuscany\sca\tuscany-sca-1.2-incubating
      -SNAPSHOT\samples\helloworld-bpel\target\classes
      [javac] C:\tuscany\sca\tuscany-sca-1.2-incubating-SNAPSHOT\samples\helloworl
      d-bpel\src\main\java\helloworld\BPELClient.java:22: package org.apache.tuscany.i
      mplementation.bpel.example.helloworld does not exist
      [javac] import org.apache.tuscany.implementation.bpel.example.helloworld.Hel
      loPortType;
      [javac] ^
      [javac] C:\tuscany\sca\tuscany-sca-1.2-incubating-SNAPSHOT\samples\helloworl
      d-bpel\src\main\java\helloworld\BPELClient.java:34: cannot find symbol
      [javac] symbol : class HelloPortType
      [javac] location: class helloworld.BPELClient
      [javac] HelloPortType bpelService = scaDomain.getService(HelloPortTy
      pe.class, "BPELHelloWorldComponent");
      [javac] ^
      [javac] C:\tuscany\sca\tuscany-sca-1.2-incubating-SNAPSHOT\samples\helloworl
      d-bpel\src\main\java\helloworld\BPELClient.java:34: cannot find symbol
      [javac] symbol : class HelloPortType
      [javac] location: class helloworld.BPELClient
      [javac] HelloPortType bpelService = scaDomain.getService(HelloPortTy
      pe.class, "BPELHelloWorldComponent");
      [javac] ^
      [javac] 3 errors

      BUILD FAILED
      C:\tuscany\sca\tuscany-sca-1.2-incubating-SNAPSHOT\samples\helloworld-bpel\build
      .xml:60: Compile failed; see the compiler error output for details.

      Total time: 5 seconds
      C:\tuscany\sca\tuscany-sca-1.2-incubating-SNAPSHOT\samples\helloworld-bpel>

      Attachments

        Activity

          People

            lresende Luciano Resende
            hmahbod Haleh Mahbod
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: