Code Comments
Programming Forum and web based access to our favorite programming groups.Hi, I'm doing this J2EE aplication using JBoss AS , JBoss IDE and Eclipse. In th e aplication jar a have a Stateless Bean that uses an instance of a value object class named EntityF ield. Well, I already run the aplication before with no problem, but today I added a Message Drive n Bean named SimpleBean. I redeployed it with no error , but when I try to run the client it throws a n exception saying the EntityField class was not found. This is wierd has I've not altered the class and both the class and the stat less bean are in the same jar (and so if the bean is found also should the class). I have already redepoyed several times , renamed the class , added the classified name of the class ... I've looked into the jar and the class is there with the correct name and package. Have found no solution. What do you think ? The exception stacktrace is: Caused by: java.lang.NoClassDefFoundError: com/ethica/efw/common/entities/En tityField at com.ethica.efw.server.servicebeans.DictionaryEditonServiceBean.readEntityFie lds(DictionaryEditonServiceBean.java:187) at com.ethica.efw.server.servicebeans.DictionaryEditonServiceBean.findAllEntiti esMetaData(DictionaryEditonServiceBean.java:145) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java :39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI mpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.ejb. StatelessSessionContainer$ContainerInter ceptor.invoke(Stateles sSessionContainer.java:683) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(Cach edConnectionInterceptor.java:185) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSe ssionInstanceInterceptor.java:72) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxIntercep tor.java:84) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorC MT.java:267) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java :118) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) .. 21 more
Post Follow-up to this messageHello, I found the problem. The class has implementing a interface outisde the jar file. Thank you.
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.