1. Гость, мы просим Вас ознакомиться с Правилами Форума и Отказом от ответственности!

1.2.6 (1.3.4) java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

Тема в разделе 'PW Вопросник', создана пользователем TwoStar, 6 ноя 2020.

  1. TopicStarter Overlay

    TwoStar Пользователи

    Сообщения:
    246
    Лайки:
    30
    Пол:
    Мужской
    Репутация:
    0
    Здравствуйте! Прошу вашей помощи..

    Код:
    ===============================================================
                       Inicializando por Bola                                                      
              Iniciando Servidor Perfect World 1.3.8                           
    ===============================================================
    
    === IWEB ===
    Using CATALINA_BASE:  /PWServer/jakarta
    Using CATALINA_HOME:  /PWServer/jakarta
    Using CATALINA_TMPDIR: /PWServer/jakarta/temp
    Using JRE_HOME:        /usr/java/jdk1.6.0_12
    Using CLASSPATH:      /PWServer/jakarta/bin/bootstrap.jar:/PWServer/jakarta/bin/tomcat-juli.jar
    === SUCESSO! ===
    
    === LOGSERVICE ===
    info : program started with 6 threads.
    === SUCESSO! ===
    
    === UNIQUENAMED ===
    info : TcpManager OnAddSession
    info : logclient: OnAddSession
    info : logclienttcp: OnAddSession
    === SUCESSO! ===
    
    === AUTH BAIDU  ===
    java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
            at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:201)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:200)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:325)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:296)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:270)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:191)
            at application.driver.handler.action(Unknown Source)
            at application.handler.traverse(Unknown Source)
            at application.handler.action(Unknown Source)
            at com.goldhuman.xml.parser.endElement(Unknown Source)
            at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:607)
            at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1759)
            at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2931)
            at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:625)
            at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:486)
            at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:828)
            at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:757)
            at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:133)
            at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1211)
            at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:548)
            at javax.xml.parsers.SAXParser.parse(SAXParser.java:392)
            at javax.xml.parsers.SAXParser.parse(SAXParser.java:195)
            at com.goldhuman.xml.parser.parse(Unknown Source)
            at com.goldhuman.xml.parser.parse(Unknown Source)
            at authd.main(Unknown Source)
    === SUCESSO! ===
    
    === GAMEDBD ===
    info : TcpManager OnAddSession
    read compress status from storage, compress=1
    info : Begin import clsconfig ...
    read compress status from storage, compress=1
    err : StorageEnv::checkpoint:DbEnv::txn_checkpoint: Invalid argument
    read compress status from storage, compress=1
    info : ClsConfig Imported .
    info : InitGameDB, Role delete time is 604800.
    info : InitGameDB, acquire region(id=1),[l=-100000.0,r=100000.0,t=100000.0,b=-100000.0].
    info : Init GameDB successfully.
    TRACE : init SellDataImage. maxSellID=0,rolenum=0
    info : logclient: OnAddSession
    info : logclienttcp: OnAddSession
    === SUCESSO! ===
    
    === GACD ===
    info : TcpManager OnAddSession
    info : logclient: OnAddSession
    info : logclienttcp: OnAddSession
    === SUCESSO! ===
    
    === GFACTIOND ===
    info : TcpManager OnAddSession
    info : GameDBServer::OnAddSession, sid=7.
    TRACE : OnAddSession sid=7
    info : OnAddSession
    info : logclient: OnAddSession
    info : logclienttcp: OnAddSession
    === SUCESSO! ===
    
    === GDELIVERYD ===
    info : TcpManager OnAddSession
    TRACE : gdeliveryd::Max player allowed is 5000
    info : GameDBServer::OnAddSession, sid=8.
    TRACE : OnAddSession sid=8
    TRACE : Timer update: (0) Fri Nov  6 18:45:53 2020
    
    TRACE : TrickBattleMan Initialize start_hour = 20 start_min=0
    TRACE : TrickBattleMan Initialize end_hour = 22 end_min=0
    TRACE : TrickBattle Init Successfully!!
    info : logclient: OnAddSession
    TRACE : gdelivery::connect gfactionserver successfully.
    TRACE : ganticheatclient:: connect gacd successfully!
    info : logclienttcp: OnAddSession
    TRACE : gdelivery::connect to gauthd successfully.
    info : OnAddSession
    TRACE : gfactionserver:: add link(or Delivery) 0 to map.
    TRACE : Receive zoneid=1 from delivery
    info : OnAddSession
    TRACE : DBAuctionList, size=0, handle=0
    TRACE : DBBattleLoad, count=51.
    TRACE : DBWebTradeLoad, size=0, handle=0
    info : OnAddSession
    log4j:ERROR No syslog host is set for SyslogAppedender named "SYSLOG".
    TRACE : dbloadglobalcontrol: rpc return. retcode=0
    TRACE : dbauctionlist: received. res->items.size()=0,res->handle.size()=0 retcode=0
    TRACE : BattleManager: Sync map notice to GS.
    TRACE : dbwebtradeload: received. res->max_sn=0,res->items.size()=0,res->handle.size()=0 retcode=0
    TRACE : DBWebTradeLoadSold, size=0, handle=0
    TRACE : dbwebtradeloadsold: received. res->snlist.size()=0,res->handle.size()=0 retcode=0
    === SUCESSO! ===
    
    === GLINKD ===
    info : TcpManager OnAddSession
    info : TcpManager OnAddSession
    info : TcpManager OnAddSession
    info : logclienttcp: OnAddSession
    info : info : logclient: OnAddSession
    logclienttcp: OnAddSession
    info : logclient: OnAddSession
    info : logclient: OnAddSession
    info : logclienttcp: OnAddSession
    info : TcpManager OnAddSession
    info : logclient: OnAddSession
    info : logclienttcp: OnAddSession
    TRACE : gfactionserver:: add link(or Delivery) 4 to map.
    TRACE : gfactionserver:: add link(or Delivery) 3 to map.
    TRACE : gfactionserver:: add link(or Delivery) 2 to map.
    TRACE : gfactionserver:: add link(or Delivery) 1 to map.
    TRACE : DBHomePlayerList, size=0, handle=0
    TRACE : dbhomeplayerlist: received. res->players.size()=0,res->handle.size()=0 retcode=0
    TRACE : DBHomeStorageList, size=0, handle=0
    TRACE : dbhomestoragelist: received. res->storages.size()=0,res->handle.size()=0 retcode=0
    TRACE : DBHomeDataList, size=0, handle=0
    TRACE : dbhomedatalist: received. res->homes.size()=0,res->handle.size()=0 retcode=0
    TRACE : DBHomeMessageList, size=0, handle=0
    TRACE : dbhomemessagelist: received. res->msgs.size()=0,res->handle.size()=0 retcode=0
    TRACE : DBHomeTerrainList, size=0, handle=0
    TRACE : dbhometerrainlist: received. res->terrains.size()=0,res->handle.size()=0 retcode=0
    TRACE : DBHomeTreasureList, size=0, handle=0
    TRACE : dbhometreasurelist: received. res->treasures.size()=0,res->handle.size()=0 retcode=0
    TRACE : DBHomeTerrainDraftList, size=0, handle=0
    TRACE : dbhomedraftlist: received. res->drafts.size()=0,res->handle.size()=0 retcode=0
    === SUCESSO! ===
    
    === WORLD ===
    info : GameDBServer::OnAddSession, sid=9.
    info : TcpManager OnAddSession
    info : logclient: OnAddSession
    info : logclienttcp: OnAddSession
    TRACE : gproviderserver:: add gameserver 1 to map.
    TRACE : gdeliveryserver::gameserver 1's region is (-4096.000,  4096.000, 5632.000,-5632.000), worldtag is 1
    info : OnAddSession
    === SUCESSO! ===
    
    ===============================================================
    =                  Servidor Ligado com sucesso                =
    =                    Servidores estao Online                  =
    ===============================================================
    
    ОС:Ubuntu 12.04
    Ошибка:java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

    authd/build/authd
    Код:
    #!/bin/sh
    cd /PWServer/authd/build
    
    export HOME=/usr/java/jdk1.6.0_12/
    #export PATH=$HOME/bin:$PATH
    export PATH=$PATH:$HOME/bin:/usr/java/jdk1.6.0_12/bin
    
    export CLASSPATH=.:/usr/java/jdk1.6.0_12/lib/dt.jar:/usr/java/jdk1.6.0_12/lib/tools.jar:/usr/java/jdk1.6.0_12/lib/mysql-connector-java-5.1.6-bin.jar
    
    export JAVA_HOME=/usr/java/jdk1.6.0_12/
    
    while true; do
    
    java -cp ../lib/jio.jar:../lib/application.jar:../lib/commons-collections-3.1.jar:../lib/commons-dbcp-1.2.1.jar:../lib/commons-pool-1.2.jar:../lib/commons-logging-1.0.4.jar:../lib/log4j-1.2.9.jar:.:$CLASSPATH authd table.xml
    sleep 2
    
    done
    P.S в папке /usr/ нет каталога /java/
  2. Hamsss Пользователи

    Сообщения:
    97
    Лайки:
    9
    Пол:
    Мужской
    Репутация:
    0
    Команда:
    Emudevs
    Страна:
    Russian Federation Russian Federation
    usr/lib/jvm там ява, перекрути пути
  3. TopicStarter Overlay

    TwoStar Пользователи

    Сообщения:
    246
    Лайки:
    30
    Пол:
    Мужской
    Репутация:
    0
    Спасибо за ответ! Но тут нет похожих файлов :(
    --- добавлено: 6 ноя 2020 в 20:05 ---
    upload_2020-11-7_0-5-5.png

    Вложения:

    Последнее редактирование модератором: 14 ноя 2020
  4. Hamsss Пользователи

    Сообщения:
    97
    Лайки:
    9
    Пол:
    Мужской
    Репутация:
    0
    Команда:
    Emudevs
    Страна:
    Russian Federation Russian Federation
    export HOME=/usr/lib/jvm/java-7-openjdk-i386 - к примеру
    Последнее редактирование модератором: 14 ноя 2020
  5. TopicStarter Overlay

    TwoStar Пользователи

    Сообщения:
    246
    Лайки:
    30
    Пол:
    Мужской
    Репутация:
    0
Черновик сохранён Черновик удалён
Similar Threads
  1. TheMazzahaka
    Ответов:
    0
    Просмотров:
    1.585
  2. Fituchini
    Ответов:
    2
    Просмотров:
    1.690
  3. Flein

    1.2.6 (1.3.4) java

    Ответов:
    2
    Просмотров:
    1.405
  4. alex21312131
    Ответов:
    14
    Просмотров:
    1.786
  5. Tinkee

    1.2.6 (1.3.4) java

    Ответов:
    1
    Просмотров:
    953
Загрузка...

Поделиться этой страницей