Open zhaoyangyingmu opened 2 years ago
Are you using JDK 11 or 8? I could not make it work with JDK 11, but with JDK 8 it worked.
Hi, It's not a proper solution, but in my case helped:
Before I executed the commands below similar error happened.
The commands:
/usr/local/bin$ sudo rm infer
/usr/local/bin$ VERSION=1.0.0; curl -sSL "https://github.com/facebook/infer/releases/download/v$VERSION/infer-linux64-v$VERSION.tar.xz" | sudo tar -C /opt -xJ && sudo ln -s "/opt/infer-linux64-v$VERSION/bin/infer" /usr/local/bin/infer
/usr/local/bin$ infer --version
Infer version v1.0.0
So I downgraded Infer version from v1.1.0 to v1.0.0 Maven: 3.8.6, JDK11, Ubuntu 22.04 LTS
Hello, sorry to interrupt. I try to use infer to analyze my mvn project. When I run
mvn clean compile
, everything is fine. The info is like:But when I use
infer -a checkers --eradicate -- mvn clean compile
, it failed:I see similar question in the issues, and I try the command without
clean
, but infer will not analyze the project when compiling is finished, right? So, how could I solve this problem? Here is my pom.xml: