The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

griff (1) [Avatar] Offline
#1
** Note ** I forgot to mention that I am using the examples 2.8.2

Trying to run the example. in chapter 7/CFX/Contract First and recieving error:
-------------------------------------------------------------------------------
Test set: camelinaction.OrderTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.166 sec <<< FAILURE!
testOrderOk(camelinaction.OrderTest) Time elapsed: 0.06 sec <<< ERROR!
java.lang.NoClassDefFoundError: org/apache/camel/spring/SpringCamelContext

Apache Maven 3.0.3 (r1075438; 2011-02-28 11:31:09-0600)
Maven home: /usr/share/maven
Java version: 1.6.0_26, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.7.2", arch: "x86_64", family: "mac"

Any help would be appreciated.

Message was edited by:
griff
davsclaus (413) [Avatar] Offline
#2
Re: Chapter 7CFX Contract First Example Error
Hmm that is odd. I tried on my code

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.103 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

Running mvn test in the directory: chapter7/cxf/contract_first$

Is this still a problem?