0
У меня есть все банки весны 4.1.7 и плитки версии 3.0.5, Ниже приведена ошибка ,java.lang.NullPointerException at org.apache.tiles.access.TilesAccess.getContainer (TilesAccess.java:124)
SCHWERWIEGEND: Servlet.service() for servlet [mccstore] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'standard_welcome': Invocation of init method failed; nested exceptio
n is java.lang.NullPointerException] with root cause
java.lang.NullPointerException
at org.apache.tiles.access.TilesAccess.getContainer(TilesAccess.java:124)
at org.apache.tiles.access.TilesAccess.getContainer(TilesAccess.java:107)
at org.springframework.web.servlet.view.tiles3.TilesView.afterPropertiesSet(TilesView.java:97)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1633)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570)
Возможный дубликат [Что такое исключение Null Pointer Exception и как его исправить?] (Http://stackoverflow.com/questions/218384/what-is-a-null-pointer-exception-and-how -do-i-fix-it) – Jens
Почему у вас даже есть компонент типа TilesView, определенный как bean-компонент? Вы не должны делать или иметь, что ... –
<боб ID = "viewResolver" \t \t класс = "org.springframework.web.servlet.view.tiles3.TilesViewResolver"> \t \t -> \t Я закомментирована tilesView .. –