Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java in General
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Java in General
NoClassDefFoundError
S Shehab
Ranch Hand
Posts: 493
I like...
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hi pals
i;m creating .exe file with jsmooth and i included all the required libs , but i got this error
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/poi/hssf/usermodel/HSSFWorkbook at sherif_DataToExcel.DataToExcel2.<init>(DataToExcel2.java:69) at sherif_Db.client_input.logic(client_input.java:171) at sherif_Db.client_input.main(client_input.java:27) Caused by: java.lang.ClassNotFoundException: org.apache.poi.hssf.usermodel.HSSFW orkbook at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) ... 3 more
any advice?
Thanks,
Sherif
Campbell Ritchie
Marshal
Posts: 79178
377
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Find where the org.apache . . . HSSFW class is, and where it is supposed to be, then make sure those two locations are the same!
S Shehab
Ranch Hand
Posts: 493
I like...
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
actually this class is inside poi-3.1-FINAL-20080629.jar and this lib is included in the classpath while i'm creating the exe file with jsmooth.
Thanks,
Sherif
Rene Larsen
Ranch Hand
Posts: 1179
I like...
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I need to understand you correct...
Are you creating an *.exe file or an Excel (*.xls) file??
Regards, Rene Larsen
Rene Larsen
Ranch Hand
Posts: 1179
I like...
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Have you added the hole needed classpath to jsmooth (see
3.3. Defining the
Java
Application parameters)??
Regards, Rene Larsen
S Shehab
Ranch Hand
Posts: 493
I like...
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Thanks Rene for your support , i fixed the issue by making lib folder contains all the external libs plus a jar contains all my applicaiton classes then in the jsmooth in the classpath area i choosed all of them them , then it worked fine ..
Thanks,
Sherif
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Security Exception....
class not found exception
MySQL Connector/J
Error in loading Applet from JSP
How to access DB from Applet?
More...