Главная

pjava+pg74.216.jdbc1.jar

Здравствуйте. Может кто попробывал заставить работать это :)? Кое как заставил находить дравер так теперь такое. В инете поискал вроде проблема из–за версии jdk, можно ли это как то поправить?

Error : uncaught exception: org.postgresql.util.PSQLException: Something unusual has occured to cause the driver to fail. Please report this exception: Exception: java.lang.IllegalArgumentException: sun.io.CharToByteUTF–8
Error : Stack Trace:
Error : java.lang.IllegalArgumentException: sun.io.CharToByteUTF–8
Error : at sun.io.CharToByteConverter.getConverterClass()
Error : at sun.io.CharToByteConverter.getConverter()
Error : at java.lang.String.getBytes()
Error : at org.postgresql.core.Encoding.isAvailable()
Error : at org.postgresql.core.Encoding.encodingForDatabaseEncoding()
Error : at org.postgresql.core.Encoding.getEncoding()
Error : at org.postgresql.jdbc1.AbstractJdbc1Connection.openConnectionV3()
Error : at org.postgresql.jdbc1.AbstractJdbc1Connection.openConnection()
Error : at org.postgresql.Driver.connect()
Error : at java.sql.DriverManager.getConnection()
Error : at java.sql.DriverManager.getConnection()
Error : at SeaBase.main()
Error : End of Stack Trace
Error : org.postgresql.util.PSQLException: Something unusual has occured to cause the driver to fail. Please report this exception: Exception: java.lang.IllegalArgumentException: sun.io.CharToByteUTF–8
Error : Stack Trace:
Error : java.lang.IllegalArgumentException: sun.io.CharToByteUTF–8
Error : at sun.io.CharToByteConverter.getConverterClass()
Error : at sun.io.CharToByteConverter.getConverter()
Error : at java.lang.String.getBytes()
Error : at org.postgresql.core.Encoding.isAvailable()
Error : at org.postgresql.core.Encoding.encodingForDatabaseEncoding()
Error : at org.postgresql.core.Encoding.getEncoding()
Error : at org.postgresql.jdbc1.AbstractJdbc1Connection.openConnectionV3()
Error : at org.postgresql.jdbc1.AbstractJdbc1Connection.openConnection()
Error : at org.postgresql.Driver.connect()
Error : at java.sql.DriverManager.getConnection()
Error : at java.sql.DriverManager.getConnection()
Error : at SeaBase.main()
Error : End of Stack Trace
Error : at org.postgresql.Driver.connect()
Error : at java.sql.DriverManager.getConnection()
Error : at java.sql.DriverManager.getConnection()
Error : at SeaBase.main()

Re: pjava+pg74.216.jdbc1.jar

Он тебе прямо написал:
Произошло что–то непонятное (необычное)…
Методов лечения подобных ошибок я не знаю, а ты?? :))

Отправить комментарий

Содержание этого поля является приватным и не предназначено к показу.
  • Адреса страниц и электронной почты автоматически преобразуются в ссылки.
  • Allowed HTML tags: <a> <em> <i> <img> <strong> <b> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Строки и параграфы переносятся автоматически.

Подробнее о форматировании

CAPTCHA
Введите перечисленные символы, чтобы мы убедились, что вы не робот. Не требуется для зарегистрированных пользователей.
F
j
5
s
g
9
Enter the code without spaces and pay attention to upper/lower case.