|
|
First off, he's not trolling, he obviously genuinely needs help. Second off, don't try and put off the image of a pro when you call it "coding". Terminology isn't everything, but it just makes you sound almost as inexperienced as he is.
On topic:
This should definitely help people trying to learn about the new protocol, so even though rumors are spreading about the clients/caches, thanks for actually providing something people can learn from and not leech.
If you didn't then you need this:
Go to green Run button and click on the arrow and select run configurations.
Click on search and choose Launcher, and since the launcher has parameters you must use them.
When you chose Launcher you will see above a tab called "Arguments"
Click on it. Look at the "Program Arguments" side. And put this in it:
Click on apply.Code:false true true
Go back to the main tab and click run.
Worked fine with eclipse but i got errors when compiling...
can anyone post the run.bat for jedis client please
There is none sessionfactory class in the source? I get 21 errors when compile...
Code:starting... src\com\sean\game\db\HibernateController.java:3: error: package org.hibernate do es not exist import org.hibernate.SessionFactory; ^ src\com\sean\game\db\HibernateController.java:4: error: package org.hibernate.cf g does not exist import org.hibernate.cfg.Configuration; ^ src\com\sean\game\db\HibernateController.java:5: error: package org.hibernate.se rvice does not exist import org.hibernate.service.ServiceRegistry; ^ src\com\sean\game\db\HibernateController.java:6: error: package org.hibernate.se rvice does not exist import org.hibernate.service.ServiceRegistryBuilder; ^ src\com\sean\game\db\HibernateController.java:15: error: cannot find symbol private final SessionFactory sessionFactory; ^ symbol: class SessionFactory location: class HibernateController src\com\sean\game\db\HibernateController.java:20: error: cannot find symbol private final ServiceRegistry serviceRegistry; ^ symbol: class ServiceRegistry location: class HibernateController src\com\sean\game\db\HibernateController.java:35: error: cannot find symbol public ServiceRegistry getServiceRegistry() { ^ symbol: class ServiceRegistry location: class HibernateController src\com\sean\game\db\HibernateController.java:43: error: cannot find symbol public SessionFactory getSessionFactory() { ^ symbol: class SessionFactory location: class HibernateController src\com\sean\game\io\impl\HibernateLoader.java:3: error: package org.hibernate d oes not exist import org.hibernate.Session; ^ src\com\sean\game\io\impl\HibernateLoader.java:4: error: package org.hibernate d oes not exist import org.hibernate.SessionFactory; ^ src\com\sean\game\io\impl\HibernateLoader.java:5: error: package org.hibernate d oes not exist import org.hibernate.Transaction; ^ src\com\sean\game\io\impl\HibernateLoader.java:6: error: package org.hibernate.c riterion does not exist import org.hibernate.criterion.Restrictions; ^ src\com\sean\game\db\HibernateController.java:26: error: cannot find symbol Configuration config = new Configuration().configure(); ^ symbol: class Configuration location: class HibernateController src\com\sean\game\db\HibernateController.java:26: error: cannot find symbol Configuration config = new Configuration().configure(); ^ symbol: class Configuration location: class HibernateController src\com\sean\game\db\HibernateController.java:27: error: cannot find symbol this.serviceRegistry = new ServiceRegistryBuilder().applySettings(config .getProperties()).buildServiceRegistry(); ^ symbol: class ServiceRegistryBuilder location: class HibernateController src\com\sean\game\io\impl\HibernateLoader.java:37: error: cannot find symbol SessionFactory factory = controller.getSessionFactory(); ^ symbol: class SessionFactory location: class HibernateLoader src\com\sean\game\io\impl\HibernateLoader.java:42: error: cannot find symbol Session session = factory.openSession(); ^ symbol: class Session location: class HibernateLoader src\com\sean\game\io\impl\HibernateLoader.java:48: error: cannot find symbol Transaction transaction = session.beginTransaction(); ^ symbol: class Transaction location: class HibernateLoader src\com\sean\game\io\impl\HibernateLoader.java:78: error: cannot find symbol SessionFactory factory = controller.getSessionFactory(); ^ symbol: class SessionFactory location: class HibernateLoader src\com\sean\game\io\impl\HibernateLoader.java:83: error: cannot find symbol Session session = factory.openSession(); ^ symbol: class Session location: class HibernateLoader src\com\sean\game\io\impl\HibernateLoader.java:90: error: cannot find symbol Player player = (Player) session.createCriteria(Player.c lass).add(Restrictions.eq("details.username", username)).uniqueResult(); ^ symbol: variable Restrictions location: class HibernateLoader 21 errors Trykk en tast for å fortsette...
| « King J Scape 718/742 loading 747 indexs | 640 Cache » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |