Menu

Error during build metl-1.4.0.r38

2016-09-19
2016-09-20
  • Ravi Chandran

    Ravi Chandran - 2016-09-19

    Hello Metl team,
    Just starting out to build and explore Metl ... and ran into this build error:

    Started with this on Win-10:
    09/12/2016 09:40 AM 78,730,331 metl-1.4.0.r38.war

    And tried to build using:
    cd metl-assemble
    ./gradlew assemble

    Towards tail-end of build, got this error message:

    |
    :metl-core:jar
    :metl-core:javadoc
    :metl-ui:compileJava
    warning: Supported source version 'RELEASE_6' from annotation processor 'jlibs.xml.sax.binding.impl.processor.BindingAnnotationProcessor' less than -source '1.8'
    warning: Supported source version 'RELEASE_6' from annotation processor 'jlibs.core.util.i18n.BundleAnnotationProcessor' less than -source '1.8'
    warning: Supported source version 'RELEASE_6' from annotation processor 'jlibs.core.graph.VisitorAnnotationProcessor' less than -source '1.8'
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    3 warnings
    :metl-ui:vaadinUpdateAddonStyles
    :metl-ui:vaadinUpdateWidgetset
    :metl-ui:processResources UP-TO-DATE
    :metl-ui:classes
    :metl-ui:javadoc
    :metl-ui:copyJavaDocsToWebapp
    :metl-ui:eclipseClasspath
    :metl-ui:eclipseJdt
    :metl-ui:eclipseProject
    :metl-ui:eclipseWtpComponent
    :metl-ui:eclipseWtpFacet
    :metl-ui:eclipseWtp
    :metl-ui:eclipse
    :metl-ui:vaadinClassPathJar
    :metl-ui:vaadinCompileWidgetset
    Unexpected internal compiler error
    java.lang.RuntimeException: Unexpectedly unable to access Enum.createValueOfMap via reflection. Likely a dependency on the com.google.gwt.user.User module is missing.
    :metl-ui:vaadinCompileWidgetset FAILED

    Anything I did wrong? Any suggestions?
    Thanks for your help!
    - Ravi

     
  • Chris Henson

    Chris Henson - 2016-09-19

    Yeah. I just fixed this recently on windows. The 1.4.2 source code download should work or you can build the master branch from github.

    Thanks for being the first to post here!!

     
  • Ravi Chandran

    Ravi Chandran - 2016-09-20

    Thanks Chris - works fine! Honored to be the first to post ... I believe my co-founder at XtremeData has been talking to Josh on your side ... will be in touch.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.