Results 1 to 4 of 4
Thread: java.lang.NoClassDefFoundError
- 06-04-2008, 05:15 PM #1
Member
- Join Date
- Jun 2008
- Posts
- 8
- Rep Power
- 0
java.lang.NoClassDefFoundError
Hi,
I need help about this stupid error "java.lang.NoClassDefFoundError" that keeps annoying me.
Well, I have packed 6 .class files into javasci.jar file and add it to my Eclipse project as externel jar. Now, when I import this file (import javasci.";) and call one of its functions, Eclipse does not report me any error, but when I run my program/application tomcat throws me an "java.lang.NoClassDefFoundError" error saying that "java.lang.NoClassDefFoundError: javasci/SciString" like it cannot find a diffinition for the called function.
What can be the problem? Anyone?
Thanks!!!
Bye, Igor S
- 06-14-2008, 02:14 AM #2
Tomcat needs to know where your classes are at runtime. Did you deploy the application?
Daniel @ [www.littletutorials.com]
Language is froth on the surface of thought
- 06-14-2008, 01:30 PM #3
Member
- Join Date
- Jun 2008
- Posts
- 8
- Rep Power
- 0
Yes I did, but still... :-(
Any idea what might be the problem? I imported javasci.jar as an external jar into Java Build Path, but I do not know where I must import or put javasci.dll file. Is this file nessecery? Maybe you're right, maybe something is wrong with tomcat itself. When you said that I need to "deploy" application, what did you mean?
Thanks for reply!
- 06-15-2008, 12:54 AM #4
Member
- Join Date
- Jun 2008
- Posts
- 8
- Rep Power
- 0
Similar Threads
-
java.lang.NoClassDefFoundError: javax/activation/DataSource
By bbq in forum Advanced JavaReplies: 2Last Post: 07-21-2012, 01:15 AM -
java.lang.NoClassDefFoundError: com.ibm.ws.orb.GlobalORBFactory
By hawkeye in forum Enterprise JavaBeans (EJB)Replies: 1Last Post: 06-16-2008, 10:56 AM -
java.lang.NoClassDefFoundError
By J_a_y in forum New To JavaReplies: 2Last Post: 08-07-2007, 11:51 AM -
java.lang.NoClassDefFoundError
By fred in forum Advanced JavaReplies: 3Last Post: 08-01-2007, 05:00 PM -
java.lang.NoClassDefFoundError Exception when I invoke to a class outside projectEJB
By Daniel in forum Enterprise JavaBeans (EJB)Replies: 1Last Post: 07-06-2007, 06:08 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks