Page 1 of 1

Class not found

PostPosted:Thu Feb 26, 2009 3:37 pm
by wagnermk
Hi,

I\'m trying to execute version 3 of openkm but when I\'m starting the server I\'m getting this message:

12:11:29,566 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-4.2.2.GA/server/default/deploy/OpenKM.ear
12:12:04,178 WARN [verifier] EJB spec violation:
Bean : AuthModule
Section: 22.2
Warning: The Bean Provider must specify the fully-qualified name of the Java class that implements the enterprise bean\'s business methods in the <ejb-class> element.
Info : Class not found on \'es.git.openkm.ejb.AuthModule.AuthModuleBean\': Unexpected error during load of: es.git.openkm.ejb.AuthModule.AuthModuleBean, msg=Bad version number in .class file

12:12:04,178 ERROR [MainDeployer] Could not create deployment: file:/C:/jboss-4.2.2.GA/server/default/tmp/deploy/tmp7184287460010256548OpenKM.ear-contents/OpenKM.jar
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.


I executed xdoclet and it has generated output like the documentation.
This machine has access to internet.
I\'m using windows vista and the tools as said in the developer documentation.

What am I doing wrong? Is there a document installation for version 3?

Thanks

Re:Class not found

PostPosted:Thu Feb 26, 2009 4:25 pm
by jllort
Seems something has gone wrong because not found this class \'es.git.openkm.ejb.AuthModule.AuthModuleBean\'

Let\'s starting assuming you\'ve executed xdoclet, that generates all extra classes ( no errors appears on eclipse problems tab no ? ). Which java version are you using on eclipse to this project and which are you using to running jboss.

Re:Class not found

PostPosted:Thu Feb 26, 2009 4:38 pm
by wagnermk
No error appears when executing xdoclet.
I\'m using JDK1.5.0.17 (configured in the server and in the java build path)

Re:Class not found

PostPosted:Thu Feb 26, 2009 4:51 pm
by wagnermk
I also tried with JDK version 1.5.0_15, but the problem remains the same.

Re:Class not found

PostPosted:Fri Feb 27, 2009 8:43 am
by mjsr
I\'ve got the same problem. I\'m running Win XP SP2 with JDK1.5.0.17

Any thoughts on how I could solve this?

Thank you

Re:Class not found

PostPosted:Fri Feb 27, 2009 8:50 am
by pavila
Download the bundle JBoss-OpenKM from SorceForge. This should work.

Re:Class not found

PostPosted:Mon Mar 02, 2009 12:07 pm
by wagnermk
Thanks! Now it\'s working.