Home > Cannot Load > Cannot Load Excludes Configuration File /web-inf/decorators.xml

Cannot Load Excludes Configuration File /web-inf/decorators.xml

Take a tour to get the most out of Samebug. Comment Cancel Post Team Services Tools © Pivotal Software, Inc. Tired of useless tips? If you reference the TLDs in your decorators.xml and sitemesh.xml files, your IDE might be able to perform some validation checks against the TLDs, but I personally never used those. :) Source

If you agree to our use of cookies, please close this message and continue to use this site. It turns out I was defining a sitemesh.xml and decorators.xml file in my webapplication but when I built it with ant I was not including those files in the war build. Accept & Close Sign In Create Account Search among 980,000 solutions Search Your bugs help others We want to create amazing apps without being stopped by crashes. Juan David java tomcat struts2 sitemesh share|improve this question asked Feb 3 '11 at 15:47 Juan David 111 add a comment| 1 Answer 1 active oldest votes up vote 2 down https://java.net/projects/sitemesh/lists/users/archive/2006-10/message/37

Create a sitemesh freemarker aware decorator(e.g. This is stored in the WEB-INF folder. Join Now I want to fix my crash I want to help others com.opensymphony.module.sitemesh.factory.FactoryException: Cannot construct Factory : com.opensymphony.module.sitemesh.factory.DefaultFactory: java.lang.IllegalStateException: Cannot load excludes con figuration file "/WEB-INF/decorators.xml" as specified in "sitemesh.xml" In the web.xml setup the filter that is going to be used by Sitemesh freemarker as described below Code: sitemesh com.opensymphony.sitemesh.webapp.SiteMeshFilter 2.

Join us to help others who have the same bug. I Have My decorators in WebContent/jsp/decorators but i want to exclude the file WebContent/jsp/forms/Authentication.jsp. Take a tour to get the most out of Samebug. All rights reserved.

Thank you very much for your help –Juan David Feb 3 '11 at 16:09 It's really up to you. Then download sitemesh-2.4.x.jar from the sitemesh website i.e. Set up the url mappings that the sitemesh freemarker servlet will handle as shown below. Code: sitemesh-freemarker *.dec sitemesh-freemarker *.jsp 5.Setup the sitemesh.xml.

I recently upgraded this app from 1.3.7 but last week I was able to create war files without a problem. Announcement Announcement Module Collapse No announcement yet. Copy sitemesh-2.4.x.jar and freemarker 2.3.x.jar into your /WEB-INF/lib directory. Automated exception search integrated into your IDE Test Samebug Integration for IntelliJ IDEA Root Cause Analysis com.opensymphony.module.sitemesh.factory.FactoryException Cannot construct Factory : com.opensymphony.module.sitemesh.factory.DefaultFactory: java.lang.IllegalStateException: Cannot load excludes con figuration file "/WEB-INF/decorators.xml" as

Accept & Close Sign In Create Account Search among 980,000 solutions Search Your bugs help others We want to create amazing apps without being stopped by crashes. this asked 5 years ago viewed 3518 times active 5 years ago Upcoming Events 2016 Community Moderator Election ends Nov 22 Related 0Configuring SiteMesh for specific action mappings in Struts 2?0Getting sitemesh Sitemesh version: opensymphony:sitemesh:jar:2.5 Question on stack overflow available here Edit I debugged into the code and, while running from the jar located here : C:\my\project\target\__fake.jar while giving servletContext.setInitParameter("sitemesh.configfile", "classpath:/WEB-INF/sitemesh.xml"); In DefaultFactory(line We recommend upgrading to the latest Safari, Google Chrome, or Firefox.

exception com.opensymphony.module.sitemesh.factory.FactoryException: Cannot construct Factory : com.opensymphony.module.sitemesh.factory.DefaultFactory: java.lang.IllegalStateException: Cannot load excludes configuration file "/WEB-INF/decorators.xml" as specified in "sitemesh.xml" or "sitemesh-default.xml"        com.opensymphony.module.sitemesh.Factory.getInstance(Factory.java:50) com.opensymphony.sitemesh.webapp.SiteMeshFilter.initContentProcessor(SiteMeshFilter.java:107) com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:54) First It's talking about decorators.xml this contact form Automated exception search integrated into your IDE Test Samebug Integration for IntelliJ IDEA 0 mark While the ViewBuildLog.action screen only displays the last 1000 lines, if these lines are too long If you agree to our use of cookies, please close this message and continue to use this site. Join Now I want to fix my crash I want to help others FactoryException thrown by java.lang.Thread.run Explore » Java RT » java.lang .

Subject: Re: [Opensymphony-sitemesh] Cannot locate decorators.xml Date: Sun, 22 Mar 2009 20:16:18 +0000 Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type; b=qqWsyNluKcgDCN3IwsnY0tETyrNCFmsXpte1kOBVnmZd/juh5VF9qcq7aihhTNv0hC MMroz5b9DMx2dTU2bcfk+s25GD3KnXTNC+qlQ0VfRMkTkV6bqwDOFfJGJcIfmQjAJhvg ECtWR+sj6/HQo86exu9PI+kxJI2GSSsQTB1MM= Mailing-list: contact [email protected]; run by ezmlm Hi BenQuick Hot Network Questions How can I remove an Online Account? 40 Vertices And A Connected Graph, Minimum Number Of Edges? Before going through the process described below make sure you configured your spring mvc platform (obviously ). have a peek here All rights reserved.

This also describes a servlet used by spring app. Terms of Use and Privacy Subscribe to our newsletter Working... Other log viewing does not cause Bamboo to run out of Memory. {noformat} Java.lang.OutOfMemoryError: Java heap space at com.opensymphony.module.sitemesh.html.util.CharArray.grow(CharArray.java:267) at com.opensymphony.module.sitemesh.html.util.CharArray.append(CharArray.java:117) at com.opensymphony.module.sitemesh.html.util.CharArray.append(CharArray.java:102) at com.opensymphony.module.sitemesh.parser.FastPageParser.parse(FastPageParser.java:385) at com.opensymphony.sitemesh.compatability.PageParser2ContentProcessor.build(PageParser2ContentProcessor.java:48) at com.opensymphony.sitemesh.webapp.ContentBufferingResponse.getContent(ContentBufferingResponse.java:63) at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:137)

Thanks for your help :) –Juan David Feb 3 '11 at 16:31 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google

Copyright © 2014, Oracle Corporation and/or its affiliates. run » com.opensymphony.module.sitemesh.factory.FactoryException 0 mark Spring boot sitemesh filter Cannot Load excludes configuration file as specified in sitemesh.xml Stack Overflow | 2 years ago | mangusbrother com.opensymphony.module.sitemesh.factory.FactoryException: Cannot construct Factory : Accept & Close Thanks, Anthony Bargnesi RE: [Opensymphony-sitemesh] Newbie: Cannot load excludes configuration file from jar Smiley, Stuart A. 10/18/2006 RE: [Opensymphony-sitemesh] Newbie: Cannot load excludes configuration file from jar Bargnesi, Anthony

I tried adding filter.addInitParameter("contextConfigLocation", "classpath:/WEB-INF/sitemesh.xml"); however nothing changed sitemesh.xml and decorators.xml are both located in my WEB-INF directory, which is in the root of my executable jar file Here is my Then I define a decorators file at /WEB-INF/decorators.xml like the following: xml version="1.0" encoding="ISO-8859-1"?>

/*

it points to the folder /decorators which is in Did a thief think he could conceal his identity from security cameras by putting lemon juice on his face? Check This Out All commenting, posting, registration services have been turned off.

Dynamic Query - System.QueryException: expecting a colon, found '.' How Did The Dred Scott Decision Contribute to the Civil War? The cost of switching to electric cars? Skip to main content Create Account Login Help The Source for Java Technology Collaboration Forums Blogs Projects People Main Menu Home Projects Forums People Java User Groups JCP Help java.net> projects