set your build path
add external libs
|
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!
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?
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |