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

Accepted Answer
0 votes

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
Community showcase
Published yesterday in Jira Ops

Jira Ops Early Access Program Update #2: Let’s talk severity levels

Welcome to your weekly Jira Ops Early access program update, where we’re sharing news and updates on Jira Ops' progress as we work toward our 1.0 release. If you ever want to drop us feedback or idea...

25 views 0 0
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