How can I Deal with this 2 errors?

I'm so desperated I can't even run the HelloWorldApp, because it has this error in the interpreter (I compiled it and Zero erros):
Exception in thread "main" java.lang.NoClassDefFoundErros
and in other program I have this
Exception in thread "main" java.lang.NoSuchMethodError: detail.number () at Factorial.main
But I DO have a method named number which has been inclosed in the object detail.
Please Help Me! I'm really Frustrated (hey, you may be like me if HelloWorldApp doesn't evev runs!!!)

I'm so desperated I can't even run the HelloWorldApp,
because it has this error in the interpreter (I
compiled it and Zero erros):
Exception in thread "main"
java.lang.NoClassDefFoundErrosYou did compile your file using "javac" correct?
And you are not using "package" in your source code correct?
Once compiled you need to be in the directory where the class file is.
and in other program I have this
Exception in thread "main"
java.lang.NoSuchMethodError: detail.number () at
Factorial.main
But I DO have a method named number which has been
inclosed in the object detail.No you do not. What that error says is that at that particular point it can not find a method that matches the way you are using the method.
That could be because the method doesn't exist. Or because the signature is wrong. Or because it is private and it needs to be public. Or because it is not part of "detail" but is part of something else.

Similar Messages

  • TS1436 I received this message twice on 2 new & separate attempts to burn a playlist to a NEW cd:  "The attempt to burn a disc failed.  The burn failed because of a medium write error."  What is a "medium write error" and how can I deal with this?

    I received this message twice on 2 new & separate attempts to burn a playlist to a NEW cd:  "The attempt to burn a disc failed.  The burn failed because of a medium write error."  What is a "medium write error" and how can I deal with this?

    Hello Pat,
    The following article provides troublehsooting steps and information that can help get iTunes burning discs again.
    Can't burn a CD in iTunes for Windows
    http://support.apple.com/kb/TS1436
    Cheers,
    Allen

  • It says that "there was a problem connecting to the server". What's wrong with this, and how can I deal with this problem?

    I just got my new iPad Mini2, and when I choose "sign in with your apple ID", it says that "there was a problem connecting to the server". What's wrong with this, and how can I deal with this problem?

    1. Turn router off for 30 seconds and on again
    2. Settings>General>Reset>Reset Network Settings

  • HT5621 I have moved permanently from the US to live in the UK. when I try to download a UK app I am often told that I cannot use a UK Apple sstore, only a US store. I need to access various UK stores how can I deal with this?

    I have moved permanently from the US to live in the UK. when I try to download a UK app I am often told that I cannot use a UK Apple sstore, only a US store. I need to access various UK stores how can I deal with this?

    Try here
    http://support.apple.com/kb/HT1311
    when you have UK Cards etc best to change as well

  • Hi apple am new user to apple i just bought i phone 4s  and  i set up passowrd and forgot it how  and the iphone is not responding now how can i deal with this broblem please helpe

    hi apple am new user to apple i just bought i phone 4s  and  i set up passowrd and forgot it how  and the iphone is not responding now how can i deal with this broblem please helpe

    iPhone User Guide (For iOS 5.1 Software)

  • How do I deal with this error message when burning DVD's: The disc can't be burned, because the device failed to calibrate the laser power level for this media.

    I am getting this error message when trying to burn a DVD: The disc can’t be burned, because the device failed to calibrate the laser power level for this media. iMac, Mac OS X 10.6.8 Memorex DVD-R 12x Any ideas?

    First, try a different batch of recordable DVDs. If you still have problems, you may want to make an appointment at the genius bar and have it checked. The drive may be failing.

  • How can i deal with this problem

    For example, In my database, there are three records:
    field : a b c
    a.txt c:/a.txt adsfs
    b.txt c:/b.txt asdfsf
    c.txt c:/c.txt asfdsf
    Now I open one file b.txt to check the database whether have the same filename,filepath, hash value.
    the results display:
    The file: b.txt has not been registered
    The file: c://b.txt appears OK
    The file: b.txt has not been registered
    I want to do is to only shows the results of 'The file: c://b.txt appears OK'. I know the problem is the body of while(rs.next).
    is there any best way to conform to my demand
    try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    String url="jdbc:odbc:MD5";
    Connection connection=DriverManager.getConnection(url);
    Statement statement = connection.createStatement();
    String sql="SELECT * FROM MD5";
    ResultSet rs = statement.executeQuery(sql);
    while (rs.next()) {
    if (file.getName().equals(rs.getString("a")))
      if (file.getPath().equals(rs.getString("b")))
      if (m.equals(rs.getString("c")))
        jTextArea2.append("The file: " + file.getPath() +"appears OK"+"\n");
    else jTextArea2.append("The file: " + file.getPath() +"has been modified"+"\n");
    else jTextArea2.append("The Path for the" + file.getName() +"has been modified"+"\n");
    else jTextArea2.append("The file: " + file.getName() +"has not been registered"+"\n");
    rs.close();
    connection.close();
    }

    Why not add a WHERE clause to your statment to filter records having the name of the file in the first record. In this case you'd better use PreparedStatement and set the file name as statement parameter
    Because now you loop through the entire table for a thing you can deal with at DB level.
    And I agree with the others' remarks about those braces ;)
    Mike

  • TS4009 in my email account, the mobile me account appears with a circle to the left indicating it is not active- How can I deal with this

    my icloud account or mobile me account is inactive
    how can I resume receiving email messages to my me.com account?
    all mail is being returned or rejected

    Sign out in System Preferences>iCloud and sign back in again.

  • I often get the error message af604005 when I try to email someone by clicking on a website link. How can I deal with this please?

    At http://www.ehow.com/video_4985518_stop-internet-explorer-script-error.html I found what looked like a promising bit of advice for Internet Explorer users but I wasn't sure how to adapt it for Firefox.

    Run it in compatibility mode and input the credentials.
    Mylenium

  • How can I deal with this installing problem????

    Exit Code: 6
    Please see specific errors and warnings below for troubleshooting. For example,  ERROR: DW050 ... WARNING: DW016, DW024 ...
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 7 error(s), 3 warning(s)
    WARNING: DW024: The payload: {9124DF4E-617D-486B-A970-8FA632244F24} Adobe Photoshop CS6 Core 13.0.0.0 requires a UI parent with following specification:
    Family: Photoshop
    ProductName: Adobe Photoshop CS6 Core_x64
    This parent relationship is not satisfied, because this payload is not present in this session.
    WARNING: DW016: NOTE: Cannot set action to the payload {B8ADDCBD-30D9-4366-AE25-089CEF76C8E1} Suite Shared Configuration CS6 3.0.0.0 as it is already upgraded by the payload {8706963D-5F48-47CC-998B-DAB70B089DB8} Suite Shared Configuration CS6 3.0.0.0
    WARNING: DW016: NOTE: Cannot set action to the payload {B8ADDCBD-30D9-4366-AE25-089CEF76C8E1} Suite Shared Configuration CS6 3.0.0.0 as it is already upgraded by the payload {8706963D-5F48-47CC-998B-DAB70B089DB8} Suite Shared Configuration CS6 3.0.0.0
    ----------- Payload: {9E0AF030-AC6B-11E0-8837-00215AEA26C9} Microsoft Visual C++ 2010 Redistributable Package (x86) 10.0.40219.1 -----------
    ERROR: Failed to repair Microsoft Visual C++ 2010 Redistributable Package (x86). Please try repairing it by double clicking on the executable at "D:\AdobePS\Adobe Photoshop CS6 Extended\Adobe CS6\payloads\Microsoft VC 2010 Redist (x86)\vcredist_x86.exe", or download and install the latest Microsoft Visual C++ 2010 Redistributable Package (x86) from Microsoft website - www.microsoft.com
    ----------- Payload: {7E91BB17-16A1-42CE-9502-D6C98BE04920} PDF Settings CS6 11.0.0.0 -----------
    ERROR: AMT Operation failed with status code 1 for file C:\Program Files\Common Files\Adobe\Linguistics\6.0\Providers\Plugins2\AdobeHunspellPlugin\AMT\component.xml
    ERROR: AMT Operation failed with status code 1 for file C:\Program Files\Common Files\Adobe\Linguistics\6.0\Providers\Plugins2\WRLiloPlugin1.3\AMT\component.xml
    ERROR: AMT Operation failed with status code 1 for file C:\Program Files\Common Files\Adobe\FontsRecommended\2.0\AMT\component.xml
    ERROR: AMT Operation failed with status code 1 for file C:\Program Files (x86)\Adobe\Adobe Bridge CS6\AMT\application.xml
    ERROR: AMT Operation failed with status code 1 for file C:\Program Files (x86)\Adobe\Adobe Photoshop CS6\AMT\application.xml
    ERROR: DW050: The following payload errors were found during install:
    ERROR: DW050:  - Microsoft Visual C++ 2010 Redistributable Package (x86): Install failed

    http://helpx.adobe.com/creative-suite/kb/errors-exit-code-6-exit.html
    Mylenium

  • My iPad is connected to wifi,but every several minutes later,I just can not connect to webpage,then I have to shut off iPad and turn it on again,and several minutes later the same thing happens again,how can I deal with this?

    Why I can not go to webpage even wifi is on?it happens every 6 minutes.......

    Is it the same webpage everytime?  And is it exactly 6 minutes?
    If you have control over the modem and wifi router, i.e. your personal router in your home, I would powercycle your modem and router and see what happens.
    1.  unplug the wifi router's power cord
    2. unplug the modem's power cord
    3. wait 10 - 15 seconds (I usually wait about a minute)
    4. plug the modem back in and wait for it to stabilize
    5. plug the router back in and wait for it to stabilize
    6. try to to to the web page again.
    And while I am waiting for my modem to start back up and get itself connected to the internet I usually restart my iPad/iPhone.  Hold the Home button and the Power button down at the same time, wait for the apple logo to appear and then wait for the device to to a restart.  Very much like rebooting your PC.

  • How can I deal with long sql by the oo4o?

    I am using VB and oo4o to develop a sql executor which is a extention of an old system.
    For some reason, I have to use oo4o v8.1.7 to deal with Oracle Database 8i to 11g.
    But when I send a very long sql(11KB) to it I got a error in the VB enviroment.
    The Err.Description is "automention error. Started object is disconnected by the client.".
    The Err.Number is "-2147417848 ".
    The sql that I send it to the program is a simple select sql that like select a, b, c, substrb(d, 1, 2), substrb(e, 2, 3) .... from A_TBL where A=aa;
    This sql is normally executed by the sqlplus but I got an error by the oo4o.
    When I insert a '' between the 30Xth items, it got exectuted normally.
    ex. select a, b, c, substrb(d, 1, 2), substrb(e, 1, 2) ..... substrb(303th, 3, 4), '', substrb(304th, 1, 2) ... from A_TBL where A = aa;
    How can I deal with this problem? Thanks.

    So how can use this function correctly?By learning what exceptions are, how they're used, and what you can do to deal with them. There's a tutorial here: http://java.sun.com/docs/books/tutorial/essential/exceptions/index.htmlAnd here's a quick overview:
    The base class for all exceptions is Throwable. Java provides Exception and Error that extend Throwable. RuntimeException (and many others) extend Exception.
    RuntimeException and its descendants, and Error and its descendants, are called unchecked exceptions. Everything else is a checked exception.
    If your method, or any method it calls, can throw a checked exception, then your method must either catch that exception, or declare that your method throws that exception. This way, when I call your method, I know at compile time what can possibly go wrong and I can decide whether to handle it or just bubble it up to my caller. Catching a given exception also catches all that exception's descendants. Declaring that you throw a given exception means that you might throw that exception or any of its descendants.
    Unchecked exceptions (RuntimeException, Error, and their descendants) are not subject to those restrictions. Any method can throw any unchecked exception at any time without declaring it. This is because unchecked exceptions are either the sign of a coding error (RuntimeException), which is totally preventable and should be fixed rather than handled by the code that encounters it, or a problem in the VM, which in general can not be predicted or handled.

  • HT1420 I purchased new computers twice within the same year because they old were damaged in a storm.  However, I can't deauthorize/reauthorize the new computers.  How do I deal with this situation.

    I purchased new computers twice within the same year because they were damaged in a storm.  However, I can't deauthorize/reauthorize the new computers because it has been less than a year.  How do I deal with this situation?

    BrianBlaze wrote:
    I have 3 Computers at home, I am studying computer sciences and am constantly rerformatting my computers, installing windows and linux over and over again.... EVERYTIME I reformat I have to authorize the same computer and so it takes up one of my 5 authorized computers... Anyways after deauthorizing all my computers in september I was not aware I couldn't do it for another year (why does APPLE assume these stupid tactics prevent piracy). Anywysw I need to reach apple and have them make it so I can do it again. I had a similar problem with Playstation and when I called them they fixed it for me... even windows (which you can only have one serial per computer) made it easy because all I had to do was call them and they fixed it for me. Now I need APPLE to do the same and this is the only place I could see to actually say what is going on... I can't believe I have to do this with my iPhone... I wanted an mp3 player and a phone together and if I can't put new songs until September 20, 2012 I am going to freak out!
    HELP!
    Brian
    Try this link: http://www.howtogeek.com/howto/23974/beginner-deauthorize-all-computers-associat ed-with-your-itunes-account/

  • How do I deal with constant "error loading content" messages?

    I'm constantly seeing error messages on my Apple TV (2nd gen) on content I easily watch on my other iDevices. What gives? This thing is rapidly becoming a vy expensive paper weight. Possibly the worst Apple product I've yet purchased. Am I alone in this?  What can I do?

    You cannot connect to TC using USB.
    Plug the TC into the computer using ethernet.
    Press and hold the reset button on the TC for about 10sec.. until front led rapidly flashes.. release it.
    Open the airport utility and make sure you can locate the TC. Check the disk page that the disk started up without errors.
    When you say
    Sodrawi wrote:
    How do I deal with the error message at my Time Capsule saying "There is a problem to connect to server xxxx-Time-Capsule.local."
    I am guessing you mean Time Machine.
    If TM still cannot find the TC disk.. reset TM and redo the setup.
    Read A4 here.
    http://pondini.org/TM/Troubleshooting.html

  • How can I deal with an apostrophy

    My simple questions is how can I deal with an apostrophy when I trying to save to the table, here is an example in how I am saving.
    'Sandr'as Casa' this gives me an error message. I have to do it like this
    Strings.replace("Sandr'as Casa"," ' "," ' ' "), a package function
    SQLDesFollow = "UPDATE [CRVMReq] " +
    "SET [SkillSet]='" + Strings.replace("Sandr'as Casa"," ' "," ' ' ")+ "'" WHERE [ReqId]='" + ReqValuesReqId[4] + "";
    dbs.execute(SQLDesFollow);
    SQLDesFollow = "UPDATE [CRVMReq] " +
    "SET [SkillSet]='Sandr'as Casa' WHERE [ReqId]='" + ReqValuesReqId[4] + "";
    dbs.execute(SQLDesFollow);
    any help will be appreciated.

    Here is the magic word: PreparedStatement.
    Start here:
    http://java.sun.com/docs/books/tutorial/jdbc/basics/pr
    epared.htmlSeconded, thirded and fourthed.
    And if later readers of this thread feel that they would like to provide another answer then they should think again because they would be wrong.
    There is only one correct answer to this question. PreparedStatement.

Maybe you are looking for

  • Display value and description of one field in alv grid

    Hi Folks,    I want to display value and description of one field as one column in alv grid. for example iam having Xfield = 01,02,03. and 01 iam having text value as xxx, 01 xxx 02 yyy 03 zzz Im report display the values are displaying as 01,02,03..

  • Error while executing the standard API in HRMS

    Hi Amigos, Currently i am working on the api "hr_personal_pay_method_api.create_us_personal_pay_method" while i try to run a procedure with hard coding some values passing to this api, i am getting the following error. ORA-20001: The legislation for

  • Connecting ipod to tv

    i have a cable that is has a black and yellow plug, it was from my video camera, when i had the mini i could use that cable and it would play music on the tv, but now i tried using the video thru that cable but i dont get sound or music? can any one

  • Referencing one object many times

    Hallo, I have an m:n relationship between products and spareparts (both object tables): create or replace type sparepart_TY as object( sparepartid number, designation varchar2(50) create or replace type sparepart_NT as table of ref sparepart_TY creat

  • Header method in ALV

    Is there any method for alv header in class cl_gui_grid_display  ? thanks Sandeep