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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Trello

Get inspired with Trello & earn free Gold

A blank Trello board can be both a beautiful and intimidating thing. How many lists should I have? Is creating 10 labels overkill? How can I best track my progress? Is there a way...

31 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