problem with clover on jboss webserver

Hello, I want to deploy my application on the jboss, when i do it i get this error:

ERROR [STDERR] [CLOVER] FATAL ERROR: Clover could not be initialised because of an unexpected error. (class java.lang.NoSuchMethodError:com_cenqua_clover.CloverVersionInfo.An_old_version_of_clover_is_on_your_compilation_classpath___Please_remove___Required_version_is___3_1_6()V)

How do I fix this?

Thanks.

2 answers

1 accepted

0 vote

It seems that you have instrumented your application using Clover 3.1.6, while the clover.jar on JBoss is from older version. Make sure that clover.jar from 3.1.6 is on JBoss CLASSPATH.

I using Clover 3.1.6 in application and on JBoss CLASSPATH: JBOSS_CLASSPATH="/home/jboss/product/jboss/server/default/deploy/clover-3.1.6.jar"

Yeap..am getting the same message while trying to deploy it on OC4J..assistence would be appreciated.

the message is

Clover could not be initialised. Are you sure you have Clover in the runtime classpath? (class oracle.classloader.util.AnnotatedNoClassDefFoundError:

Missing class: com_cenqua_clover.CloverVersionInfo

Have you installed clover.jar in OC4J container?

thanx for the pointer Marek..I guess it is responding now..it works with selenium as well right..

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

96 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you