Hi,
I’m not sure this is the right place to ask. I’m trying to run the restfb example as configuration in eclipse using Maven. I’m getting the error “Failed to execute goal org.codehaus.mojo:exec-maven-plugin”. Can somebody please help me on this issue? [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.672s [INFO] Finished at: Sat Feb 26 23:01:07 PST 2011 [INFO] Final Memory: 5M/15M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:java (default) on project restfb-examples: An exception occured while executing the Java class. null: *InvocationTargetException*: Received Facebook error response of type *OAuthException*: Error validating access token. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] * http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException* Thanks. -Yoga *From:* [email protected] [mailto:[email protected]] *On Behalf Of *Robert Scholte *Sent:* Sunday, February 27, 2011 8:30 AM *To:* [email protected]; [email protected]; [email protected]; [email protected] *Subject:* [mojo-dev] [ANN] Aspectj-maven-plugin-1.3.1 Released Hi, The Mojo team is pleased to announce the release of the Aspectj Maven Plugin version 1.3.1. This plugin handles AspectJ usage with maven. Functionality provided is: weaving of aspects (or existing aspects from libraries) with the test and/or main classes, weaving of pre-existing jars and ajdoc reporting. http://mojo.codehaus.org/aspectj-maven-plugin To get this update, simply specify the version in your project's plugin configuration: <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>aspectj-maven-plugin</artifactId> <version>1.3.1</version> </plugin> ADDITIONAL_INFORMATION Release Notes - Mojo AspectJ Plugin - Version 1.3.1 Bug - [MASPECTJ-16 <http://jira.codehaus.org/browse/MASPECTJ-16>] - <aspectLibrary> must support <type> (and <classifier>) - [MASPECTJ-82 <http://jira.codehaus.org/browse/MASPECTJ-82>] - Upgrade plugin to use aspectj 1.6.8 (actually 1.6.10) - [MASPECTJ-86 <http://jira.codehaus.org/browse/MASPECTJ-86>] - Allow compilation of weaveDependency when no sources are present in the project - [MASPECTJ-90 <http://jira.codehaus.org/browse/MASPECTJ-90>] - Classpath on aspectJ plugin doesn't respect the dependencies order Enjoy, The Mojo team. -Robert Scholte
