Skip to content

Instantly share code, notes, and snippets.

@odrotbohm
Created July 3, 2012 08:38
Show Gist options
  • Save odrotbohm/3038516 to your computer and use it in GitHub Desktop.
Save odrotbohm/3038516 to your computer and use it in GitHub Desktop.
Spring IDE build error
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7:50.820s
[INFO] Finished at: Mon Jul 02 20:45:05 CEST 2012
[INFO] Final Memory: 240M/437M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.14.1:compile (default-compile) on project org.springframework.ide.eclipse.data.core: Compilation failure: Compilation failure:
[ERROR] /Users/olivergierke/Documents/workspace/spring-ide/plugins/org.springframework.ide.eclipse.data.core/src/main/java/org/springframework/ide/eclipse/data/jdt/core/EntityPropertyCompletionProposals.java:[46,0]
[ERROR] private static final Image KEYWORD = IMAGES.getImage(ISharedImages.IMG_OBJS_ANNOTATION);
[ERROR] ^^^^^
[ERROR] Image cannot be resolved to a type
[ERROR] /Users/olivergierke/Documents/workspace/spring-ide/plugins/org.springframework.ide.eclipse.data.core/src/main/java/org/springframework/ide/eclipse/data/jdt/core/EntityPropertyCompletionProposals.java:[47,0]
[ERROR] private static final Image PRIVATE_FIELD = IMAGES.getImage(ISharedImages.IMG_FIELD_PRIVATE);
[ERROR] ^^^^^
[ERROR] Image cannot be resolved to a type
[ERROR] /Users/olivergierke/Documents/workspace/spring-ide/plugins/org.springframework.ide.eclipse.data.core/src/main/java/org/springframework/ide/eclipse/data/jdt/core/EntityPropertyCompletionProposals.java:[149,0]
[ERROR] super(getReplacement(keyword, seed), offset, offset + keyword.length(), KEYWORD, StringUtils.capitalize(keyword),
[ERROR] ^^^^^^^
[ERROR] Image cannot be resolved to a type
[ERROR] /Users/olivergierke/Documents/workspace/spring-ide/plugins/org.springframework.ide.eclipse.data.core/src/main/java/org/springframework/ide/eclipse/data/jdt/core/EntityPropertyCompletionProposals.java:[220,0]
[ERROR] getFieldImage(field), field.getElementName(), 500);
[ERROR] ^^^^^^^^^^^^^
[ERROR] The method getFieldImage(IField) from the type EntityPropertyCompletionProposals.EntityFieldNameCompletionProposal refers to the missing type Image
[ERROR] /Users/olivergierke/Documents/workspace/spring-ide/plugins/org.springframework.ide.eclipse.data.core/src/main/java/org/springframework/ide/eclipse/data/jdt/core/EntityPropertyCompletionProposals.java:[223,0]
[ERROR] private static Image getFieldImage(IField field) {
[ERROR] ^^^^^
[ERROR] Image cannot be resolved to a type
[ERROR] /Users/olivergierke/Documents/workspace/spring-ide/plugins/org.springframework.ide.eclipse.data.core/src/main/java/org/springframework/ide/eclipse/data/jdt/core/EntityPropertyCompletionProposals.java:[225,0]
[ERROR] return PRIVATE_FIELD;
[ERROR] ^^^^^^^^^^^^^
[ERROR] Image cannot be resolved to a type
[ERROR] 6 problems (6 errors)
[ERROR] -> [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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :org.springframework.ide.eclipse.data.core
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment