Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / JavaBeans / October 2004

Tip: Looking for answers? Try searching our database.

The wierdest thing

Thread view: 
SMMT - 19 Oct 2004 16:32 GMT
Hi,

I'm doing this J2EE aplication using JBoss AS , JBoss IDE and Eclipse. In the aplication jar a have
a Stateless Bean that uses an instance of a value object class named EntityField. Well, I already
run the aplication before with no problem, but today I added a Message Driven Bean named SimpleBean.
I redeployed it with no error , but when I try to run the client it throws an exception saying the
EntityField class was not found.
This is wierd has I've not altered the class and both the class and the statless 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/EntityField
    at
com.ethica.efw.server.servicebeans.DictionaryEditonServiceBean.readEntityFields(DictionaryEditonServiceBean.java:187)
    at
com.ethica.efw.server.servicebeans.DictionaryEditonServiceBean.findAllEntitiesMetaData(DictionaryEditonServiceBean.java:145)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)
    at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
    at
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.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
SMMT - 19 Oct 2004 21:36 GMT
Hello,

I found the problem. The class has implementing a interface outisde the jar file.
Thank you.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.