GithubHelp home page GithubHelp logo

Cannot analyze maven project? about infer HOT 6 CLOSED

facebook avatar facebook commented on April 20, 2024
Cannot analyze maven project?

from infer.

Comments (6)

martinoluca avatar martinoluca commented on April 20, 2024

could you please report your version of java/javac?
java -version
javac -version

from infer.

ericdcobb avatar ericdcobb commented on April 20, 2024

When I run infer with mvn package I get the same error I reported here

from infer.

monkeytest15 avatar monkeytest15 commented on April 20, 2024

I get the same error in the mvn project

ec2-54-67-1-102:biz monkey$ infer -- mvn install
TODO: print error message
There was nothing to analyze, exiting

and java info

java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

from infer.

MichaelScofield avatar MichaelScofield commented on April 20, 2024

@martinoluca This is my java and javac version:

java -version
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)

javac -version
javac 1.8.0_05

from infer.

martinoluca avatar martinoluca commented on April 20, 2024

@monkeytest15 is the install target also re-building your source code? Usually targets like compile are doing the compilation itself (which is what Infer needs to perform the analysis). Alternatively, have you tried cleaning your build with mvn clean?

from infer.

jvillard avatar jvillard commented on April 20, 2024

Closing as a probable duplicate of #30. A workaround for now is to install java and javac at version 1.7.

from infer.

Related Issues (20)

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.