Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Netbeans and org.apache.commons.lang3 issue

Avatar of Marco Gasi
Marco GasiFlag for Spain asked on
JavaEditors IDEs
3 Comments1 Solution837 ViewsLast Modified:
Hi everybody.
I'm new to Java and I'm playing with a small project, just to start. Using Netbeans IDE, I wanted to import org.apache.commons.lang3.StringUtils, so I followed following steps:

1) right click on Libraries node in Projects panel
2) choosen Add JAR/Folder
3) added commons-lang3-3.5.jar file downloaded from Apache site
4) run the project (everything's fine)
5) Clean & build to create my small jar file

Then I used jSmooth to convert the jar file to a Windows executable and after some test I activated the debug option and there I saw that  I had this error:
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils

Netbeans doesn't raise any error at all but conversion makes the exe raise that error and the code after the line where StringUtils is used is not executed...

Any idea?
Thank you for any help :)
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
Commented:
This problem has been solved!
Unlock 1 Answer and 3 Comments.
See Answers