Skip to content

Compilation Problem with Vaadin 7.0.4 #2

@EduFrazao

Description

@EduFrazao

Hi Tomi! Thanks for you nice addon. I cant compile your addon here. Im using Vaadin 7.0.4 (Maven based project).

I've alread excluded GWT Unit Cache files, but I got this problem in widgetset compilation:

[INFO] --- vaadin-maven-plugin:7.0.4:compile (default) @ controleatividades ---
[INFO] auto discovered modules [br.com.h4.controleatividades.AppWidgetSet]
[INFO] Compiling module br.com.h4.controleatividades.AppWidgetSet
[INFO] Validating units:
[INFO] [ERROR] Errors in 'jar:file:/home/eduardo/.m2/repository/org/eclipse/xtext/org.eclipse.xtext.xbase.lib.gwt/2.4.0/org.eclipse.xtext.xbase.lib.gwt-2.4.0.jar!/org/eclipse/xtext/xbase/lib/IteratorExtensions.java'
[INFO] [ERROR] Line 308: The method filter(Iterator, Predicate) in the type Iterators is not applicable for the arguments (Iterator, Class)
[INFO] [ERROR] Errors in 'jar:file:/home/eduardo/.m2/repository/org/eclipse/xtext/org.eclipse.xtext.xbase.lib.gwt/2.4.0/org.eclipse.xtext.xbase.lib.gwt-2.4.0.jar!/org/eclipse/xtext/xbase/lib/util/ReflectExtensions.java'
[INFO] [ERROR] Line 39: No source code is available for type java.lang.SecurityException; did you forget to inherit a required module?
[INFO] [ERROR] Line 39: No source code is available for type java.lang.NoSuchFieldException; did you forget to inherit a required module?
[INFO] [ERROR] Line 39: No source code is available for type java.lang.IllegalAccessException; did you forget to inherit a required module?
[INFO] [ERROR] Line 43: No source code is available for type java.lang.reflect.Field; did you forget to inherit a required module?
[INFO] [ERROR] Line 78: The method getDeclaredField(String) is undefined for the type Class<capture#8-of ?>
[INFO] [ERROR] Line 105: No source code is available for type java.lang.reflect.InvocationTargetException; did you forget to inherit a required module?
[INFO] [ERROR] Line 111: No source code is available for type java.lang.reflect.Method; did you forget to inherit a required module?
[INFO] [ERROR] Line 113: The method getDeclaredMethods() is undefined for the type Class<capture#13-of ? extends Object>
[INFO] [ERROR] Line 131: The method getMethod(String, Class[]) is undefined for the type Class [INFO] [ERROR] Line 145: The method isInstance(Object) is undefined for the type Class
[INFO] [ERROR] Errors in 'jar:file:/home/eduardo/.m2/repository/org/eclipse/xtext/org.eclipse.xtext.xbase.lib.gwt/2.4.0/org.eclipse.xtext.xbase.lib.gwt-2.4.0.jar!/org/eclipse/xtext/xbase/lib/util/ToStringHelper.java'
[INFO] [ERROR] Line 72: No source code is available for type java.lang.ThreadLocal; did you forget to inherit a required module?
[INFO] [ERROR] Line 106: No source code is available for type java.lang.reflect.Field; did you forget to inherit a required module?
[INFO] [ERROR] Line 108: The method getSimpleName() is undefined for the type Class<capture#3-of ? extends Object>
[INFO] [ERROR] Line 124: The method getSimpleName() is undefined for the type Class<capture#4-of ? extends Object>
[INFO] [ERROR] Line 134: No source code is available for type java.lang.reflect.Modifier; did you forget to inherit a required module?
[INFO] [ERROR] Line 141: The method getSimpleName() is undefined for the type Class<capture#5-of ? extends Exception>
[INFO] [ERROR] Line 156: The method isAnonymousClass() is undefined for the type Class<capture#7-of ? extends Object>
[INFO] [ERROR] Line 156: The method getSimpleName() is undefined for the type Class<capture#8-of ? extends Object>
[INFO] [ERROR] Line 207: The method getDeclaredFields() is undefined for the type Class<capture#14-of ?>
[INFO] [ERROR] Aborting compile due to errors in some input files
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 47.627s
[INFO] Finished at: Mon Apr 22 14:36:32 BRT 2013
[INFO] Final Memory: 26M/399M
[INFO] ------------------------------------------------------------------------
...

Steps to reproduce:
Create a new Vaadin Project with Maven:
mvn archetype:generate -DarchetypeGroupId=com.vaadin -DarchetypeArtifactId=vaadin-archetype-application -DarchetypeVersion=7.0.4 -DgroupId=your.company -DartifactId=project-name -Dversion=1.0 -Dpackaging=war

Addon the plugin depedency on pom:

org.vaadin.virkki
carousel
0.5.2

Is somethind that I'm doint wrong? I only added the plugin dependency on my POM.XML

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions