Reputation: 6855
I'm using SONAR for my project. When I execute mvn sonar:sonar
, it throws
java.lang.VerifyError: Instruction type does not match stack map in method
This is after I update my JDK to 1.7.0_09 and maven to 3.0.4.
Please Help me.
Upvotes: 1
Views: 1436
Reputation: 1028
Please configure server in your setting.xml of maven.
Updated
add In your setting.xml
of maven
<profile>
<id>sonar</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<sonar.jdbc.url>jdbc:postgresql://localhost/sonar</sonar.jdbc.url>
<sonar.jdbc.driver>org.postgresql.Driver</sonar.jdbc.driver>
<sonar.jdbc.username>user</sonar.jdbc.username>
<sonar.jdbc.password>password</sonar.jdbc.password>
<!-- SERVER ON A REMOTE HOST -->
<sonar.host.url>http://localhost:9000</sonar.host.url>
</properties>
</profile>
Upvotes: 1