Results 1 to 11 of 11
  1. #1
    Himali is offline Member
    Join Date
    Jun 2011
    Location
    Singapore
    Posts
    12
    Rep Power
    0

    Default simulating a distributed system in netbeans

    I'm simulating a distributed system in netbeans using java.
    In that there is class named netex02.java that is having a constructor that is calling another constructor from resources.java.
    But im getting an error that java.lang.NoSuchMethod.Error:the path to the file.
    can anyone plz help me out?
    Attached Files Attached Files
    Last edited by Himali; 06-04-2011 at 11:33 AM.

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,375
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by Himali View Post
    I'm simulating a distributed system in netbeans using java.
    In that there is class named netex02.java that is having a constructor that is calling another constructor from resources.java.
    But im getting an error that java.lang.NoSuchMethod.Error:the path to the file.
    can anyone plz help me out?
    The code was written in November 2004; have you waited six and a half years before you asked this question?

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  3. #3
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,306
    Rep Power
    25

    Default

    im getting an error
    Please copy and post here the full text of the error message.
    Also post the relevant code showing the lines where the error occured.
    Use code tags. See: BB Code List - Java Forums

  4. #4
    Himali is offline Member
    Join Date
    Jun 2011
    Location
    Singapore
    Posts
    12
    Rep Power
    0

    Default

    its not like that
    actually its part of research work

  5. #5
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,375
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by Himali View Post
    its not like that
    actually its part of research work
    Your own research work? If it's not "like that"; what is it then that prohibits you from helping us to help you?

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  6. #6
    Himali is offline Member
    Join Date
    Jun 2011
    Location
    Singapore
    Posts
    12
    Rep Power
    0

    Default

    not mine my prof's work
    im just assistant

  7. #7
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,306
    Rep Power
    25

    Default

    What do you expect us to do? You need to provide some info about your problem as requested above.

  8. #8
    Himali is offline Member
    Join Date
    Jun 2011
    Location
    Singapore
    Posts
    12
    Rep Power
    0

    Default

    this exc.txt is the file that contains the output
    Attached Files Attached Files

  9. #9
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,375
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by Himali View Post
    this exc.txt is the file that contains the output
    You ignored what the compiler had to say about this and you blindly started to run the (incorrect) code; not a very wise thing to do and this is what you get. Read the error message and fix it.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  10. #10
    Himali is offline Member
    Join Date
    Jun 2011
    Location
    Singapore
    Posts
    12
    Rep Power
    0

    Default

    i dont understand the error thats y asking for help

  11. #11
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,375
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by Himali View Post
    i dont understand the error thats y asking for help
    This is what the error message had to say:

    Java Code:
    Exception in thread "main" java.lang.NoSuchMethodError: gridsim.ResourceCharacteristics.<init>(Ljava/lang/String;Ljava/lang/String;Lgridsim/MachineList;IDDDDD)V
            at network.example02.NetEx02.createGridResource(NetEx02.java:315)
            at network.example02.NetEx02.main(NetEx02.java:64)
    In other words: there is no such method so you have to fix that.

    kind regards,

    Jos

    ps. please post all your error messages/code here; not many people like following links.
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. Simulating an elevator
    By intrepid604 in forum New To Java
    Replies: 4
    Last Post: 06-05-2011, 10:43 AM
  2. Replies: 0
    Last Post: 11-20-2009, 05:16 AM
  3. How to Use RMI for Distributed System?
    By tssutha in forum Threads and Synchronization
    Replies: 1
    Last Post: 03-16-2009, 02:07 PM
  4. simulating netstat
    By prashant in forum Networking
    Replies: 1
    Last Post: 03-14-2009, 07:41 AM
  5. shortcut of System.out.println() without netbeans
    By VipinKeshri in forum New To Java
    Replies: 1
    Last Post: 11-18-2007, 09:24 AM

Posting Permissions

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