抛出异常的JSP项目org.apache.tiles.definition.NoSuchDefinitionException:dataAccessFailure

时间:2013-09-26 12:21:26

标签: eclipse spring jsp http tiles

这个例外是什么意思?

注意,我坚持这个项目

当我点击网站上的链接时会抛出它。

这是我点击它时网址的样子:

http://localhost:8080/classified/search?item1=1&item3=206

这是tiles.xml文件:

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE tiles-definitions PUBLIC   "-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN"     "http://tiles.apache.org/dtds/tiles-config_2_0.dtd">
<tiles-definitions>

    <!--  Default Template -->
    <definition name="defaultTemplate" template="/jsp/layout.jsp">
        <put-attribute name="metaInformation" value="" />
        <put-attribute name="header" value="/jsp/tiles/tilesHeader.jsp" />
        <put-attribute name="body" value="" />
        <put-attribute name="footer" value="/jsp/tiles/tilesFooter.jsp" />
    </definition>


    <definition name="home" extends="defaultTemplate">
        <put-attribute name="metaInformation"   value="/jsp/tiles/metaInformation/homeMeta.jsp" />
        <put-attribute name="body" value="/jsp/tiles/home.jsp" />
    </definition>

    <!-- myClassifieds to be replaced -->
    <definition name="myClassifieds" extends="defaultTemplate">
        <put-attribute name="metaInformation"
            value="/jsp/tiles/metaInformation/myClassifiedsMeta.jsp" />
        <put-attribute name="body" value="/jsp/tiles/myClassifieds.jsp" />
    </definition>

    <!-- gallery to be replaced -->
    <definition name="petpedia" extends="defaultTemplate">
        <put-attribute name="metaInformation" value="/jsp/tiles/metaInformation/petpediaMeta.jsp" />
        <put-attribute name="body" value="/jsp/petpedia.jsp" />
    </definition>

    <!-- gallery detail to be replaced -->
    <definition name="item" extends="defaultTemplate">
        <put-attribute name="metaInformation" value="/jsp/tiles/metaInformation/petpediaMeta.jsp" />
        <put-attribute name="body" value="/jsp/tiles/item.jsp" />
    </definition>

    <!-- gallery detail to be replaced -->
    <definition name="itemDetail" extends="defaultTemplate">
        <put-attribute name="metaInformation" value="/jsp/tiles/metaInformation/petpediaDetailMeta.jsp" />
        <put-attribute name="body" value="/jsp/tiles/itemDetail.jsp" />
    </definition>

    <!-- gallery detail to be replaced -->
    <definition name="itemList" extends="defaultTemplate">
        <put-attribute name="metaInformation" value="/jsp/tiles/metaInformation/petpediaListMeta.jsp" />
        <put-attribute name="body" value="/jsp/tiles/itemList.jsp" />
    </definition>

    <!-- Posting -->
    <definition name="posting" extends="defaultTemplate">
        <put-attribute name="metaInformation"
            value="/jsp/tiles/metaInformation/postingMeta.jsp" />
        <put-attribute name="body" value="/jsp/tiles/posting.jsp" />
    </definition>

    <!-- Search -->
    <definition name="search" extends="defaultTemplate">
        <put-attribute name="metaInformation"
            value="/jsp/tiles/metaInformation/searchMeta.jsp" />
        <put-attribute name="body" value="/jsp/tiles/search.jsp" />
    </definition>

    <!-- Classified -->
    <definition name="classified" extends="defaultTemplate">
        <put-attribute name="metaInformation"
            value="/jsp/tiles/metaInformation/classifiedMeta.jsp" />
        <put-attribute name="body" value="/jsp/tiles/classified.jsp" />
    </definition>

    <!-- Album -->
    <definition name="album" extends="defaultTemplate">
        <put-attribute name="metaInformation" value="/jsp/tiles/metaInformation/albumMeta.jsp" />
        <put-attribute name="body" value="/jsp/tiles/album.jsp" />
    </definition>

    <!-- AlbumDetail -->

    <definition name="albumDetail" extends="defaultTemplate">
        <put-attribute name="metaInformation" value="/jsp/tiles/metaInformation/albumDetailMeta.jsp" />
        <put-attribute name="body" value="/jsp/tiles/albumDetail.jsp" />
    </definition>

    <!-- Gallery  -->

    <definition name="gallery" extends="defaultTemplate">
        <put-attribute name="metaInformation" value="/jsp/tiles/metaInformation/galleryMeta.jsp" />
        <put-attribute name="body" value="/jsp/tiles/gallery.jsp" />
    </definition>


    <!-- Gallery Search-->

    <definition name="gallerySearch" extends="defaultTemplate">
        <put-attribute name="metaInformation" value="/jsp/tiles/metaInformation/gallerySearchMeta.jsp" />
        <put-attribute name="body" value="/jsp/tiles/gallerySearch.jsp" />
    </definition>

    <!-- Photo -->
    <definition name="photo" extends="defaultTemplate">
        <put-attribute name="metaInformation" value="/jsp/tiles/metaInformation/photoMeta.jsp" />
        <put-attribute name="body" value="/jsp/tiles/photo.jsp" />
    </definition>

    <!-- createAlbum -->
    <definition name="createAlbum" extends="defaultTemplate">
        <put-attribute name="metaInformation" value="/jsp/tiles/metaInformation/classifiedMeta.jsp" />
        <put-attribute name="body" value="/jsp/tiles/createAlbum.jsp" />
    </definition>

    <!-- userList -->
    <definition name="userList" extends="defaultTemplate">
        <put-attribute name="metaInformation" value="/jsp/tiles/metaInformation/userListMeta.jsp" />
        <put-attribute name="body" value="/jsp/tiles/userList.jsp" />
    </definition>

    <!-- Header -->
    <definition name="header" template="/jsp/tiles/header.jsp">
    </definition>

    <!-- Footer -->
    <definition name="footer" template="/jsp/tiles/footer.jsp">
    </definition>


    <!-- Message -->
    <definition name="message" extends="defaultTemplate">
        <put-attribute name="metaInformation" value="/jsp/tiles/metaInformation/messageMeta.jsp" />
        <put-attribute name="body" value="/jsp/tiles/message.jsp" />
    </definition>



    <!-- Image -->
    <definition name="image" template="/jsp/image.jsp">
    </definition>

    <!-- Login -->
    <definition name="login" extends="defaultTemplate">
        <put-attribute name="metaInformation"
            value="/jsp/tiles/metaInformation/loginMeta.jsp" />
        <put-attribute name="body" value="/jsp/tiles/login.jsp" />
    </definition>

    <!-- Register -->
    <definition name="register" extends="defaultTemplate">
        <put-attribute name="metaInformation"   value="/jsp/tiles/metaInformation/registerMeta.jsp" />
        <put-attribute name="body" value="/jsp/tiles/register.jsp" />
    </definition>




    <!-- forgotPassword -->
    <definition name="forgotPassword" extends="defaultTemplate">
        <put-attribute name="metaInformation"   value="/jsp/tiles/metaInformation/forgotPasswordMeta.jsp" />
        <put-attribute name="body" value="/jsp/tiles/forgotPassword.jsp" />
    </definition>

    <!-- changePassword -->
    <definition name="changePassword" extends="defaultTemplate">
        <put-attribute name="metaInformation"   value="/jsp/tiles/metaInformation/changePasswordMeta.jsp" />
        <put-attribute name="body" value="/jsp/tiles/changePassword.jsp" />
    </definition>

    <!-- accountActivation -->
    <definition name="accountActivation" extends="defaultTemplate">
        <put-attribute name="metaInformation"   value="/jsp/tiles/metaInformation/accountActivationMeta.jsp" />
        <put-attribute name="body" value="/jsp/tiles/accountActivation.jsp" />
    </definition>

    <!-- Admin -->
    <definition name="admin" extends="defaultTemplate">
        <put-attribute name="metaInformation"
            value="/jsp/tiles/metaInformation/adminMeta.jsp" />
        <put-attribute name="body" value="/jsp/tiles/admin.jsp" />
    </definition>

    <!-- Edit Profile -->
    <definition name="manageProfile" extends="defaultTemplate">
        <put-attribute name="metaInformation" value="/jsp/tiles/metaInformation/manageProfileMeta.jsp" />
        <put-attribute name="body" value="/jsp/tiles/manageProfile.jsp" />
    </definition>

    <!-- Edit Brand Wiki -->
    <definition name="manageBrandDetail" extends="defaultTemplate">
        <put-attribute name="metaInformation" value="/jsp/tiles/metaInformation/adminMeta.jsp" />
        <put-attribute name="body" value="/jsp/tiles/manageBrandDetail.jsp" />
    </definition>

    <!-- View Profile -->
    <definition name="profile" extends="defaultTemplate">
        <put-attribute name="metaInformation" value="/jsp/tiles/metaInformation/profileMeta.jsp" />
        <put-attribute name="body" value="/jsp/tiles/profile.jsp" />
    </definition>

    <!-- messages -->
    <definition name="messges" template="/jsp/subPages/messages/confirmation.jsp">

    </definition>

    <!-- Error Message -->
    <definition name="404" extends="defaultTemplate">
      <put-attribute name="body" value="/jsp/exceptions/404.jsp" />
    </definition>

</tiles-definitions>

heres tejrat-servlet.xml,其中定义了dataAccessFailure:

<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:dwr="http://www.directwebremoting.org/schema/spring-dwr"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.directwebremoting.org/schema/spring-dwr
http://www.directwebremoting.org/schema/spring-dwr-3.0.xsd">

<bean id="exceptionResolver"
    class="org.springframework.web.servlet.handler.SimpleMappingExceptionResolver">
    <property name="exceptionMappings">
        <props>
            <prop key="org.springframework.dao.DataAccessException">
                dataAccessFailure
            </prop>
            <prop
                key="org.springframework.web.multipart.MaxUploadSizeExceededException">
                maxUploadSizeException
            </prop>

            <prop key="com.tejrat.common.exception.ClassifiedNotExistException">
                exceptions/ClassifiedNotExistException </prop>
        </props>




    </property>
</bean>


<bean id="messageSource"
    class="org.springframework.context.support.ResourceBundleMessageSource">
    <property name="basename" value="messages" />
</bean>

<!-- View Resolvers -->
<!--
    bean id="viewResolver"
    class="org.springframework.web.servlet.view.InternalResourceViewResolver">
    <property name="viewClass"
    value="org.springframework.web.servlet.view.JstlView" /> <property
    name="prefix" value="/jsp/" /> <property name="suffix" value=".jsp" />
    </bean
-->
<bean id="viewResolver"
    class="org.springframework.web.servlet.view.UrlBasedViewResolver">
    <property name="viewClass">
        <value>
            org.springframework.web.servlet.view.tiles2.TilesView
        </value>
    </property>
</bean>
<bean id="tilesConfigurer" class="com.tejrat.tiles.TilesConfigurer">
    <property name="definitions">
        <list>
            <value>/WEB-INF/tiles.xml</value>
        </list>
    </property>
</bean>

<bean id="paramResolver"
    class="org.springframework.web.servlet.mvc.multiaction.ParameterMethodNameResolver">
    <property name="paramName">
        <value>action</value>
    </property>
</bean>




<!-- Controller -->
<!--  Brand Controller -->
<bean id="brandController" name="/gallery.view"
    class="com.tejrat.web.controller.BrandController">
    <property name="brandManager" ref="brandManager" />
    <property name="methodNameResolver">
        <ref bean="paramResolver" />
    </property>
</bean>

<!--  Classified Controller -->
<bean id="classifiedController" class="com.tejrat.web.controller.ClassifiedController">
    <property name="classifiedManager" ref="classifiedManager" />
    <property name="commentManager" ref="commentManagerImpl" />
    <property name="repositoryManager" ref="repositoryManager" />
    <property name="userManager" ref="userManager" />
    <property name="brandManager" ref="brandManager"/>
    <property name="homeManager" ref="homeManager" />
</bean>

<!--  album Controller -->
<bean id="albumController" class="com.tejrat.web.controller.AlbumController">
    <property name="repositoryManager" ref ="repositoryManager"/>
    <property name="userManager" ref ="userManager"/>
    <property name="albumManager" ref ="albumManager"/>
</bean>

<!--  Follow Controller -->
<bean id="followController" class="com.tejrat.web.controller.FollowController">
    <property name="userManager" ref ="userManager"/>
</bean>

<!--  albumDetail Controller -->
<bean id="albumDetailController" class="com.tejrat.web.controller.AlbumDetailController">
    <property name="repositoryManager" ref ="repositoryManager"/>
    <property name="userManager" ref ="userManager"/>
    <property name="albumManager" ref ="albumManager"/>
</bean>

<!--  photo Controller -->
<bean id="photoController" class="com.tejrat.web.controller.PhotoController">
    <property name="repositoryManager" ref ="repositoryManager"/>
    <property name="userManager" ref ="userManager"/>
    <property name="albumManager" ref ="albumManager"/>
    <property name="reviewManager" ref ="reviewManager"/>
</bean>

<!--  UserList Controller -->
<bean id="userListController" class="com.tejrat.web.controller.UserListController">
    <property name="userManager" ref ="userManager"/>
    <property name="followManager" ref ="followManager"/>   
</bean>

<!--  Gallery Controller -->
<bean id="galleryController" class="com.tejrat.web.controller.GalleryController">
    <property name="repositoryManager" ref ="repositoryManager"/>
    <property name="albumManager" ref ="albumManager"/>
    <property name="reviewManager" ref ="reviewManager"/>
    <property name="classifiedManager" ref ="classifiedManager"/>
</bean>

<!--  GallerySearch Controller -->
<bean id="gallerySearchController" class="com.tejrat.web.controller.GallerySearchController">
    <property name="albumManager" ref ="albumManager"/>
    <property name="classifiedManager" ref ="classifiedManager"/>

</bean>

<!--  CreateAlbum Controller -->
<bean id="createAlbumController" class="com.tejrat.web.controller.CreateAlbumController">
    <property name="repositoryManager" ref ="repositoryManager"/>
    <property name="userManager" ref ="userManager"/>
    <property name="albumManager" ref ="albumManager"/>

    <property name="commandClass" value="com.tejrat.common.command.Album" />
    <property name="commandName" value="album" />
    <property name="formView" value="createAlbum" />
    <property name="successView" value="album" />
</bean>



<bean id="profileController" class="com.tejrat.web.controller.ProfileController">
    <property name="repositoryManager" ref ="repositoryManager"/>
    <property name="userManager" ref ="userManager"/>
    <property name="homeManager" ref="homeManager" />
    <property name="classifiedManager" ref="classifiedManager" />
    <property name="albumManager" ref ="albumManager"/>
    <property name="reviewManager" ref ="reviewManager"/>
    <property name="followManager" ref ="followManager"/>
</bean>

<bean id="postClassifiedController" class="com.tejrat.web.controller.PostClassifiedController">
    <property name="classifiedManager" ref="classifiedManager" />
    <property name="homeManager" ref="homeManager" />
    <property name="userManager" ref="userManager" />
    <property name="commandClass" value="com.tejrat.common.command.Classified" />
    <property name="commandName" value="classified" />
    <property name="formView" value="posting" />
    <property name="successView" value="home.list" />
</bean>

<bean id="manageProfileController" class="com.tejrat.web.controller.ManageProfileController">
    <property name="userManager" ref="userManager" />
    <property name="homeManager" ref="homeManager" />
    <property name="accountManager" ref="accountManager" />
    <property name="repositoryManager" ref="repositoryManager" />

    <property name="commandClass" value="com.tejrat.common.command.Profile" />
    <property name="commandName" value="profile" />
    <property name="formView" value="manageProfile" />
    <property name="successView" value="profile" />
</bean>

<bean id="manageBrandDetailController" class="com.tejrat.web.controller.ManageBrandDetailController">
    <property name="brandManager" ref="brandManager" />

    <property name="commandClass" value="com.tejrat.common.command.BrandDetail" />
    <property name="commandName" value="brand" />
    <property name="formView" value="manageBrandDetail" />
    <property name="successView" value="myClassifieds" />
</bean>

<bean id="manageBrandWikiController" class="com.tejrat.web.controller.ManageBrandWikiController">
    <property name="brandManager" ref="brandManager" />

    <property name="commandClass" value="com.tejrat.common.command.BrandWiki" />
    <property name="commandName" value="brand" />
    <property name="formView" value="manageBrandDetail" />
    <property name="successView" value="myClassifieds" />
</bean>

<bean id="manageReviewController" class="com.tejrat.web.controller.ManageReviewController">
    <property name="reviewManager" ref="reviewManager" />

    <property name="commandClass" value="com.tejrat.common.command.Review" />
    <property name="commandName" value="review" />
    <property name="formView" value="manageReviewDetail" />
    <property name="successView" value="myClassifieds" />
</bean>


<bean id="registerController" class="com.tejrat.web.controller.RegisterController">
    <property name="accountManager" ref="accountManager" />
    <property name="commandClass" value="com.tejrat.common.command.User" />
    <property name="commandName" value="user" />
    <property name="formView" value="register" />
    <property name="successView" value="accountActivation" />
</bean>

<bean id="accountActivationController" class="com.tejrat.web.controller.AccountActivationController">
    <property name="accountManager" ref="accountManager" />
    <property name="timeout" value="5000" />
</bean>

<bean id="forgotPasswordController" class="com.tejrat.web.controller.ForgotPasswordController">
    <property name="accountManager" ref="accountManager" />
    <property name="commandClass" value="com.tejrat.common.command.User" />
    <property name="commandName" value="user" />
    <property name="formView" value="forgotPassword" />
    <property name="successView" value="home" />
</bean>

<bean id="changePasswordController" class="com.tejrat.web.controller.ChangePasswordController">
    <property name="accountManager" ref="accountManager" />
    <property name="commandClass" value="com.tejrat.common.command.User" />
    <property name="commandName" value="user" />
    <property name="formView" value="changePassword" />
    <property name="successView" value="changePassword" />
</bean>

<bean id="loginController" class="com.tejrat.web.controller.LoginController">
    <property name="accountManager" ref="accountManager" />
    <property name="classifiedManager" ref="classifiedManager" />
    <property name="userManager" ref="userManager" />
    <property name="timeout" value="5000" />
    <property name="commandClass" value="com.tejrat.common.command.User" />
    <property name="commandName" value="user" />
    <property name="formView" value="login" />
    <property name="successView" value="home" />
</bean>

<bean id="logoutController" class="com.tejrat.web.controller.LogoutController">
    <property name="accountManager" ref="accountManager" />
</bean>


<bean id="homeController" class="com.tejrat.web.controller.HomeController">
    <property name="homeManager" ref="homeManager" />
    <property name="userManager" ref="userManager" />
    <property name="classifiedManager" ref="classifiedManager" />
    <property name="brandManager" ref="brandManager" />
</bean>


<bean id="userHomeController" class="com.tejrat.web.controller.UserHomeController">
    <property name="classifiedManager" ref="classifiedManager" />
    <property name="accountManager" ref="accountManager" />
    <property name="userManager" ref="userManager" />
</bean>

<bean id="adminController" class="com.tejrat.web.controller.AdminController">
    <property name="classifiedManager" ref="classifiedManager" />
    <property name="userManager" ref="userManager" />
</bean>

<!--  Search Controller -->
<bean id="searchController" class="com.tejrat.web.controller.SearchController">
    <property name="classifiedManager" ref="classifiedManager" />
    <property name="brandManager" ref="brandManager" />
    <property name="homeManager" ref="homeManager" />       
</bean>

<!--  Header Controller -->
<bean id="headerController" class="com.tejrat.web.controller.HeaderController">
    <property name="homeManager" ref="homeManager" />
</bean>

<!--  Footer Controller -->
<bean id="footerController" class="com.tejrat.web.controller.FooterController">
    <property name="homeManager" ref="homeManager" />
    <property name="brandManager" ref="brandManager" />
</bean>

<!-- image Controller -->
<bean id="imageController" class="com.tejrat.web.controller.ImageController">
    <property name="repositoryManager" ref="repositoryManager" />
</bean>

<bean id="messageController" class="com.tejrat.web.controller.MessageController">

</bean>

<!--  Item Controller -->
<bean id="itemController" class="com.tejrat.web.controller.ItemController">
    <property name="brandManager" ref="brandManager" /> 
    <property name="repositoryManager" ref="repositoryManager" />   
</bean>
<!--  ItemList Controller -->
<bean id="itemListController" class="com.tejrat.web.controller.ItemListController">
    <property name="brandManager" ref="brandManager" />     
    <property name="repositoryManager" ref="repositoryManager" />
</bean>
<!--  Item Controller -->
<bean id="itemDetailController" class="com.tejrat.web.controller.ItemDetailController">
    <property name="brandManager" ref="brandManager" />     
    <property name="classifiedManager" ref="classifiedManager" />
    <property name="repositoryManager" ref="repositoryManager" />
    <property name="reviewManager" ref="reviewManager" />
</bean>
<!--
    <bean id="homeController"
    class="com.classified.web.controller.HomeController"> <property
    name="categoryManager" ref="advCatgoryManagerImpl"/> <property
    name="commandClass" value="com.classified.common.command.Category" />
    <property name="commandName" value="category" /> <property
    name="formView" value="home" /> <property name="successView"
    value="home" /> </bean> <bean id="postClassifiedController"
    class="com.classified.web.controller.PostClassifiedController">
    <property name="categoryManager" ref="advCatgoryManagerImpl"/>
    <property name="publishClassifiedManager"
    ref="publishClassifiedManagerImpl"/> <property name="commandClass"
    value="com.classified.common.command.Classified" /> <property
    name="commandName" value="classified" /> <property name="formView"
    value="createClassified" /> <property name="successView"
    value="home.list" /> </bean>
-->





<!-- Interceptors -->


<bean id="applicationInterceptor" class="com.tejrat.web.interceptor.ApplicationInterceptor">

</bean>

<!--
    <bean id="resourcesObject"
    class="org.springframework.core.io.FileSystemResource">
    <constructor-arg> <value>${temporaryDirectory.path}</value>
    </constructor-arg> </bean>
-->
<!--
    <bean id="multipartResolver"
    class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
    <property name="maxUploadSize"> <value>${file.maxUploadSize}</value>
    </property> <property name="maxInMemorySize">
    <value>${file.maxInMemorySize}</value> </property> <property
    name="uploadTempDir" ref="resourcesObject"/> </bean>
-->
<dwr:configuration />
<dwr:controller id="dwrController" debug="true" />
<dwr:url-mapping />






<!--  Page Mapping -->
<bean id="urlMapping"
    class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
    <!--
        <property name="interceptors"> <list> <ref
        bean="applicationInterceptor"/> </list> </property>
    -->
    <property name="mappings">
        <props>
            <!--

            <prop key="/home.list">homeController</prop>
            -->

            <!--
                prop key="/createClassified.form">postClassifiedController</prop
            -->
            <!-- 
            <prop key="/adHome.do">adHomeController</prop>
             -->
            <prop key="/home.list">homeController</prop>
            <prop key="/myClassifieds.list">userHomeController</prop>
            <prop key="/admin.do">adminController</prop>
            <prop key="/register.form">registerController</prop>
            <prop key="/accountActivation.do">accountActivationController</prop>
            <prop key="/forgotPassword.form">forgotPasswordController</prop>
            <prop key="/login.form">loginController</prop>
            <prop key="/logout.do">logoutController</prop>
            <prop key="/posting.form">postClassifiedController</prop>
            <prop key="/classified.view">classifiedController</prop>
            <prop key="/search.list">searchController</prop>
            <prop key="/header.view">headerController</prop>
            <prop key="/footer.view">footerController</prop>
            <prop key="/image.do">imageController</prop>
            <prop key="/changePassword.form">changePasswordController</prop>
            <prop key="/gallery.view">brandController</prop>
            <prop key="/item.view">itemController</prop>
            <prop key="/itemList.view">itemListController</prop>
            <prop key="/itemDetail.view">itemDetailController</prop>
            <prop key="/manageProfile.form">manageProfileController</prop>
            <prop key="/manageBrandDetail.form">manageBrandDetailController</prop>
            <prop key="/manageWikiDetail.form">manageBrandWikiController</prop>
            <prop key="/manageReview.form">manageReviewController</prop>
            <prop key="/message.view">messageController</prop>
            <prop key="/album.list">albumController</prop>
            <prop key="/albumDetail.list">albumDetailController</prop>
            <prop key="/photo.list">photoController</prop>
            <prop key="/gallery.list">galleryController</prop>
            <prop key="/createAlbum.form">createAlbumController</prop>
            <prop key="/profile.view">profileController</prop>
            <prop key="/gallerySearch.list">gallerySearchController</prop>
            <prop key="/userList.list">userListController</prop>
        </props>
    </property>
</bean></beans>

这里是stacktrace:

org.apache.tiles.definition.NoSuchDefinitionException: dataAccessFailure
    at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:625)
    at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:321)
    at org.springframework.web.servlet.view.tiles2.TilesView.renderMergedOutputModel(TilesView.java:75)
    at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:252)
    at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1173)
    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:901)
    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
    at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)

所有其他链接在这个网站上运行正常,公司在php中实现的实时版本工作正常,除了网站之外它有相同的链接然后'/'然后搜索?item1 = 1&amp; item3 = 206

0 个答案:

没有答案