Hello all,
I am starting out the Apache cocoon which I'd like to use for document processing but I'm having a real problem trying to get the 'your first cocoon application using maven2' working on my windows machine from the Apache cocoon website. (cocoon.apache.org/2.2/1159_1_1.html)
I have
maven installed, which I am also new to and it works when I run 'mvn --version' to verify that it is installed.
So I have a directory called C:\cocoon and as per the instructions, I have ran the following command from this directory
I have chosen option 2 as per the guide and the defaults as shown below
Define value for groupId: : com.mycompany
Define value for artifactId: : myBlock1
Define value for version: 1.0-SNAPSHOT: : 1.0.0
Define value for package: : com.mycompany.myBlock1
After this has completed , I move into the myBlock1 folder and try to run the mvn jetty:run command which fails with the error 'Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project myBlock1:Compilation failure
I cannot get to the bottom of this. I hope someone else has met this and has been able to get an answer to this. I'm using jdk1.6.0_24 but I have also met the same error on 1.7
Hope you can help
Thanks,
Colm