You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Simon Nash (JIRA)" <tu...@ws.apache.org> on 2007/09/22 15:28:51 UTC

[jira] Created: (TUSCANY-1795) helloworld-bpel sample fails with NoClassDefFoundError

helloworld-bpel sample fails with NoClassDefFoundError
------------------------------------------------------

                 Key: TUSCANY-1795
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1795
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Samples
    Affects Versions: Java-SCA-1.0
         Environment: Windows XP
            Reporter: Simon Nash
             Fix For: Java-SCA-1.0.1


I ran the helloworld-bpel sample following the instructions in the README to update the pom to use
   <useSystemClassLoader>true</useSystemClassLoader>

The sample failed with the following output:

[INFO] [compiler:compile]
[INFO] Compiling 6 source files to H:\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 1 source file to H:\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\test-classes
[INFO] [dependency:unpack {execution: unpack}]
[INFO] Configured Artifact: org.apache.ode:ode-dao-jpa-ojpa-derby:1.1:zip
[INFO] Expanding: C:\Documents and Settings\nash\.m2\repository\org\apache\ode\ode-dao-jpa-ojpa-derby\1.1\ode-dao-jpa-ojpa-derby-1.1.zip into :\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: H:\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\surefire-reports
[INFO] Building jar: C:\DOCUME~1\nash\LOCALS~1\Temp\surefirebooter7486.jar
java.lang.NoClassDefFoundError: org/apache/maven/surefire/booter/SurefireBooter
Exception in thread "main"
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1795) helloworld-bpel sample fails with NoClassDefFoundError

Posted by "Simon Laws (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Laws updated TUSCANY-1795:
--------------------------------

    Fix Version/s:     (was: Java-SCA-1.0.1)
                   Java-SCA-1.1

Let me try that again

> helloworld-bpel sample fails with NoClassDefFoundError
> ------------------------------------------------------
>
>                 Key: TUSCANY-1795
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1795
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Samples
>    Affects Versions: Java-SCA-1.0
>         Environment: Windows XP
>            Reporter: Simon Nash
>             Fix For: Java-SCA-1.1
>
>
> I ran the helloworld-bpel sample following the instructions in the README to update the pom to use
>    <useSystemClassLoader>true</useSystemClassLoader>
> The sample failed with the following output:
> [INFO] [compiler:compile]
> [INFO] Compiling 6 source files to H:\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\classes
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Compiling 1 source file to H:\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\test-classes
> [INFO] [dependency:unpack {execution: unpack}]
> [INFO] Configured Artifact: org.apache.ode:ode-dao-jpa-ojpa-derby:1.1:zip
> [INFO] Expanding: C:\Documents and Settings\nash\.m2\repository\org\apache\ode\ode-dao-jpa-ojpa-derby\1.1\ode-dao-jpa-ojpa-derby-1.1.zip into :\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\test-classes
> [INFO] [surefire:test]
> [INFO] Surefire report directory: H:\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\surefire-reports
> [INFO] Building jar: C:\DOCUME~1\nash\LOCALS~1\Temp\surefirebooter7486.jar
> java.lang.NoClassDefFoundError: org/apache/maven/surefire/booter/SurefireBooter
> Exception in thread "main"
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Closed: (TUSCANY-1795) helloworld-bpel sample fails with NoClassDefFoundError

Posted by "Simon Laws (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Laws closed TUSCANY-1795.
-------------------------------

    Resolution: Fixed

Now compiles and runs 

> helloworld-bpel sample fails with NoClassDefFoundError
> ------------------------------------------------------
>
>                 Key: TUSCANY-1795
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1795
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Samples
>    Affects Versions: Java-SCA-1.0
>         Environment: Windows XP
>            Reporter: Simon Nash
>             Fix For: Java-SCA-1.1
>
>
> I ran the helloworld-bpel sample following the instructions in the README to update the pom to use
>    <useSystemClassLoader>true</useSystemClassLoader>
> The sample failed with the following output:
> [INFO] [compiler:compile]
> [INFO] Compiling 6 source files to H:\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\classes
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Compiling 1 source file to H:\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\test-classes
> [INFO] [dependency:unpack {execution: unpack}]
> [INFO] Configured Artifact: org.apache.ode:ode-dao-jpa-ojpa-derby:1.1:zip
> [INFO] Expanding: C:\Documents and Settings\nash\.m2\repository\org\apache\ode\ode-dao-jpa-ojpa-derby\1.1\ode-dao-jpa-ojpa-derby-1.1.zip into :\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\test-classes
> [INFO] [surefire:test]
> [INFO] Surefire report directory: H:\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\surefire-reports
> [INFO] Building jar: C:\DOCUME~1\nash\LOCALS~1\Temp\surefirebooter7486.jar
> java.lang.NoClassDefFoundError: org/apache/maven/surefire/booter/SurefireBooter
> Exception in thread "main"
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1795) helloworld-bpel sample fails with NoClassDefFoundError

Posted by "Simon Laws (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Laws updated TUSCANY-1795:
--------------------------------


Move fix target to 1.1

> helloworld-bpel sample fails with NoClassDefFoundError
> ------------------------------------------------------
>
>                 Key: TUSCANY-1795
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1795
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Samples
>    Affects Versions: Java-SCA-1.0
>         Environment: Windows XP
>            Reporter: Simon Nash
>             Fix For: Java-SCA-1.1
>
>
> I ran the helloworld-bpel sample following the instructions in the README to update the pom to use
>    <useSystemClassLoader>true</useSystemClassLoader>
> The sample failed with the following output:
> [INFO] [compiler:compile]
> [INFO] Compiling 6 source files to H:\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\classes
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Compiling 1 source file to H:\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\test-classes
> [INFO] [dependency:unpack {execution: unpack}]
> [INFO] Configured Artifact: org.apache.ode:ode-dao-jpa-ojpa-derby:1.1:zip
> [INFO] Expanding: C:\Documents and Settings\nash\.m2\repository\org\apache\ode\ode-dao-jpa-ojpa-derby\1.1\ode-dao-jpa-ojpa-derby-1.1.zip into :\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\test-classes
> [INFO] [surefire:test]
> [INFO] Surefire report directory: H:\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\surefire-reports
> [INFO] Building jar: C:\DOCUME~1\nash\LOCALS~1\Temp\surefirebooter7486.jar
> java.lang.NoClassDefFoundError: org/apache/maven/surefire/booter/SurefireBooter
> Exception in thread "main"
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1795) helloworld-bpel sample fails with NoClassDefFoundError

Posted by "Simon Nash (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12531079 ] 

Simon Nash commented on TUSCANY-1795:
-------------------------------------

I followed the instructions in the README file that came with the 1.0 release, and I got the above mentioned error.  This is using Windows XP.  Has anyone else been able to build this sample from the 1.0 release using Windows XP?  If so, please describe the steps that you followed.  Thanks.

> helloworld-bpel sample fails with NoClassDefFoundError
> ------------------------------------------------------
>
>                 Key: TUSCANY-1795
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1795
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Samples
>    Affects Versions: Java-SCA-1.0
>         Environment: Windows XP
>            Reporter: Simon Nash
>             Fix For: Java-SCA-1.0.1
>
>
> I ran the helloworld-bpel sample following the instructions in the README to update the pom to use
>    <useSystemClassLoader>true</useSystemClassLoader>
> The sample failed with the following output:
> [INFO] [compiler:compile]
> [INFO] Compiling 6 source files to H:\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\classes
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Compiling 1 source file to H:\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\test-classes
> [INFO] [dependency:unpack {execution: unpack}]
> [INFO] Configured Artifact: org.apache.ode:ode-dao-jpa-ojpa-derby:1.1:zip
> [INFO] Expanding: C:\Documents and Settings\nash\.m2\repository\org\apache\ode\ode-dao-jpa-ojpa-derby\1.1\ode-dao-jpa-ojpa-derby-1.1.zip into :\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\test-classes
> [INFO] [surefire:test]
> [INFO] Surefire report directory: H:\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\surefire-reports
> [INFO] Building jar: C:\DOCUME~1\nash\LOCALS~1\Temp\surefirebooter7486.jar
> java.lang.NoClassDefFoundError: org/apache/maven/surefire/booter/SurefireBooter
> Exception in thread "main"
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1795) helloworld-bpel sample fails with NoClassDefFoundError

Posted by "Simon Nash (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12530695 ] 

Simon Nash commented on TUSCANY-1795:
-------------------------------------

It looks like a patch was applied to maven to fix SUREFIRE-322.  Can we move up to a later level to get this fix?

> helloworld-bpel sample fails with NoClassDefFoundError
> ------------------------------------------------------
>
>                 Key: TUSCANY-1795
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1795
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Samples
>    Affects Versions: Java-SCA-1.0
>         Environment: Windows XP
>            Reporter: Simon Nash
>             Fix For: Java-SCA-1.0.1
>
>
> I ran the helloworld-bpel sample following the instructions in the README to update the pom to use
>    <useSystemClassLoader>true</useSystemClassLoader>
> The sample failed with the following output:
> [INFO] [compiler:compile]
> [INFO] Compiling 6 source files to H:\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\classes
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Compiling 1 source file to H:\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\test-classes
> [INFO] [dependency:unpack {execution: unpack}]
> [INFO] Configured Artifact: org.apache.ode:ode-dao-jpa-ojpa-derby:1.1:zip
> [INFO] Expanding: C:\Documents and Settings\nash\.m2\repository\org\apache\ode\ode-dao-jpa-ojpa-derby\1.1\ode-dao-jpa-ojpa-derby-1.1.zip into :\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\test-classes
> [INFO] [surefire:test]
> [INFO] Surefire report directory: H:\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\surefire-reports
> [INFO] Building jar: C:\DOCUME~1\nash\LOCALS~1\Temp\surefirebooter7486.jar
> java.lang.NoClassDefFoundError: org/apache/maven/surefire/booter/SurefireBooter
> Exception in thread "main"
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1795) helloworld-bpel sample fails with NoClassDefFoundError

Posted by "Luciano Resende (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12530778 ] 

Luciano Resende commented on TUSCANY-1795:
------------------------------------------

It's not recommended to move to a SNAPSHOT dependency on a release. We have moved to this level in trunk, and I have documented, in the 1.0 release, how the sample can be built on it's readme file (only from it's current directory).

> helloworld-bpel sample fails with NoClassDefFoundError
> ------------------------------------------------------
>
>                 Key: TUSCANY-1795
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1795
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Samples
>    Affects Versions: Java-SCA-1.0
>         Environment: Windows XP
>            Reporter: Simon Nash
>             Fix For: Java-SCA-1.0.1
>
>
> I ran the helloworld-bpel sample following the instructions in the README to update the pom to use
>    <useSystemClassLoader>true</useSystemClassLoader>
> The sample failed with the following output:
> [INFO] [compiler:compile]
> [INFO] Compiling 6 source files to H:\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\classes
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Compiling 1 source file to H:\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\test-classes
> [INFO] [dependency:unpack {execution: unpack}]
> [INFO] Configured Artifact: org.apache.ode:ode-dao-jpa-ojpa-derby:1.1:zip
> [INFO] Expanding: C:\Documents and Settings\nash\.m2\repository\org\apache\ode\ode-dao-jpa-ojpa-derby\1.1\ode-dao-jpa-ojpa-derby-1.1.zip into :\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\test-classes
> [INFO] [surefire:test]
> [INFO] Surefire report directory: H:\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\surefire-reports
> [INFO] Building jar: C:\DOCUME~1\nash\LOCALS~1\Temp\surefirebooter7486.jar
> java.lang.NoClassDefFoundError: org/apache/maven/surefire/booter/SurefireBooter
> Exception in thread "main"
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1795) helloworld-bpel sample fails with NoClassDefFoundError

Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12530479 ] 

Raymond Feng commented on TUSCANY-1795:
---------------------------------------

It might be related to http://jira.codehaus.org/browse/SUREFIRE-322

> helloworld-bpel sample fails with NoClassDefFoundError
> ------------------------------------------------------
>
>                 Key: TUSCANY-1795
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1795
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Samples
>    Affects Versions: Java-SCA-1.0
>         Environment: Windows XP
>            Reporter: Simon Nash
>             Fix For: Java-SCA-1.0.1
>
>
> I ran the helloworld-bpel sample following the instructions in the README to update the pom to use
>    <useSystemClassLoader>true</useSystemClassLoader>
> The sample failed with the following output:
> [INFO] [compiler:compile]
> [INFO] Compiling 6 source files to H:\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\classes
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Compiling 1 source file to H:\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\test-classes
> [INFO] [dependency:unpack {execution: unpack}]
> [INFO] Configured Artifact: org.apache.ode:ode-dao-jpa-ojpa-derby:1.1:zip
> [INFO] Expanding: C:\Documents and Settings\nash\.m2\repository\org\apache\ode\ode-dao-jpa-ojpa-derby\1.1\ode-dao-jpa-ojpa-derby-1.1.zip into :\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\test-classes
> [INFO] [surefire:test]
> [INFO] Surefire report directory: H:\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\surefire-reports
> [INFO] Building jar: C:\DOCUME~1\nash\LOCALS~1\Temp\surefirebooter7486.jar
> java.lang.NoClassDefFoundError: org/apache/maven/surefire/booter/SurefireBooter
> Exception in thread "main"
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org