Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

The wierdest thing
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

Report this thread to moderator Post Follow-up to this message
Old Post
SMMT
10-19-04 08:57 PM


Re: The wierdest thing
Hello,

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

Report this thread to moderator Post Follow-up to this message
Old Post
SMMT
10-20-04 01:56 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Java Beans archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 06:00 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.