Рейтинг темы:
  • 0 Голос(ов) - 0 в среднем
  • 1
  • 2
  • 3
  • 4
  • 5
Не могу скомпилить сервер
#1
Сборка interlude, не может найти Cipher:
1
но скомпилить сервер можно, когда запускаю, то в конце загрузки сервера он пишет:
Код:
Connecting to login on 127.0.0.1:9014
Exception in thread "LoginServerThread" java.lang.Error: Unresolved compilation
problems:
        The import javax.crypto cannot be resolved
        Cipher cannot be resolved to a type
        Cipher cannot be resolved
        Cipher cannot be resolved to a variable

        at net.sf.l2j.gameserver.gameserverpackets.BlowFishKey.<init>(BlowFishKe
y.java:26)
        at net.sf.l2j.gameserver.LoginServerThread.run(LoginServerThread.java:21
6)
Maximum Numbers of Connected Players: 5000
Telnet server is currently disabled.

в java build patch в эклипсе добавил jce.jar из папки явы, ошибка пропала, но при запуске сервера все равно выдает:

Код:
Connecting to login on 127.0.0.1:9014
Exception in thread "LoginServerThread" java.lang.Error: Unresolved compilation
problems:
        The import javax.crypto cannot be resolved
        Cipher cannot be resolved to a type
        Cipher cannot be resolved
        Cipher cannot be resolved to a variable

        at net.sf.l2j.gameserver.gameserverpackets.BlowFishKey.<init>(BlowFishKe
y.java:26)
        at net.sf.l2j.gameserver.LoginServerThread.run(LoginServerThread.java:21
6)
Maximum Numbers of Connected Players: 5000
Telnet server is currently disabled.

подскажите как решить проблему?
Ответ
#2
ZakLight Написал:Сборка interlude, не может найти Cipher:
1
но скомпилить сервер можно, когда запускаю, то в конце загрузки сервера он пишет:
Код:
Connecting to login on 127.0.0.1:9014
Exception in thread "LoginServerThread" java.lang.Error: Unresolved compilation
problems:
        The import javax.crypto cannot be resolved
        Cipher cannot be resolved to a type
        Cipher cannot be resolved
        Cipher cannot be resolved to a variable

        at net.sf.l2j.gameserver.gameserverpackets.BlowFishKey.<init>(BlowFishKe
y.java:26)
        at net.sf.l2j.gameserver.LoginServerThread.run(LoginServerThread.java:21
6)
Maximum Numbers of Connected Players: 5000
Telnet server is currently disabled.

в java build patch в эклипсе добавил jce.jar из папки явы, ошибка пропала, но при запуске сервера все равно выдает:

Код:
Connecting to login on 127.0.0.1:9014
Exception in thread "LoginServerThread" java.lang.Error: Unresolved compilation
problems:
        The import javax.crypto cannot be resolved
        Cipher cannot be resolved to a type
        Cipher cannot be resolved
        Cipher cannot be resolved to a variable

        at net.sf.l2j.gameserver.gameserverpackets.BlowFishKey.<init>(BlowFishKe
y.java:26)
        at net.sf.l2j.gameserver.LoginServerThread.run(LoginServerThread.java:21
6)
Maximum Numbers of Connected Players: 5000
Telnet server is currently disabled.

подскажите как решить проблему?

1)http://www.docjar.com/html/api/javax/cry....java.html

2)Вырезать все связанное с данным классом

3)найдите библиотеку javolution с данным классом внутри
Ответ
#3
так у меня есть jce.jar(из папки явы) с Cipher внутри, еклипс ошибку больше не видит, но сервер все равно не запускается.
Ответ


Возможно похожие темы ...
Тема Автор Ответы Просмотры Последний пост
  Не могу получить или дать права ГМ или Админа Necrofanci 0 235 03-26-2024, 12:12 AM
Последний пост: Necrofanci
  Русский Никнейм PTS Сервер! Kenrix 6 3,615 11-26-2023, 09:32 AM
Последний пост: ОргазмО
  где сервер гранит файлы ява? doloto777 3 1,422 04-15-2023, 11:44 AM
Последний пост: gorodetskiy
  Требуется Тех. Администратор на сервер Interlude/High Five! sfmusic 1 1,306 03-15-2023, 01:11 PM
Последний пост: Adamheers
  Требуется Тех. Администратор на сервер essence (mobius) sfmusic 0 976 03-06-2023, 05:26 PM
Последний пост: sfmusic
  Не пускает на сервер Nab 8 2,823 02-01-2022, 12:01 PM
Последний пост: Nab
  Ищу опытного рекламщика чтобы совместно держать готовый сервер Донат - 50 на 50.- xevilx 3 1,715 08-25-2021, 10:09 PM
Последний пост: Lord_Gothic
  Сервер lineage 2 chronicle 1 harbingers of war на node.js space2pacman 3 2,986 02-26-2020, 08:42 AM
Последний пост: space2pacman
  Не могу присоеденить клиент к серверу! TheProphist 3 3,137 09-28-2019, 01:25 PM
Последний пост: TheProphist
  Не пускает дальше в логин сервер Kennedy 2 2,025 12-26-2018, 11:22 PM
Последний пост: n3k0nation

Перейти к форуму:


Пользователи, просматривающие эту тему: 2 Гость(ей)