GithubHelp home page GithubHelp logo

appformer / uberfire-tutorial Goto Github PK

View Code? Open in Web Editor NEW
7.0 8.0 10.0 229 KB

Companion code to the UberFire Tutorial Doc

Home Page: http://www.uberfireframework.org/docs

Java 84.50% HTML 13.48% CSS 2.02%

uberfire-tutorial's Introduction

uberfire-tutorial's People

Contributors

dgutierr avatar ederign avatar jfuerth avatar paulovmr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

uberfire-tutorial's Issues

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`

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?

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.