You need to add the dependency to your pom.xml as well.

Matt

On Mon, Apr 13, 2009 at 3:40 AM, Kenny Ha <vifaxoc...@yahoo.com> wrote:

>
> Hi all,
>
> I have problem when adding new JARs to source.
> Assume I add acegi-security-1.0.7.jar to my source (I import it to local
> reposity and add a new variable to Build Path)
> There's no compile error in Eclipse, but when i run any Maven command (such
> as mvn test) errors occurs :
>
> [INFO] Scanning for projects...
> [INFO] -----------------------------------------------------
> [INFO] Building AppFuse Struts 2 Application
> [INFO]    task-segment: [test]
> [INFO] -----------------------------------------------------
> [WARNING] POM for 'xfire:xfire-jsr181-api:pom:1.0-M1:compile
>
> Its dependencies (if any) will NOT be available to the curre
> [INFO] [aspectj:compile {execution: default}]
> [ERROR] The import org.acegisecurity cannot be resolved
> [ERROR] The import org.acegisecurity cannot be resolved
> [ERROR] The import org.acegisecurity cannot be resolved
> [ERROR] The import org.acegisecurity cannot be resolved
> [ERROR] CaptchaEntryPoint cannot be resolved to a type
> [ERROR] CaptchaEntryPoint cannot be resolved to a type
> [ERROR] captchaEntryPoint cannot be resolved or is not a fie
> [ERROR] captchaEntryPoint cannot be resolved
> [ERROR] captchaEntryPoint cannot be resolved
> [ERROR] captchaEntryPoint cannot be resolved
> [ERROR] captchaEntryPoint cannot be resolved
> [ERROR] captchaEntryPoint cannot be resolved
> [ERROR] captchaEntryPoint cannot be resolved
> [ERROR] captchaEntryPoint cannot be resolved
> [ERROR] captchaEntryPoint cannot be resolved
> [ERROR] The import org.acegisecurity cannot be resolved
> [ERROR] The import org.acegisecurity cannot be resolved
> [ERROR] The import org.acegisecurity cannot be resolved
> [ERROR] The import org.acegisecurity cannot be resolved
> [ERROR] The import com.octo cannot be resolved
> [ERROR] The import com.octo cannot be resolved
> [ERROR] ImageCaptchaService cannot be resolved to a type
> [ERROR] ImageCaptchaService cannot be resolved to a type
> [ERROR] CaptchaServiceException cannot be resolved to a type
> [INFO] -----------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] -----------------------------------------------------
> [INFO] Compiler errors :
> error at import org.acegisecurity.captcha.CaptchaEntryPoint;
>       ^^^^^^^^^^^^^^^^
>
> Did i do something wrong??
> Help me solve this.
> Thanks all!
> --
> View this message in context:
> http://www.nabble.com/Compile-Error-%3A-When-adding-new-JARs-tp23020045s2369p23020045.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>
>

Reply via email to