• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sonar Qube - java.lang.NoClassDefFoundError: javassist/bytecode/ClassFile

 
Mauricio Leoncio dos Santos
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone!

This is my first time in here... and I dont found if there's a post answering my question and if here is the right place, so ... here is my doubt:

My team is starting to use Sonar Qube as our "code coverage helper" and when we try "mvn sonar:sonar" or "mvn clean install sonar:sonar" in any project, we got the error below:
Could someone help us?

Thank you

Mauricio







 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34860
369
Eclipse IDE Java VI Editor
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like javaassist is missing from your pom as a dependency. Can you double check your pom (or effective pom)?
 
Mauricio Leoncio dos Santos
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Jeanne.
Checked! Should we add a dependency whose version is compatible with Sonar?

Sonar version: sonar-3.6.2

Javaassist dependency:





Besides there are others errors that I've forgotten:










Jeanne Boyarsky wrote:It looks like javaassist is missing from your pom as a dependency. Can you double check your pom (or effective pom)?
 
Mauricio Leoncio dos Santos
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Up
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic