mardi 4 juillet 2017

Getting error while running tomcat:run goal from eclipse

I am new to maven, spring and tomcat. In eclipse run-configuaration there I added the tomcat:runas a goal . then I tried to run then it is giving me some error like -

WARNING] Unable to expand to file projectpath/target/war/solr/META-INF/maven/groupId/folderName/pom.properties
[WARNING] Unable to expand to file rojectpath/target/war/solr/META-INF/maven/groupId/folderName/pom.xml
[WARNING] Unable to expand to file projectpath/target/war/solr/img/lucene-ico.png

The same error is appearing for all the files.My front end is by using ember js . When I do same from the command line using sudo then it runs perfectly.

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (copy-service-config) on project ProjectName: Error executing ant tasks: projectpath/target/antrun/build-Copy files to web project.xml (Permission denied) -> [Help 1]

Can any one help me with this ?




Aucun commentaire:

Enregistrer un commentaire