You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Johannes Textor <jc...@gmx.de> on 2004/03/03 16:50:15 UTC

Re: 2.1.4-dev --> 2.1.4 release No languages defined!

I also had this problem, but it was because I inserted the following 
fragment from the cocoon doc's flowscript tutorial
(http://cocoon.apache.org/2.1/userdocs/flow/tutor.html) into my sitemap:

<map:components>
  <map:generators default="file">
    <!-- in this example we use JXTemplateGenerator to insert
         Flow variables in page content -->
    <map:generator label="content,data" logger="sitemap.generator.jx"
                   name="jx" src="org.apache.cocoon.generation.JXTemplateGenerator"/>
  </map:generators>
  <map:flow-interpreters default="JavaScript"/>
  <map:transformers default="xslt"/>
  <map:serializers default="html"/>
  <map:matchers default="wildcard"/>
  <map:selectors default="browser">
    <map:selector name="exception" src="org.apache.cocoon.selection.XPathExceptionSelector">
      <exception name="invalid-continuation"
                 class="org.apache.cocoon.components.flow.InvalidContinuationException"/>
      <exception class="java.lang.Throwable" unroll="true"/>
    </map:selector>
  </map:selectors>
  <map:actions/>
  <map:pipes default="caching"/>
</map:components>

After commenting out the "<map:flow-interpreters>" line it worked fine. I left the 
"<map:flow language="javascript">" declaration untouched. Maybe this might help.

Bertrand Delacretaz wrote:

> Le Mercredi, 3 mars 2004, à 16:00 Europe/Zurich, Peter Lerche a écrit :
>
>> org.apache.avalon.framework.configuration.ConfigurationException: No
>> languages defined!
>
>
> I've seen this recently, the problem was an incorrect javascript flow 
> declaration in sitemap (<map:flow language="javascript">).
>
> You might want to compare your sitemaps with samples from the 2.1.4 
> release.
>
> -Bertrand
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org