The import org.mypac.myclass cannot be resolved

2009-02-09 Thread sandyg
Hi ALL, Am using spring with maven. I had two dependencies for web-app (mydatamodel.jar and myutil.jar) With simple jsp it is finding classes of other dependent jar. But when i use sp[ring-app.xml and configure an spring controller and inject classes of other jars its raises exception like impor

I had problem with maven deploy

2008-09-26 Thread sandyg
Hi All, I am able to runn the deployment successfully. mvn cargo:start ,carge:stop and cargo:deploy but when am running the cargo:undeploy ,cargo:deployer-redeploy , cargo:deployer-stop ,cargo:deployer-start am getting the following error. [ERROR] FATAL ERROR [INFO] ---

pom depend on other pom

2008-09-21 Thread sandyg
Hi All, 1)Can any one help how to run pom.xml of another project b4 running the current project pom.xml i.e my pom is dependent on other pom like in ant one target is dependent on other target. I need to run independent pom then after the dependent pom with single instruction . 2)One more thi

maven 2 version says - ( generics are not supported in -source 1.3)

2008-08-04 Thread sandyg
Hi all, Am using maven 2 version. And when am running mvn compile , i am getting error that generics are not supported in -source 1.3 (try -source 1.5 to enable generics). But in my system i had only java 1.5 version. Then where it had gone for java 1.3 and say