Hello all, as you can see I am quite a beginner using Camel. I am trying to create a very basic Eclipse project using Camel and Maven but somehow I always end up with errors and it simply doesn't seem to work.
- I have tried copying folders from other projects and change the name but then maven doesn't like it and it doesn't let me run anything. - I decided to start a new project from scratch with maven using: mvn archetype:generate \ -DarchetypeGroupId=org.apache.maven.archetypes \ -DgroupId=com.mycompany.app \ -DartifactId=my-app - Then tried creating a pom.xml myself, I even added the camel-core and the slf4j dependencies manually (check out my 40 lines of pom.xml at HERE <http://pastebin.kde.org/p9pccinyf> ), but I still cannot run it in eclipse and maven is not behaving any better. t - Before attempting to run this example in eclipse I used the command "mvn eclipse:eclipse". But in Eclipse IDE I get the following error: log4j:WARN No appenders could be found for logger (org.apache.camel.impl.DefaultCamelContext). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. The code I am trying to run is fairly simple as well, it is from an example I found in a book. You can check the very simple code sample HERE <http://pastebin.kde.org/pybxkdebe> . I am completely lost, nothing I do seems to be able to work, and I still need to learn how to use Camel LoadBalancer using the failover construct. Can any one help me and tell me how to create a basic Camel project for dummies? Thanks, Pedro. -- View this message in context: http://camel.465427.n5.nabble.com/How-to-create-a-basic-camel-project-with-mvn-for-eclipse-for-dummies-tp5742489.html Sent from the Camel - Users mailing list archive at Nabble.com.
