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 Join to answer
Community showcase
Emilee Spencer
Published yesterday in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

50 views 0 3
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot