Results 1 to 2 of 2
  1. #1
    Silent is offline Member
    Join Date
    Dec 2012
    Posts
    1
    Rep Power
    0

    Default ClassNotFoundException

    I try to make my first app based on this: Introduction to Developing Web Applications - NetBeans IDE Tutorial

    When I run the app I get an ClassNotFoundException. This means, the app builds fine. I can start it and the page is displayed. Only the moment I push the button and another class should be called the exception is created.

    I'm pretty sure the problem is with the packages. The manual says: "2.Right-click the Source Packages node and choose New > Java Class. Enter NameHandler in the Class Name text box and type org.mypackage.hello in the Package combo box."

    However I don't see a Package combo box. So I ignored this step. Consequently where the example source code contains a package statement mine does not and when I try to add one I'm not sure what package name to use. Some names that I came up with are not accepted, others are accepted, but the error remains.

    Can someone please point out where I go wrong and how to fix this or where to find a solution?

  2. #2
    quad64bit's Avatar
    quad64bit is offline Moderator
    Join Date
    Jul 2009
    Location
    VA
    Posts
    1,323
    Rep Power
    6

    Default Re: ClassNotFoundException

    Paste your complete error message here - that will help us get to the bottom of it!

Similar Threads

  1. ClassNotFoundException
    By pachmarhi in forum New To Java
    Replies: 1
    Last Post: 09-29-2012, 02:55 PM
  2. ClassnotFoundException
    By balaji shan in forum Java Servlet
    Replies: 8
    Last Post: 01-19-2011, 03:47 PM
  3. ClassNotFoundException
    By meprasobh in forum New To Java
    Replies: 2
    Last Post: 10-17-2010, 03:32 PM
  4. classNotFoundException
    By jyothi.priyanka in forum NetBeans
    Replies: 5
    Last Post: 08-24-2010, 10:13 AM
  5. ClassNotFoundException
    By oontvoo in forum Java Applets
    Replies: 7
    Last Post: 05-13-2010, 11:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •