Giter Site home page Giter Site logo

uberfire-tutorial's Introduction

uberfire-tutorial's People

Contributors

ederign avatar jfuerth avatar paulovmr avatar dgutierr avatar

Stargazers

Ilya Kitaev avatar JL avatar meadlai avatar Bilal Antaal avatar Adriano Machado avatar Omid Pourhadi avatar  avatar

Watchers

Nicolas Héron avatar Kris Verlaenen avatar Michael Anstis avatar  avatar James Cloos avatar kie-user avatar Bryan Acuna Nunez avatar  avatar

uberfire-tutorial's Issues

Fantastic Demo! However, everything went well until the compile step.

I get this error when I do 'mvn compile'
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.4:compile (default-compile) on project WorkflowApp: Execution default-compile of goal org.apache.maven.plugins:maven-compiler-plugin:2.4:compile failed: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.4 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.uberfire:uberfire-workbench-processors:jar:0.5.0-SNAPSHOT, org.uberfire:uberfire-client-api:jar:0.5.0-SNAPSHOT, org.uberfire:uberfire-security-api:jar:0.5.0-SNAPSHOT: Could not find artifact org.uberfire:uberfire-workbench-processors:jar:0.5.0-SNAPSHOT in apache.snapshots (http://repository.apache.org/snapshots) -> [Help 1]
[ERROR]

The dependency org.uberfire:uberfire-workbench-processors:jar:0.5.0-SNAPSHOT is in my .m2/repository. It was downloaded at the beginning of the compile process. But, when the maven-compiler-plugin kicks in, I get the above error message. I've even downloaded the repository from git and the same thing happens. I have http://repository.jboss.org/nexus/content/repositories/snapshots/ in my .m2/settings.xml file. And, like I said, I can see the jar file was downloaded. Thoughts?

JDK 8 Mac OS X Line 29: The import java.util.BitSet cannot be resolved

  1. Use a Mac OS X system with JDK 8
$ java -version
java version "1.8.0"
Java(TM) SE Runtime Environment (build 1.8.0-b132)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)
localhost:uberfire-tutorial manuel$ 
  1. Clone repository
$ git clone https://github.com/uberfire/uberfire-tutorial.git
$ cd uberfire-tutorial

Expected:

$ mvn install
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------

Actual:

$ mvn install
...
[INFO] --- gwt-maven-plugin:2.5.1:compile (gwt-compile) @ uberfire-tutorial ---
[INFO] auto discovered modules [com.mycompany.uftutorial.UberFireTutorial]
[ERROR] Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
[INFO] Compiling module com.mycompany.uftutorial.UberFireTutorial
[INFO]    Validating units:
[INFO]       [ERROR] Errors in 'jar:file:/Users/manuel/.m2/repository/com/google/guava/guava-gwt/14.0.1/guava-gwt-14.0.1.jar!/com/google/common/base/super/com/google/common/base/CharMatcher.java'
[INFO]          [ERROR] Line 760: The type java.util.BitSet cannot be resolved. It is indirectly referenced from required .class files
[INFO]       [ERROR] Errors in 'jar:file:/Users/manuel/.m2/repository/com/google/guava/guava-gwt/14.0.1/guava-gwt-14.0.1.jar!/com/google/common/primitives/Booleans.java'
[INFO]          [ERROR] Line 29: The import java.util.BitSet cannot be resolved
[INFO]    [ERROR] Aborting compile due to errors in some input files
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4:02.288s
[INFO] Finished at: Wed Feb 25 10:12:16 CET 2015
[INFO] Final Memory: 44M/94M
[INFO] -----------------------------------------------------------------------

google/guava#1824
https://gist.github.com/mbiarnes/6125326128748e5a6e60

Workaround (use a JDK 7):

    export JAVA_HOME=`/usr/libexec/java_home -v 1.7`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.