Thread: Errors with Eclipse IDE running new server

Results 1 to 7 of 7
  1. #1 Errors with Eclipse IDE running new server 
    Registered Member
    Join Date
    Jan 2015
    Age
    30
    Posts
    21
    Thanks given
    2
    Thanks received
    0
    Rep Power
    0
    As the title says, I just began working on a new server recently and re-downloaded Eclipse for obvious reasons.

    I'm getting several errors, and since I'm not a Java guru nor have I used Eclipse much in the past, I don't know how to fix them.

    Here's what i'm getting:

    Code:
    Project 'RSPS Project 2015' is missing required library: 'C:\Users\rhys\Desktop\FUTURE SOURCE\Current\lib\demorpg.jar'
    Code:
    Project 'RSPS Project 2015' is missing required library: 'C:\Users\rhys\Desktop\FUTURE SOURCE\Current\lib\FileStore.jar'
    Code:
    Project 'RSPS Project 2015' is missing required library: 'C:\Users\rhys\Desktop\FUTURE SOURCE\Current\lib\GTLVote.jar'

    etc etc etc. Basically it's looking for a folder (rhys) that I don't have, I just need to know how to make it look for my files instead of rhys.

    I've been told to "clean" the project, which didn't work, and I googled it a bit and all I got were extremely complicated answers about the classpath being the issue.

    I've also looked at the eclipse guide posted on this forum, and everything works great aside from being able to compile/run from these errors.

    How can I fix this? Can you explain it to me like i'm four? Thanks in advance!
    Owner and Developer of [718]Project 2015
    Still in BETA, to be released for testing soon
    Reply With Quote  
     

  2. #2  
    Extreme Donator


    Join Date
    Mar 2009
    Posts
    1,461
    Thanks given
    111
    Thanks received
    184
    Rep Power
    79
    set your build path
    add external libs
    Attached image
    Quote Originally Posted by MaxXi View Post
    Your combat is so awsome that i almost forgot its the combat matrix coded.
    Quote Originally Posted by twobrosplay View Post
    Try allowing the batch file through your firewall?
    Quote Originally Posted by SS_Alophonse View Post
    i have no life u say ha anything u say kid.i doubt u can even get a girlfriend
    i bet u cant even code anything.
    Reply With Quote  
     

  3. #3  
    Registered Member Sjonsen's Avatar
    Join Date
    May 2012
    Posts
    321
    Thanks given
    15
    Thanks received
    44
    Rep Power
    20
    Right click your project -> build path -> configure build path. In there give it the directory to those files on your system and delete the old directory.
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jan 2015
    Age
    30
    Posts
    21
    Thanks given
    2
    Thanks received
    0
    Rep Power
    0
    Quote Originally Posted by Sjonsen View Post
    Right click your project -> build path -> configure build path. In there give it the directory to those files on your system and delete the old directory.

    I think that fixed it! My errors went away. Actually semi embarrassing at how simple that was. Thank you!

    I'm getting a different error now when trying to run the server. I've done Run -> Run configurations -> Java Applications -> New Configuration, then the main class I took from my runserver.bat in my source folder. This is what it's showing now:

    Code:
    [GTLVote V1.1] Settings initializing...
    [GTLVote V1.1] Error connecting to the database.
    USE: guimode(boolean) debug(boolean) hosted(boolean)
    com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: 
    
    ** BEGIN NESTED EXCEPTION ** 
    
    java.net.UnknownHostException
    MESSAGE: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server
    
    STACKTRACE:
    
    java.net.UnknownHostException: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server
    	at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
    	at java.net.InetAddress$2.lookupAllHostAddr(Unknown Source)
    	at java.net.InetAddress.getAddressesFromNameService(Unknown Source)
    	at java.net.InetAddress.getAllByName0(Unknown Source)
    	at java.net.InetAddress.getAllByName(Unknown Source)
    	at java.net.InetAddress.getAllByName(Unknown Source)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:246)
    	at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:271)
    	at com.mysql.jdbc.Connection.createNewIO(Connection.java:2771)
    	at com.mysql.jdbc.Connection.<init>(Connection.java:1555)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285)
    	at java.sql.DriverManager.getConnection(Unknown Source)
    	at java.sql.DriverManager.getConnection(Unknown Source)
    	at org.Vote.Connect.connect(Connect.java:18)
    	at org.Vote.MainLoader.<init>(MainLoader.java:22)
    	at com.rs.Launcher.<clinit>(Launcher.java:42)
    
    
    ** END NESTED EXCEPTION **
    
    
    
    Last packet sent to the server was 1 ms ago.
    	at com.mysql.jdbc.Connection.createNewIO(Connection.java:2847)
    	at com.mysql.jdbc.Connection.<init>(Connection.java:1555)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285)
    	at java.sql.DriverManager.getConnection(Unknown Source)
    	at java.sql.DriverManager.getConnection(Unknown Source)
    	at org.Vote.Connect.connect(Connect.java:18)
    	at org.Vote.MainLoader.<init>(MainLoader.java:22)
    	at com.rs.Launcher.<clinit>(Launcher.java:42)

    I know these are all from forums based things like voting, etc. So how can I disable that until I get a forum up and running to connect it all to?
    Owner and Developer of [718]Project 2015
    Still in BETA, to be released for testing soon
    Reply With Quote  
     

  5. #5  
    Registered Member Sjonsen's Avatar
    Join Date
    May 2012
    Posts
    321
    Thanks given
    15
    Thanks received
    44
    Rep Power
    20
    Quote Originally Posted by DevinM View Post
    I think that fixed it! My errors went away. Actually semi embarrassing at how simple that was. Thank you!

    I'm getting a different error now when trying to run the server. I've done Run -> Run configurations -> Java Applications -> New Configuration, then the main class I took from my runserver.bat in my source folder. This is what it's showing now:

    Code:
    [GTLVote V1.1] Settings initializing...
    [GTLVote V1.1] Error connecting to the database.
    USE: guimode(boolean) debug(boolean) hosted(boolean)
    com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: 
    
    ** BEGIN NESTED EXCEPTION ** 
    
    java.net.UnknownHostException
    MESSAGE: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server
    
    STACKTRACE:
    
    java.net.UnknownHostException: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server
    	at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
    	at java.net.InetAddress$2.lookupAllHostAddr(Unknown Source)
    	at java.net.InetAddress.getAddressesFromNameService(Unknown Source)
    	at java.net.InetAddress.getAllByName0(Unknown Source)
    	at java.net.InetAddress.getAllByName(Unknown Source)
    	at java.net.InetAddress.getAllByName(Unknown Source)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:246)
    	at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:271)
    	at com.mysql.jdbc.Connection.createNewIO(Connection.java:2771)
    	at com.mysql.jdbc.Connection.<init>(Connection.java:1555)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285)
    	at java.sql.DriverManager.getConnection(Unknown Source)
    	at java.sql.DriverManager.getConnection(Unknown Source)
    	at org.Vote.Connect.connect(Connect.java:18)
    	at org.Vote.MainLoader.<init>(MainLoader.java:22)
    	at com.rs.Launcher.<clinit>(Launcher.java:42)
    
    
    ** END NESTED EXCEPTION **
    
    
    
    Last packet sent to the server was 1 ms ago.
    	at com.mysql.jdbc.Connection.createNewIO(Connection.java:2847)
    	at com.mysql.jdbc.Connection.<init>(Connection.java:1555)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285)
    	at java.sql.DriverManager.getConnection(Unknown Source)
    	at java.sql.DriverManager.getConnection(Unknown Source)
    	at org.Vote.Connect.connect(Connect.java:18)
    	at org.Vote.MainLoader.<init>(MainLoader.java:22)
    	at com.rs.Launcher.<clinit>(Launcher.java:42)
    In the tab "Arguments" type in false false true, should work(Program arguments field).

    As for all voting and stuff, simply comment out where it's trying to connect in Launcher.
    Reply With Quote  
     

  6. Thankful user:


  7. #6  
    Registered Member
    Join Date
    Jan 2015
    Age
    30
    Posts
    21
    Thanks given
    2
    Thanks received
    0
    Rep Power
    0
    Quote Originally Posted by Sjonsen View Post
    In the tab "Arguments" type in false false true, should work(Program arguments field).
    That did the trick! Thanks so much!
    Owner and Developer of [718]Project 2015
    Still in BETA, to be released for testing soon
    Reply With Quote  
     

  8. #7  
    Registered Member Sjonsen's Avatar
    Join Date
    May 2012
    Posts
    321
    Thanks given
    15
    Thanks received
    44
    Rep Power
    20
    Quote Originally Posted by DevinM View Post
    That did the trick! Thanks so much!
    No problem, best of luck with your project.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Help with Eclipse IDE error!
    By SpawnInsanity in forum Application Development
    Replies: 4
    Last Post: 03-25-2014, 05:14 PM
  2. Run Error with Eclipse
    By Nirvana in forum Application Development
    Replies: 9
    Last Post: 01-09-2013, 02:26 AM
  3. Error when trying to Run the server
    By Monstercat in forum Help
    Replies: 2
    Last Post: 06-28-2012, 06:52 PM
  4. Replies: 4
    Last Post: 11-29-2011, 05:30 AM
  5. Wierd error:S When i run the server
    By Mergim in forum Help
    Replies: 4
    Last Post: 10-25-2009, 11:20 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
  •