troubleshooting - George912/bookmark_manager GitHub Wiki

Troubleshooting

  1. maven: "duplicate declaration of version" while install

solution:

delete duplicate dependencies in root pom.xml


  1. Plugin *** or one of its dependencies could not be resolved: Cannot access central (http://repo.maven.apache.org/maven2) in offline mode and the ***:jar:1.1 has not been downloaded from it before

solution:


  1. все зависимости все подчеркнуты красным цветом

solution:

http://qaru.site/questions/20701/import-maven-dependencies-in-intellij-idea + перезагрузить idea


  1. не отображаются атрибуты модели в jspx

solution:

https://stackoverflow.com/questions/2168832/expression-language-in-jsp-not-working


  1. дублируется имя таблицы при выполнении операций Hibernate к БД

solution: ???

Получается: при реализации иерархического соединения - получении подкатегорий категории.
Состояние модели Category - коммит bfbaa72ab58b3e1b892d165948131854ceb72b6e
Причина:


  1. org.hibernate.TransientObjectException: object references an unsaved transient instance

solution: ???


  1. javax.el.PropertyNotFoundException: Property 'propertyName' not found

solution:

Книга 656 Переменная, объявленная в тэге spring:message/ имела такое же имя, как атрибут Model


  1. Проблемы с русской кодировкой в представлении

solution:

https://github.com/George912/bookmark_manager/wiki/troubleshooting/_edit

  • установить в Settings->Editor->File Encodings: Global Encoding, Project Encoding, Default Encoding for properties files в UTF-8

  1. java.io.FileNotFoundException: class path resource cannot be resolved to absolute file path because it does not reside in the file system: jar:file:

solution:

https://stackoverflow.com/questions/14876836/file-inside-jar-is-not-visible-for-spring


  1. javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file.

solution:

https://stackoverflow.com/questions/1525385/noinitialcontextexception-error


⚠️ **GitHub.com Fallback** ⚠️