It may affect what JDK version you use. Camel 2.5.0 doesn't support Java 7.
So I suggest to use the latest Camel release instead. It support Java 6 and 7. -DarchetypeVersion=2.12.1 \ On Fri, Nov 1, 2013 at 5:53 PM, pmp.martins <[email protected]> wrote: > Alright, now I am getting desperate. After trying (and failing) with Eclipse > I decided to be a good boy and follow the Maven section in the Camel in > Action book. > > So, I created a new project with Maven using: > > mvn archetype:create \ > -DarchetypeGroupId=org.apache.camel.archetypes \ > -DarchetypeArtifactId=camel-archetype-java \ > -DarchetypeVersion=2.5.0 \ > -DgroupId=camelinaction \ > -DartifactId=order-router > > Then I entered the created folder and used the commands "mvn clean compile" > and "mvn clean install". I then tried to run the code by using "mvn > camel:run" and THIS <http://pastebin.kde.org/pkynsaph8> is what I got. > Java errors. I don't get this. According to the book the example should be > running just fine, but instead I get a page full of errors. > > Have I done something wrong? :S > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-create-a-basic-camel-project-with-mvn-for-eclipse-for-dummies-tp5742489p5742517.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: [email protected] Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
