• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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







 
author & internet detective
Posts: 41878
909
Eclipse IDE VI Editor Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Up
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic