Cannot find symbol error in compile time

hi all,

when i tried to compile my jira plugin i've got this:

[ERROR] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Compilation failure

/home/........./src/main/java/com/............. .java:[8,39] cannot find symbol

symbol : class elements

location: package org.codehaus.cargo.module.webapp

and i tried to add its dependency ,but doesn't work

<dependency>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-core-api-container</artifactId>
<version>1.4.4</version>
</dependency>
what can i do to resolve it?
thank's in advance,

3 answers

This widget could not be displayed.

did you ran atlas-mvn eclipse:eclipse command?

This widget could not be displayed.

thanks rambanam

yes i did try

This widget could not be displayed.

can you try this

&lt;dependency&gt;
&lt;groupId&gt;org.codehaus.cargo&lt;/groupId&gt;
&lt;artifactId&gt;cargo-core-api-container&lt;/artifactId&gt;
&lt;version&gt;1.4.4&lt;/version&gt;
&lt;scope&gt;provided&lt;/scope&gt;
&lt;/dependency&gt;

after adding this to pom.xml run atlas-mvn eclipse:eclipse command

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

59 views 2 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you