./userdb.sh
Code:
Exception in thread "main" java.lang.NoClassDefFoundError: lynx
Caused by: java.lang.ClassNotFoundException: lynx
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
Could not find the main class: lynx. Program will exit.
This is what i get... :glare:
See my previous posts about the second issue with my
To view the content, you need to sign in or register
JDK 1.6 = Installed!
All PW needed libraries = OK!
Lynx = Installed!
Tomcat = Installed!
XAMPP = Installed!
Do
not focus on userdb.sh, or lynx right now, trust me when I say they're not important. We
Do need to figure out why your chardb.jsp is not working, as that is vital to this whole package working!
I plan on releasing a package when I receive an update from Hemer that includes a config line for being able to set exactly how many lines / top players that it will display. Unfortunately I cannot make a tutorial as there are too many little tedious changes that I have made, that it would certainly be much easier to just release as a package.
However if your chardb.jsp isn't working now, I do not think that my package (or any tutorial) will change that; so we must find out why your chardb.jsp is not functioning!
---------- Post added at 03:52 AM ---------- Previous post was at 03:19 AM ----------
is your database called "dbo" ??? (first thing that popped into my mind)
{you said you properly imported the "uwebplayers.sql", and your MySQL UN & PW are both root as it's only your test server}
if it's not called "dbo" you would have to change that in the following line within chardb.jsp:
("jdbc:mysql://localhost:3306/
dbo?useUnicode=true&characterEncoding=utf8", "root", "root");
---------- Post added at 03:58 AM ---------- Previous post was at 03:52 AM ----------
If that's not it, keep looking at possible issues with the .jsp (not) connecting to the MySQL database, as I really think and feel that's where the problem lies. (ie... make sure user root is allowed access permissions from any host)