Hello,

  The method createDefinitionFactory(...):ComponentDefinitionsFactory 
has been replaced by createDefinitionFactory(...):DefinitionsFactory. 
There is a wrapper implementing DefinitionsFactory and taking the old 
ComponentDefinitionsFactory as parameter.
  So, you should check your calls to the old methods, especially the 
returned value class.
  I haven't found a way to maintain backward compatibility here. But 
this problem happen only in particular cases.

  Hope this help,

        Cedric

Matt Raible wrote:

>Deryl,
>
>I'm trying to run my strutstestcase tests with classes that use the
>tiles plugin (vs. ActionComponentServlet) and I'm getting the following
>error:
>
>    [junit] Testcase: testSearch took 0.601 sec
>    [junit]     Caused an ERROR
>    [junit]
>org.apache.struts.tiles.DefinitionsUtil.createDefinitionsFactory(Ljavax/
>servlet/ServletContext;Ljavax/servle
>t/ServletConfig;)Lorg/apache/struts/tiles/ComponentDefinitionsFactory;
>    [junit] java.lang.NoSuchMethodError:
>org.apache.struts.tiles.DefinitionsUtil.createDefinitionsFactory(Ljavax/
>servlet
>/ServletContext;Ljavax/servlet/ServletConfig;)Lorg/apache/struts/tiles/C
>omponentDefinitionsFactory;
>    [junit]     at
>servletunit.struts.Common.getTilesForward(Common.java:96)
>    [junit]     at
>servletunit.struts.Common.verifyForwardPath(Common.java:151)
>    [junit]     at
>servletunit.struts.CactusStrutsTestCase.verifyForward(CactusStrutsTestCa
>se.java:383)
>    [junit]     at
>com.onpoint.webapp.action.ActivityActionTest.testSearch(ActivityActionTe
>st.java:107)
>
>Any ideas?
>
>Thanks,
>
>Matt
>
>P.S. I tried the last jar you sent me as well as the latest release on
>your site, both to no avail.
>
>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
>  
>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to