Results 1 to 1 of 1
- 07-22-2011, 10:35 AM #1
Member
- Join Date
- Jul 2011
- Posts
- 1
- Rep Power
- 0
Help | FileNotFoundException: db.properties
Hello there ,
I'm using netbeans to compile a V62 Maple Server.
And when I'm compiling it I'm getting this error:
I dont know what is the problem.. I already tried to do alots of things.Java Code:22/07/2011 11:21:33 net.sf.odinms.net.world.WorldServer <init> SEVERE: Could not configuration java.io.FileNotFoundException: db.properties (The system cannot find the file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:120) at java.io.FileInputStream.<init>(FileInputStream.java:79) at java.io.FileReader.<init>(FileReader.java:41) at net.sf.odinms.net.world.WorldServer.<init>(WorldServer.java:25) at net.sf.odinms.net.world.WorldServer.getInstance(WorldServer.java:40) at net.sf.odinms.net.world.WorldRegistryImpl.<init>(WorldRegistryImpl.java:56) at net.sf.odinms.net.world.WorldRegistryImpl.getInstance(WorldRegistryImpl.java:76) at net.sf.odinms.net.world.WorldServer.main(WorldServer.java:60) Exception in thread "main" java.lang.NullPointerException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at net.sf.odinms.database.DatabaseConnection$ThreadLocalConnection.initialValue(DatabaseConnection.java:50) at net.sf.odinms.database.DatabaseConnection$ThreadLocalConnection.initialValue(DatabaseConnection.java:39) at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:141) at java.lang.ThreadLocal.get(ThreadLocal.java:131) at net.sf.odinms.database.DatabaseConnection.getConnection(DatabaseConnection.java:22) at net.sf.odinms.net.world.WorldRegistryImpl.<init>(WorldRegistryImpl.java:57) at net.sf.odinms.net.world.WorldRegistryImpl.getInstance(WorldRegistryImpl.java:76) at net.sf.odinms.net.world.WorldServer.main(WorldServer.java:60)
I searched all over Google and not once people think that the problem is on the SQL .. but I'm sure that I'v got all the files in the folder and all the things to run a V62 Server and compile it (the problem is that it doesn't find the db.properties).
I'm using XuizSource.
And heres my db.properties file (where I'm getting the error):
Anyways if someone know how I can fix this please post here :)Java Code:driver=com.mysql.jdbc.Driver url=jdbc:mysql://localhost:3307/xuizsource?autoReconnect=true user = root password = [There is a password here]
Oh , and if it helps , I'v tried to compile some Player Commands and Admin Commands.
Similar Threads
-
Help with FileNotFoundException
By Beginner in forum New To JavaReplies: 11Last Post: 11-22-2010, 04:44 PM -
FileNotFoundException problem
By doha786 in forum New To JavaReplies: 1Last Post: 04-19-2010, 11:07 AM -
FileNotFoundException
By ProgrammingPup in forum Advanced JavaReplies: 4Last Post: 12-30-2009, 01:29 AM -
filenotfoundexception :@
By wildheart in forum New To JavaReplies: 2Last Post: 04-25-2009, 09:56 AM -
FileNotFoundException
By PeonLover in forum New To JavaReplies: 1Last Post: 12-26-2007, 06:15 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks